Home
last modified time | relevance | path

Searched refs:pubkeylen (Results 1 – 6 of 6) sorted by relevance

/freebsd-14-stable/crypto/libecc/src/wycheproof_tests/
HDlibecc_wycheproof_tests.h37 .pubkeylen = 56,
63 .pubkeylen = 56,
89 .pubkeylen = 56,
115 .pubkeylen = 56,
141 .pubkeylen = 56,
167 .pubkeylen = 56,
193 .pubkeylen = 56,
219 .pubkeylen = 56,
245 .pubkeylen = 56,
271 .pubkeylen = 56,
[all …]
HDlibecc_wycheproof.h39 unsigned int pubkeylen; member
64 unsigned int pubkeylen; member
HDlibecc_wycheproof.c106 …ret = ec_pub_key_import_from_aff_buf(&pub_key, &params, t->pubkey, (u8)(t->pubkeylen), t->sig_alg); in check_wycheproof_ecdsa()
197 ret = eddsa_import_pub_key(&pub_key, t->pubkey, (u8)(t->pubkeylen), &params, t->sig_alg); in check_wycheproof_eddsa()
218 ret = eddsa_export_pub_key(&pub_key, exported_pub_key, (u8)(t->pubkeylen)); in check_wycheproof_eddsa()
225 ret = are_equal(t->pubkey, &exported_pub_key, (u8)(t->pubkeylen), &check); OPENMP_EG(ret, err); in check_wycheproof_eddsa()
/freebsd-14-stable/crypto/openssl/crypto/ec/
HDecx_backend.c58 size_t privkeylen = 0, pubkeylen = 0; in ossl_ecx_key_fromdata() local
95 sizeof(ecx->pubkey), &pubkeylen)) in ossl_ecx_key_fromdata()
98 if ((param_pub_key != NULL && pubkeylen != ecx->keylen)) in ossl_ecx_key_fromdata()
/freebsd-14-stable/crypto/openssh/
HDsshkey.c2862 size_t i, pubkeylen, keylen, ivlen, blocksize, authlen; in sshkey_private_to_blob2() local
2920 (r = sshkey_to_blob(prv, &pubkeyblob, &pubkeylen)) != 0 || in sshkey_private_to_blob2()
2921 (r = sshbuf_put_string(encoded, pubkeyblob, pubkeylen)) != 0) in sshkey_private_to_blob2()
2977 freezero(pubkeyblob, pubkeylen); in sshkey_private_to_blob2()
/freebsd-14-stable/crypto/openssl/test/
HDevp_extra_test.c5052 size_t pubkeylen; in test_ecx_not_private_key() local
5065 pubkeylen = strlen(keys[tst].pub); in test_ecx_not_private_key()
5068 NULL, pubkey, pubkeylen); in test_ecx_not_private_key()