Home
last modified time | relevance | path

Searched refs:enckeylen (Results 1 – 9 of 9) sorted by relevance

/third_party/openssl/crypto/cms/
Dcms_ec.c278 size_t enckeylen; in ecdh_cms_encrypt() local
280 enckeylen = EVP_PKEY_get1_encoded_public_key(pkey, &penc); in ecdh_cms_encrypt()
281 if (enckeylen > INT_MAX || enckeylen == 0) in ecdh_cms_encrypt()
283 ASN1_STRING_set0(pubkey, penc, (int)enckeylen); in ecdh_cms_encrypt()
Dcms_kari.c259 size_t enckeylen; in CMS_RecipientInfo_kari_decrypt() local
263 enckeylen = rek->encryptedKey->length; in CMS_RecipientInfo_kari_decrypt()
269 if (!cms_kek_cipher(&cek, &ceklen, enckey, enckeylen, ri->d.kari, 0)) in CMS_RecipientInfo_kari_decrypt()
512 size_t enckeylen; in ossl_cms_RecipientInfo_kari_encrypt() local
516 if (!cms_kek_cipher(&enckey, &enckeylen, ec->key, ec->keylen, in ossl_cms_RecipientInfo_kari_encrypt()
519 ASN1_STRING_set0(rek->encryptedKey, enckey, enckeylen); in ossl_cms_RecipientInfo_kari_encrypt()
/third_party/node/deps/openssl/openssl/crypto/cms/
Dcms_ec.c278 size_t enckeylen; in ecdh_cms_encrypt() local
280 enckeylen = EVP_PKEY_get1_encoded_public_key(pkey, &penc); in ecdh_cms_encrypt()
281 if (enckeylen > INT_MAX || enckeylen == 0) in ecdh_cms_encrypt()
283 ASN1_STRING_set0(pubkey, penc, (int)enckeylen); in ecdh_cms_encrypt()
Dcms_kari.c259 size_t enckeylen; in CMS_RecipientInfo_kari_decrypt() local
263 enckeylen = rek->encryptedKey->length; in CMS_RecipientInfo_kari_decrypt()
269 if (!cms_kek_cipher(&cek, &ceklen, enckey, enckeylen, ri->d.kari, 0)) in CMS_RecipientInfo_kari_decrypt()
512 size_t enckeylen; in ossl_cms_RecipientInfo_kari_encrypt() local
516 if (!cms_kek_cipher(&enckey, &enckeylen, ec->key, ec->keylen, in ossl_cms_RecipientInfo_kari_encrypt()
519 ASN1_STRING_set0(rek->encryptedKey, enckey, enckeylen); in ossl_cms_RecipientInfo_kari_encrypt()
/third_party/ltp/testcases/kernel/crypto/
Daf_alg06.c27 uint32_t enckeylen; in run() member
/third_party/openssl/ssl/
Dt1_lib.c3494 size_t enckeylen) in tls13_set_encoded_pub_key() argument
3499 if (bits <= 0 || enckeylen != (size_t)bits / 8) in tls13_set_encoded_pub_key()
3503 if (enckeylen < 3 /* point format and at least 1 byte for x and y */ in tls13_set_encoded_pub_key()
3508 return EVP_PKEY_set1_encoded_public_key(pkey, enckey, enckeylen); in tls13_set_encoded_pub_key()
Dssl_local.h816 size_t enckeylen);
/third_party/node/deps/openssl/openssl/ssl/
Dt1_lib.c3515 size_t enckeylen) in tls13_set_encoded_pub_key() argument
3520 if (bits <= 0 || enckeylen != (size_t)bits / 8) in tls13_set_encoded_pub_key()
3524 if (enckeylen < 3 /* point format and at least 1 byte for x and y */ in tls13_set_encoded_pub_key()
3529 return EVP_PKEY_set1_encoded_public_key(pkey, enckey, enckeylen); in tls13_set_encoded_pub_key()
Dssl_local.h825 size_t enckeylen);