Searched refs:privlen (Results 1 – 5 of 5) sorted by relevance
/openssl/crypto/ec/ |
H A D | ec_ameth.c | 287 size_t privlen = 0, publen = 0; in do_EC_KEY_print() local 303 privlen = EC_KEY_priv2buf(x, &priv); in do_EC_KEY_print() 304 if (privlen == 0) in do_EC_KEY_print() 321 if (privlen != 0) { in do_EC_KEY_print() 324 if (ASN1_buf_print(bp, priv, privlen, off + 4) == 0) in do_EC_KEY_print() 341 OPENSSL_clear_free(priv, privlen); in do_EC_KEY_print()
|
H A D | ec_asn1.c | 1021 size_t privlen = 0, publen = 0; in i2d_ECPrivateKey() local 1038 privlen = EC_KEY_priv2buf(a, &priv); in i2d_ECPrivateKey() 1040 if (privlen == 0) { in i2d_ECPrivateKey() 1045 ASN1_STRING_set0(priv_key->privateKey, priv, privlen); in i2d_ECPrivateKey() 1082 OPENSSL_clear_free(priv, privlen); in i2d_ECPrivateKey()
|
/openssl/test/ |
H A D | evp_pkey_dhkem_test.c | 494 && TEST_mem_eq(privkey, privkeylen, t->priv, t->privlen) in test_ec_dhkem_derivekey() 718 memcpy(masked_priv, t->priv, t->privlen); in test_ecx_dhkem_derivekey() 725 masked_priv[t->privlen - 1] &= 127; in test_ecx_dhkem_derivekey() 726 masked_priv[t->privlen - 1] |= 64; in test_ecx_dhkem_derivekey() 729 masked_priv[t->privlen - 1] |= 128; in test_ecx_dhkem_derivekey() 747 && TEST_mem_eq(masked_priv, t->privlen, privkey, privkeylen); in test_ecx_dhkem_derivekey()
|
H A D | dhtest.c | 922 int ret, privlen = 0; in dh_load_pkcs3_namedgroup_privlen_test() local 929 &privlen)) in dh_load_pkcs3_namedgroup_privlen_test() 930 && TEST_int_eq(privlen, 1024); in dh_load_pkcs3_namedgroup_privlen_test()
|
H A D | dhkem_test.inc | 20 size_t privlen; 551 const unsigned char *priv, size_t privlen, 575 (char *)priv, privlen)) 578 privbn = BN_bin2bn(priv, privlen, NULL);
|
Completed in 20 milliseconds