Home
last modified time | relevance | path

Searched refs:encryptedKey (Results 1 – 14 of 14) sorted by relevance

/freebsd/crypto/openssl/crypto/cms/
H A Dcms_pwri.c392 pwri->encryptedKey->data = key; in ossl_cms_RecipientInfo_pwri_crypt()
393 pwri->encryptedKey->length = keylen; in ossl_cms_RecipientInfo_pwri_crypt()
395 key = OPENSSL_malloc(pwri->encryptedKey->length); in ossl_cms_RecipientInfo_pwri_crypt()
399 pwri->encryptedKey->data, in ossl_cms_RecipientInfo_pwri_crypt()
400 pwri->encryptedKey->length, kekctx)) { in ossl_cms_RecipientInfo_pwri_crypt()
H A Dcms_local.h161 ASN1_OCTET_STRING *encryptedKey; member
199 ASN1_OCTET_STRING *encryptedKey; member
222 ASN1_OCTET_STRING *encryptedKey; member
239 ASN1_OCTET_STRING *encryptedKey; member
H A Dcms_env.c550 ASN1_STRING_set0(ktri->encryptedKey, ek, eklen); in cms_RecipientInfo_ktri_encrypt()
630 ktri->encryptedKey->data, in cms_RecipientInfo_ktri_decrypt()
631 ktri->encryptedKey->length) in cms_RecipientInfo_ktri_decrypt()
917 ASN1_STRING_set0(kekri->encryptedKey, wkey, wkeylen); in cms_RecipientInfo_kekri_encrypt()
964 if (kekri->encryptedKey->length < 16) { in cms_RecipientInfo_kekri_decrypt()
975 ukey = OPENSSL_malloc(kekri->encryptedKey->length - 8); in cms_RecipientInfo_kekri_decrypt()
987 kekri->encryptedKey->data, in cms_RecipientInfo_kekri_decrypt()
988 kekri->encryptedKey->length) in cms_RecipientInfo_kekri_decrypt()
H A Dcms_asn1.c102 ASN1_SIMPLE(CMS_KeyTransRecipientInfo, encryptedKey, ASN1_OCTET_STRING)
132 ASN1_SIMPLE(CMS_RecipientEncryptedKey, encryptedKey, ASN1_OCTET_STRING)
177 …eyEncryptionAlgorithm, X509_ALGOR), ASN1_SIMPLE(CMS_KEKRecipientInfo, encryptedKey, ASN1_OCTET_STR…
183 ASN1_SIMPLE(CMS_PasswordRecipientInfo, encryptedKey, ASN1_OCTET_STRING)
H A Dcms_kari.c263 enckeylen = rek->encryptedKey->length; in CMS_RecipientInfo_kari_decrypt()
264 enckey = rek->encryptedKey->data; in CMS_RecipientInfo_kari_decrypt()
528 ASN1_STRING_set0(rek->encryptedKey, enckey, enckeylen); in ossl_cms_RecipientInfo_kari_encrypt()
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_CRMF_MSG_get0_tmpl.pod46 *OSSL_CRMF_ENCRYPTEDKEY_get1_pkey(OSSL_CRMF_ENCRYPTEDKEY *encryptedKey,
93 encryptedKey I<ecert>, using the private key I<pkey>, library context
99 OSSL_CRMF_ENCRYPTEDKEY_get1_pkey() decrypts the private key in I<encryptedKey>.
100 If I<encryptedKey> is not of type B<OSSL_CRMF_ENCRYPTEDKEY_ENVELOPEDDATA>,
104 and I<encryptedKey> is of type case B<OSSL_CRMF_ENCRYPTEDKEY_ENVELOPEDDATA>.
/freebsd/crypto/openssl/crypto/crmf/
H A Dcrmf_lib.c666 EVP_PKEY *OSSL_CRMF_ENCRYPTEDKEY_get1_pkey(const OSSL_CRMF_ENCRYPTEDKEY *encryptedKey, in OSSL_CRMF_ENCRYPTEDKEY_get1_pkey() argument
680 if (encryptedKey == NULL) { in OSSL_CRMF_ENCRYPTEDKEY_get1_pkey()
684 if (encryptedKey->type != OSSL_CRMF_ENCRYPTEDKEY_ENVELOPEDDATA) { in OSSL_CRMF_ENCRYPTEDKEY_get1_pkey()
689 p = OSSL_CRMF_ENCRYPTEDVALUE_decrypt(encryptedKey->value.encryptedValue, in OSSL_CRMF_ENCRYPTEDKEY_get1_pkey()
702 if ((bio = CMS_EnvelopedData_decrypt(encryptedKey->value.envelopedData, in OSSL_CRMF_ENCRYPTEDKEY_get1_pkey()
H A Dcrmf_local.h211 ASN1_NULL *encryptedKey; /* 4 */ member
H A Dcrmf_asn.c101 ASN1_IMP(OSSL_CRMF_POPOPRIVKEY, value.encryptedKey, ASN1_NULL, 4),
/freebsd/crypto/heimdal/lib/hx509/
H A Dcrmf.asn161 encryptedKey [4] heim_any
H A Dcms.c425 &ri->encryptedKey, in hx509_cms_unenvelope()
672 &ri->encryptedKey); in hx509_cms_envelope_1()
/freebsd/crypto/heimdal/lib/asn1/
H A Dcms.asn1115 encryptedKey EncryptedKey
/freebsd/crypto/openssl/include/openssl/
H A Dcrmf.h.in195 EVP_PKEY *OSSL_CRMF_ENCRYPTEDKEY_get1_pkey(const OSSL_CRMF_ENCRYPTEDKEY *encryptedKey,
H A Dcrmf.h266 EVP_PKEY *OSSL_CRMF_ENCRYPTEDKEY_get1_pkey(const OSSL_CRMF_ENCRYPTEDKEY *encryptedKey,