Lines Matching refs:penc
259 unsigned char *penc = NULL; in ecdh_cms_encrypt() local
278 penclen = EVP_PKEY_get1_encoded_public_key(pkey, &penc); in ecdh_cms_encrypt()
279 ASN1_STRING_set0(pubkey, penc, penclen); in ecdh_cms_encrypt()
283 penc = NULL; in ecdh_cms_encrypt()
347 penclen = CMS_SharedInfo_encode(&penc, wrap_alg, ukm, keylen); in ecdh_cms_encrypt()
352 if (EVP_PKEY_CTX_set0_ecdh_kdf_ukm(pctx, penc, penclen) <= 0) in ecdh_cms_encrypt()
354 penc = NULL; in ecdh_cms_encrypt()
360 penclen = i2d_X509_ALGOR(wrap_alg, &penc); in ecdh_cms_encrypt()
361 if (penc == NULL || penclen == 0) in ecdh_cms_encrypt()
366 ASN1_STRING_set0(wrap_str, penc, penclen); in ecdh_cms_encrypt()
367 penc = NULL; in ecdh_cms_encrypt()
373 OPENSSL_free(penc); in ecdh_cms_encrypt()