Searched refs:eklen (Results 1 – 2 of 2) sorted by relevance
/openssl/crypto/pkcs7/ |
H A D | pk7_doit.c | 153 size_t eklen; in pkcs7_encode_rinfo() local 171 ek = OPENSSL_malloc(eklen); in pkcs7_encode_rinfo() 178 ASN1_STRING_set0(ri->enc_key, ek, eklen); in pkcs7_encode_rinfo() 196 size_t eklen; in pkcs7_decrypt_rinfo() local 224 *peklen = eklen; in pkcs7_decrypt_rinfo() 452 int eklen = 0, tkeylen = 0; in PKCS7_dataDecode() local 654 eklen = tkeylen; in PKCS7_dataDecode() 666 OPENSSL_clear_free(ek, eklen); in PKCS7_dataDecode() 668 eklen = tkeylen; in PKCS7_dataDecode() 677 OPENSSL_clear_free(ek, eklen); in PKCS7_dataDecode() [all …]
|
/openssl/crypto/cms/ |
H A D | cms_env.c | 513 size_t eklen; in cms_RecipientInfo_ktri_encrypt() local 541 if (EVP_PKEY_encrypt(pctx, NULL, &eklen, ec->key, ec->keylen) <= 0) in cms_RecipientInfo_ktri_encrypt() 544 ek = OPENSSL_malloc(eklen); in cms_RecipientInfo_ktri_encrypt() 548 if (EVP_PKEY_encrypt(pctx, ek, &eklen, ec->key, ec->keylen) <= 0) in cms_RecipientInfo_ktri_encrypt() 551 ASN1_STRING_set0(ktri->encryptedKey, ek, eklen); in cms_RecipientInfo_ktri_encrypt() 571 size_t eklen; in cms_RecipientInfo_ktri_decrypt() local 630 if (evp_pkey_decrypt_alloc(ktri->pctx, &ek, &eklen, fixlen, in cms_RecipientInfo_ktri_decrypt() 639 ec->keylen = eklen; in cms_RecipientInfo_ktri_decrypt()
|
Completed in 9 milliseconds