Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/src/wycheproof_tests/
H A Dlibecc_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 …]
H A Dlibecc_wycheproof.h39 unsigned int pubkeylen; member
64 unsigned int pubkeylen; member
H A Dlibecc_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/crypto/openssl/demos/keyexch/
H A Decdh.c47 size_t pubkeylen; in get_peer_public_key() local
52 &pubkeylen)) in get_peer_public_key()
62 pubkeydata, pubkeylen); in get_peer_public_key()
/freebsd/crypto/openssl/crypto/ec/
H A Decx_backend.c58 size_t privkeylen = 0, pubkeylen = 0; in ossl_ecx_key_fromdata() local
93 sizeof(ecx->pubkey), &pubkeylen)) in ossl_ecx_key_fromdata()
96 if ((param_pub_key != NULL && pubkeylen != ecx->keylen)) in ossl_ecx_key_fromdata()
/freebsd/crypto/openssl/test/
H A Devp_pkey_dhkem_test.c483 size_t pubkeylen = 0, privkeylen = 0; in test_ec_dhkem_derivekey() local
498 pubkey, sizeof(pubkey), &pubkeylen)) in test_ec_dhkem_derivekey()
504 && TEST_mem_eq(pubkey, pubkeylen, t->pub, t->publen); in test_ec_dhkem_derivekey()
733 size_t pubkeylen = 0, privkeylen = 0; in test_ecx_dhkem_derivekey() local
760 pubkey, sizeof(pubkey), &pubkeylen), in test_ecx_dhkem_derivekey()
766 && TEST_mem_eq(t->pub, t->publen, pubkey, pubkeylen) in test_ecx_dhkem_derivekey()
H A Devp_extra_test.c6171 size_t pubkeylen; in test_ecx_not_private_key() local
6185 pubkeylen = keys[tst].publen; in test_ecx_not_private_key()
6188 NULL, pubkey, pubkeylen); in test_ecx_not_private_key()
/freebsd/crypto/openssh/
H A Dsshkey.c2822 size_t i, pubkeylen, keylen, ivlen, blocksize, authlen; in sshkey_private_to_blob2() local
2880 (r = sshkey_to_blob(prv, &pubkeyblob, &pubkeylen)) != 0 || in sshkey_private_to_blob2()
2881 (r = sshbuf_put_string(encoded, pubkeyblob, pubkeylen)) != 0) in sshkey_private_to_blob2()
2936 freezero(pubkeyblob, pubkeylen); in sshkey_private_to_blob2()