Searched refs:our_priv_key (Results 1 – 7 of 7) sorted by relevance
/freebsd/crypto/libecc/src/tests/ |
H A D | ecccdh_test_vectors.h | 20 .our_priv_key = ecccdh_SECP192R1_0_test_vector_our_priv_key, 50 .our_priv_key = ecccdh_SECP192R1_1_test_vector_our_priv_key, 80 .our_priv_key = ecccdh_SECP192R1_2_test_vector_our_priv_key, 110 .our_priv_key = ecccdh_SECP192R1_3_test_vector_our_priv_key, 140 .our_priv_key = ecccdh_SECP192R1_4_test_vector_our_priv_key, 170 .our_priv_key = ecccdh_SECP192R1_5_test_vector_our_priv_key, 200 .our_priv_key = ecccdh_SECP192R1_6_test_vector_our_priv_key, 230 .our_priv_key = ecccdh_SECP192R1_7_test_vector_our_priv_key, 260 .our_priv_key = ecccdh_SECP192R1_8_test_vector_our_priv_key, 290 .our_priv_key = ecccdh_SECP192R1_9_test_vector_our_priv_key, [all …]
|
H A D | x25519_test_vectors.h | 35 .our_priv_key = x25519_WEI25519_0_our_priv_key, 66 .our_priv_key = x25519_WEI25519_1_our_priv_key, 100 .our_priv_key = x25519_WEI25519_2_our_priv_key, 132 .our_priv_key = x25519_WEI25519_3_our_priv_key,
|
H A D | x448_test_vectors.h | 34 .our_priv_key = x448_WEI448_0_our_priv_key, 65 .our_priv_key = x448_WEI448_1_our_priv_key,
|
H A D | ec_self_tests_core.c | 1055 ret = ecccdh_import_key_pair_from_priv_key_buf(&kp, ¶ms, c->our_priv_key, 1110 ret = x25519_init_pub_key(c->our_priv_key, pub_key); 1126 ret = x25519_derive_secret(c->our_priv_key, c->peer_pub_key, shared_secret); 1154 ret = x448_init_pub_key(c->our_priv_key, pub_key); 1170 ret = x448_derive_secret(c->our_priv_key, c->peer_pub_key, shared_secret);
|
H A D | ec_self_tests_core.h | 65 const u8 *our_priv_key; member 5263 .our_priv_key = NULL,
|
/freebsd/crypto/libecc/src/ecdh/ |
H A D | ecccdh.c | 167 int ecccdh_derive_secret(const ec_priv_key *our_priv_key, const u8 *peer_pub_key_buf, u8 peer_pub_k… in ecccdh_derive_secret() argument 178 ret = priv_key_check_initialized_and_type(our_priv_key, ECCCDH); EG(ret, err); in ecccdh_derive_secret() 184 …ret = ec_pub_key_import_from_aff_buf(&peer_pub_key, our_priv_key->params, peer_pub_key_buf, peer_p… in ecccdh_derive_secret() 187 cofactor = &(our_priv_key->params->ec_gen_cofactor); in ecccdh_derive_secret() 207 ret = prj_pt_mul_blind(Q, &(our_priv_key->x), Q); EG(ret, err); in ecccdh_derive_secret() 209 ret = prj_pt_mul(Q, &(our_priv_key->x), Q); EG(ret, err); in ecccdh_derive_secret() 222 ret = ecccdh_shared_secret_size(our_priv_key->params, &expected_shared_secret_len); EG(ret, err); in ecccdh_derive_secret()
|
/freebsd/crypto/libecc/include/libecc/ecdh/ |
H A D | ecccdh.h | 59 ATTRIBUTE_WARN_UNUSED_RET int ecccdh_derive_secret(const ec_priv_key *our_priv_key, const u8 *peer_…
|