Searched refs:wkey (Results 1 – 1 of 1) sorted by relevance
823 unsigned char *wkey = NULL; in cms_RecipientInfo_kekri_encrypt() local849 wkey = OPENSSL_malloc(ec->keylen + 8); in cms_RecipientInfo_kekri_encrypt()850 if (wkey == NULL) { in cms_RecipientInfo_kekri_encrypt()863 || !EVP_EncryptUpdate(ctx, wkey, &wkeylen, ec->key, ec->keylen) in cms_RecipientInfo_kekri_encrypt()864 || !EVP_EncryptFinal_ex(ctx, wkey + wkeylen, &outlen)) { in cms_RecipientInfo_kekri_encrypt()874 ASN1_STRING_set0(kekri->encryptedKey, wkey, wkeylen); in cms_RecipientInfo_kekri_encrypt()881 OPENSSL_free(wkey); in cms_RecipientInfo_kekri_encrypt()