Searched refs:private_key (Results 1 – 3 of 3) sorted by relevance
/crypto/ |
D | ecdh.c | 18 u64 private_key[ECC_MAX_DIGITS]; member 54 ctx->private_key); in ecdh_set_secret() 60 memcpy(ctx->private_key, params.key, params.key_size); in ecdh_set_secret() 103 ctx->private_key, public_key, in ecdh_compute_value() 109 ctx->private_key, public_key); in ecdh_compute_value()
|
D | ecc.h | 84 const u64 *private_key, unsigned int private_key_len); 112 const u64 *private_key, u64 *public_key); 130 const u64 *private_key, const u64 *public_key,
|
D | ecc.c | 1295 const u64 *private_key, unsigned int ndigits) in __ecc_is_key_valid() argument 1300 if (!private_key) in __ecc_is_key_valid() 1307 if (vli_cmp(one, private_key, ndigits) != -1) in __ecc_is_key_valid() 1311 if (vli_cmp(res, private_key, ndigits) != 1) in __ecc_is_key_valid() 1318 const u64 *private_key, unsigned int private_key_len) in ecc_is_key_valid() argument 1328 return __ecc_is_key_valid(curve, private_key, ndigits); in ecc_is_key_valid() 1386 const u64 *private_key, u64 *public_key) in ecc_make_pub_key() argument 1393 if (!private_key || !curve || ndigits > ARRAY_SIZE(priv)) { in ecc_make_pub_key() 1398 ecc_swap_digits(private_key, priv, ndigits); in ecc_make_pub_key() 1456 const u64 *private_key, const u64 *public_key, in crypto_ecdh_shared_secret() argument [all …]
|