Searched refs:secret (Results 1 – 6 of 6) sorted by relevance
/crypto/ |
D | ecdh_helper.c | 37 struct kpp_secret secret = { in crypto_ecdh_encode_key() local 48 ptr = ecdh_pack_data(ptr, &secret, sizeof(secret)); in crypto_ecdh_encode_key() 61 struct kpp_secret secret; in crypto_ecdh_decode_key() local 66 ptr = ecdh_unpack_data(&secret, ptr, sizeof(secret)); in crypto_ecdh_decode_key() 67 if (secret.type != CRYPTO_KPP_SECRET_TYPE_ECDH) in crypto_ecdh_decode_key() 72 if (secret.len != crypto_ecdh_key_len(params)) in crypto_ecdh_decode_key()
|
D | dh_helper.c | 44 struct kpp_secret secret = { in crypto_dh_encode_key() local 52 ptr = dh_pack_data(ptr, end, &secret, sizeof(secret)); in crypto_dh_encode_key() 71 struct kpp_secret secret; in crypto_dh_decode_key() local 76 ptr = dh_unpack_data(&secret, ptr, sizeof(secret)); in crypto_dh_decode_key() 77 if (secret.type != CRYPTO_KPP_SECRET_TYPE_DH) in crypto_dh_decode_key() 84 if (secret.len != crypto_dh_key_len(params)) in crypto_dh_decode_key()
|
D | ecc.h | 131 u64 *secret);
|
D | testmgr.h | 158 const unsigned char *secret; member 814 .secret = 923 .secret = 1036 .secret = 1075 .secret = 1119 .secret =
|
D | ecc.c | 1457 u64 *secret) in crypto_ecdh_shared_secret() argument 1498 ecc_swap_digits(product->x, secret, ndigits); in crypto_ecdh_shared_secret()
|
D | testmgr.c | 3481 err = crypto_kpp_set_secret(tfm, vec->secret, vec->secret_size); in do_test_kpp()
|