Searched refs:privkeylen (Results 1 – 2 of 2) sorted by relevance
/openssl/crypto/ec/ |
H A D | ecx_backend.c | 58 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()
|
/openssl/test/ |
H A D | evp_pkey_dhkem_test.c | 474 size_t pubkeylen = 0, privkeylen = 0; in test_ec_dhkem_derivekey() local 492 && TEST_int_gt(privkeylen = BN_bn2bin(priv, privkey), 0) in test_ec_dhkem_derivekey() 493 && TEST_int_le(privkeylen, sizeof(privkey)) in test_ec_dhkem_derivekey() 494 && TEST_mem_eq(privkey, privkeylen, t->priv, t->privlen) in test_ec_dhkem_derivekey() 715 size_t pubkeylen = 0, privkeylen = 0; in test_ecx_dhkem_derivekey() local 745 privkey, sizeof(privkey), &privkeylen), 1) in test_ecx_dhkem_derivekey() 747 && TEST_mem_eq(masked_priv, t->privlen, privkey, privkeylen); in test_ecx_dhkem_derivekey()
|
Completed in 7 milliseconds