Home
last modified time | relevance | path

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

/crypto/cms/
A Dcms_pwri.c395 pwri->encryptedKey->data = key; in ossl_cms_RecipientInfo_pwri_crypt()
396 pwri->encryptedKey->length = (int)keylen; in ossl_cms_RecipientInfo_pwri_crypt()
398 key = OPENSSL_malloc(pwri->encryptedKey->length); in ossl_cms_RecipientInfo_pwri_crypt()
402 pwri->encryptedKey->data, in ossl_cms_RecipientInfo_pwri_crypt()
403 pwri->encryptedKey->length, kekctx)) { in ossl_cms_RecipientInfo_pwri_crypt()
A Dcms_local.h168 ASN1_OCTET_STRING *encryptedKey; member
206 ASN1_OCTET_STRING *encryptedKey; member
229 ASN1_OCTET_STRING *encryptedKey; member
246 ASN1_OCTET_STRING *encryptedKey; member
272 ASN1_OCTET_STRING *encryptedKey; member
A Dcms_asn1.c114 ASN1_SIMPLE(CMS_KeyTransRecipientInfo, encryptedKey, ASN1_OCTET_STRING)
145 ASN1_SIMPLE(CMS_RecipientEncryptedKey, encryptedKey, ASN1_OCTET_STRING)
194 ASN1_SIMPLE(CMS_KEKRecipientInfo, encryptedKey, ASN1_OCTET_STRING)
201 ASN1_SIMPLE(CMS_PasswordRecipientInfo, encryptedKey, ASN1_OCTET_STRING)
232 ASN1_SIMPLE(CMS_KEMRecipientInfo, encryptedKey, ASN1_OCTET_STRING)
A Dcms_env.c580 ASN1_STRING_set0(ktri->encryptedKey, ek, (int)eklen); in cms_RecipientInfo_ktri_encrypt()
660 ktri->encryptedKey->data, in cms_RecipientInfo_ktri_decrypt()
661 ktri->encryptedKey->length) <= 0) in cms_RecipientInfo_ktri_decrypt()
948 ASN1_STRING_set0(kekri->encryptedKey, wkey, wkeylen); in cms_RecipientInfo_kekri_encrypt()
995 if (kekri->encryptedKey->length < 16) { in cms_RecipientInfo_kekri_decrypt()
1006 ukey = OPENSSL_malloc(kekri->encryptedKey->length - 8); in cms_RecipientInfo_kekri_decrypt()
1018 kekri->encryptedKey->data, in cms_RecipientInfo_kekri_decrypt()
1019 kekri->encryptedKey->length) in cms_RecipientInfo_kekri_decrypt()
A Dcms_kemri.c346 ASN1_STRING_set0(kemri->encryptedKey, enckey, (int)enckeylen); in ossl_cms_RecipientInfo_kemri_encrypt()
401 enckeylen = kemri->encryptedKey->length; in ossl_cms_RecipientInfo_kemri_decrypt()
402 enckey = kemri->encryptedKey->data; in ossl_cms_RecipientInfo_kemri_decrypt()
A Dcms_kari.c257 enckeylen = rek->encryptedKey->length; in CMS_RecipientInfo_kari_decrypt()
258 enckey = rek->encryptedKey->data; in CMS_RecipientInfo_kari_decrypt()
461 ASN1_STRING_set0(rek->encryptedKey, enckey, (int)enckeylen); in ossl_cms_RecipientInfo_kari_encrypt()
/crypto/crmf/
A Dcrmf_lib.c665 EVP_PKEY *OSSL_CRMF_ENCRYPTEDKEY_get1_pkey(const OSSL_CRMF_ENCRYPTEDKEY *encryptedKey, in OSSL_CRMF_ENCRYPTEDKEY_get1_pkey() argument
679 if (encryptedKey == NULL) { in OSSL_CRMF_ENCRYPTEDKEY_get1_pkey()
683 if (encryptedKey->type != OSSL_CRMF_ENCRYPTEDKEY_ENVELOPEDDATA) { in OSSL_CRMF_ENCRYPTEDKEY_get1_pkey()
688 p = OSSL_CRMF_ENCRYPTEDVALUE_decrypt(encryptedKey->value.encryptedValue, in OSSL_CRMF_ENCRYPTEDKEY_get1_pkey()
701 if ((bio = CMS_EnvelopedData_decrypt(encryptedKey->value.envelopedData, in OSSL_CRMF_ENCRYPTEDKEY_get1_pkey()
A Dcrmf_local.h202 ASN1_NULL *encryptedKey; /* 4 */ member
A Dcrmf_asn.c97 ASN1_IMP(OSSL_CRMF_POPOPRIVKEY, value.encryptedKey, ASN1_NULL, 4),

Completed in 47 milliseconds