Searched refs:pubkeylen (Results 1 – 8 of 8) sorted by relevance
| /freebsd/crypto/libecc/src/wycheproof_tests/ |
| H A D | libecc_wycheproof_tests.h | 37 .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 D | libecc_wycheproof.h | 39 unsigned int pubkeylen; member 64 unsigned int pubkeylen; member
|
| H A D | libecc_wycheproof.c | 106 …ret = ec_pub_key_import_from_aff_buf(&pub_key, ¶ms, 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), ¶ms, 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 D | ecdh.c | 47 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 D | ecx_backend.c | 58 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 D | evp_pkey_dhkem_test.c | 483 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 D | evp_extra_test.c | 6171 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 D | sshkey.c | 2822 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()
|