kpp.h (802c7f1c84e4b5a6ac78635878041023fc5831b1) kpp.h (3c4b23901a0c766879dff680cd6bdab47bcdbbd2)
1/*
2 * Key-agreement Protocol Primitives (KPP)
3 *
4 * Copyright (c) 2016, Intel Corporation
5 * Authors: Salvatore Benedetto <salvatore.benedetto@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the Free

--- 229 unchanged lines hidden (view full) ---

238{
239 req->dst = output;
240 req->dst_len = output_len;
241}
242
243enum {
244 CRYPTO_KPP_SECRET_TYPE_UNKNOWN,
245 CRYPTO_KPP_SECRET_TYPE_DH,
1/*
2 * Key-agreement Protocol Primitives (KPP)
3 *
4 * Copyright (c) 2016, Intel Corporation
5 * Authors: Salvatore Benedetto <salvatore.benedetto@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the Free

--- 229 unchanged lines hidden (view full) ---

238{
239 req->dst = output;
240 req->dst_len = output_len;
241}
242
243enum {
244 CRYPTO_KPP_SECRET_TYPE_UNKNOWN,
245 CRYPTO_KPP_SECRET_TYPE_DH,
246 CRYPTO_KPP_SECRET_TYPE_ECDH,
246};
247
248/**
249 * struct kpp_secret - small header for packing secret buffer
250 *
251 * @type: define type of secret. Each kpp type will define its own
252 * @len: specify the len of the secret, include the header, that
253 * follows the struct

--- 76 unchanged lines hidden ---
247};
248
249/**
250 * struct kpp_secret - small header for packing secret buffer
251 *
252 * @type: define type of secret. Each kpp type will define its own
253 * @len: specify the len of the secret, include the header, that
254 * follows the struct

--- 76 unchanged lines hidden ---