Home
last modified time | relevance | path

Searched refs:peerpubkey (Results 1 – 3 of 3) sorted by relevance

/freebsd/crypto/libecc/src/wycheproof_tests/
H A Dlibecc_wycheproof_tests.h367967 .peerpubkey = ecdh_brainpoolp224r1_0_peerpubkey,
367995 .peerpubkey = ecdh_brainpoolp224r1_1_peerpubkey,
368023 .peerpubkey = ecdh_brainpoolp224r1_2_peerpubkey,
368051 .peerpubkey = ecdh_brainpoolp224r1_3_peerpubkey,
368079 .peerpubkey = ecdh_brainpoolp224r1_4_peerpubkey,
368107 .peerpubkey = ecdh_brainpoolp224r1_5_peerpubkey,
368135 .peerpubkey = ecdh_brainpoolp224r1_6_peerpubkey,
368163 .peerpubkey = ecdh_brainpoolp224r1_7_peerpubkey,
368191 .peerpubkey = ecdh_brainpoolp224r1_8_peerpubkey,
368219 .peerpubkey = ecdh_brainpoolp224r1_9_peerpubkey,
[all …]
H A Dlibecc_wycheproof.h89 const unsigned char *peerpubkey; member
115 const unsigned char *peerpubkey; member
H A Dlibecc_wycheproof.c387 ret = x25519_derive_secret(t->privkey, t->peerpubkey, sharedsecret_check); in check_wycheproof_xdh()
442 ret = x448_derive_secret(t->privkey, t->peerpubkey, sharedsecret_check); in check_wycheproof_xdh()
498 static int uncompress_ecc_point(const ec_params *params, const u8 *peerpubkey, u8 peerpubkeylen, u8… in uncompress_ecc_point() argument
505 MUST_HAVE((params != NULL) && (peerpubkey != NULL) && (serialized_pub_key != NULL), ret, err); in uncompress_ecc_point()
514 ret = fp_init_from_buf(&x, &(params->ec_fp), peerpubkey, peerpubkeylen); EG(ret, err); in uncompress_ecc_point()
527 …ret = local_memcpy(&serialized_pub_key[0], &peerpubkey[0], (serialized_pub_key_size / 2)); EG(ret,… in uncompress_ecc_point()
656 …ret = uncompress_ecc_point(&params, t->peerpubkey, (u8)(t->peerpubkeylen), serialized_pub_key, ser… in check_wycheproof_ecdh()
672 …ret = local_memcpy(serialized_pub_key, t->peerpubkey, serialized_pub_key_size); OPENMP_EG(ret, err… in check_wycheproof_ecdh()