Lines Matching refs:penc
261 unsigned char *penc = NULL; in ecdh_cms_encrypt() local
281 enckeylen = EVP_PKEY_get1_encoded_public_key(pkey, &penc); in ecdh_cms_encrypt()
284 ASN1_STRING_set0(pubkey, penc, (int)enckeylen); in ecdh_cms_encrypt()
287 penc = NULL; in ecdh_cms_encrypt()
351 penclen = CMS_SharedInfo_encode(&penc, wrap_alg, ukm, keylen); in ecdh_cms_encrypt()
356 if (EVP_PKEY_CTX_set0_ecdh_kdf_ukm(pctx, penc, penclen) <= 0) in ecdh_cms_encrypt()
358 penc = NULL; in ecdh_cms_encrypt()
364 penclen = i2d_X509_ALGOR(wrap_alg, &penc); in ecdh_cms_encrypt()
370 ASN1_STRING_set0(wrap_str, penc, penclen); in ecdh_cms_encrypt()
371 penc = NULL; in ecdh_cms_encrypt()
377 OPENSSL_free(penc); in ecdh_cms_encrypt()