Home
last modified time | relevance | path

Searched refs:privkeylen (Results 1 – 4 of 4) sorted by relevance

/freebsd/crypto/libecc/src/wycheproof_tests/
H A Dlibecc_wycheproof_tests.h367973 .privkeylen = 28,
368001 .privkeylen = 28,
368029 .privkeylen = 28,
368057 .privkeylen = 28,
368085 .privkeylen = 28,
368113 .privkeylen = 28,
368141 .privkeylen = 28,
368169 .privkeylen = 28,
368197 .privkeylen = 28,
368225 .privkeylen = 28,
[all …]
H A Dlibecc_wycheproof.h67 unsigned int privkeylen; member
96 unsigned int privkeylen; member
123 unsigned int privkeylen; member
H A Dlibecc_wycheproof.c204 ret = eddsa_import_priv_key(&priv_key, t->privkey, (u8)(t->privkeylen), &params, t->sig_alg); in check_wycheproof_eddsa()
322 if(t->privkeylen != alglen){ in check_wycheproof_xdh()
324 …ntf("[-] Error: XDH tests error, unkown private key length %d with valid result\n", t->privkeylen); in check_wycheproof_xdh()
608 …ret = ec_priv_key_import_from_buf(&priv_key, &params, t->privkey, (u8)(t->privkeylen), t->ecdh_alg… in check_wycheproof_ecdh()
/freebsd/crypto/openssl/crypto/ec/
H A Decx_backend.c58 size_t privkeylen = 0, pubkeylen = 0; in ossl_ecx_key_fromdata() local
76 &privkeylen)) in ossl_ecx_key_fromdata()
78 if (privkeylen != ecx->keylen) { in ossl_ecx_key_fromdata()
84 OPENSSL_secure_clear_free(ecx->privkey, privkeylen); in ossl_ecx_key_fromdata()