Home
last modified time | relevance | path

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

/openssl/crypto/cms/
H A Dcms_ec.c279 size_t enckeylen; in ecdh_cms_encrypt() local
281 enckeylen = EVP_PKEY_get1_encoded_public_key(pkey, &penc); in ecdh_cms_encrypt()
282 if (enckeylen > INT_MAX || enckeylen == 0) in ecdh_cms_encrypt()
284 ASN1_STRING_set0(pubkey, penc, (int)enckeylen); in ecdh_cms_encrypt()
H A 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()
/openssl/ssl/
H A Dt1_lib.c4184 size_t enckeylen) in tls13_set_encoded_pub_key() argument
4189 if (bits <= 0 || enckeylen != (size_t)bits / 8) in tls13_set_encoded_pub_key()
4193 if (enckeylen < 3 /* point format and at least 1 byte for x and y */ in tls13_set_encoded_pub_key()
4198 return EVP_PKEY_set1_encoded_public_key(pkey, enckey, enckeylen); in tls13_set_encoded_pub_key()
H A Dssl_local.h740 size_t enckeylen);

Completed in 36 milliseconds