Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/src/wycheproof_tests/
H A Dlibecc_wycheproof_tests.h367968 .peerpubkeylen = 56,
367996 .peerpubkeylen = 28,
368024 .peerpubkeylen = 56,
368052 .peerpubkeylen = 56,
368080 .peerpubkeylen = 56,
368108 .peerpubkeylen = 56,
368136 .peerpubkeylen = 56,
368164 .peerpubkeylen = 56,
368192 .peerpubkeylen = 56,
368220 .peerpubkeylen = 56,
[all …]
H A Dlibecc_wycheproof.h90 unsigned int peerpubkeylen; member
116 unsigned int peerpubkeylen; member
H A Dlibecc_wycheproof.c333 if(t->peerpubkeylen != alglen){ in check_wycheproof_xdh()
335 …] Error: XDH tests error, unkown peer public key length %d with valid result\n", t->peerpubkeylen); 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
508 MUST_HAVE((serialized_pub_key_size == (2 * peerpubkeylen)), 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()
656 …ret = uncompress_ecc_point(&params, t->peerpubkey, (u8)(t->peerpubkeylen), serialized_pub_key, ser… in check_wycheproof_ecdh()
666 if((t->peerpubkeylen != serialized_pub_key_size) && (t->result >= 0)){ in check_wycheproof_ecdh()
667 … error when checking our public key size, got %d instead of %d\n", t->peerpubkeylen, serialized_pu… in check_wycheproof_ecdh()