kpp.h (4e5f2c400765e3a3ce512dc1ae890bac53401798) | kpp.h (802c7f1c84e4b5a6ac78635878041023fc5831b1) |
---|---|
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 --- 228 unchanged lines hidden (view full) --- 237 unsigned int output_len) 238{ 239 req->dst = output; 240 req->dst_len = output_len; 241} 242 243enum { 244 CRYPTO_KPP_SECRET_TYPE_UNKNOWN, | 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 --- 228 unchanged lines hidden (view full) --- 237 unsigned int output_len) 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, |
|
245}; 246 247/** 248 * struct kpp_secret - small header for packing secret buffer 249 * 250 * @type: define type of secret. Each kpp type will define its own 251 * @len: specify the len of the secret, include the header, that 252 * follows the struct --- 76 unchanged lines hidden --- | 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 --- |