Searched refs:cms_ctx (Results 1 – 8 of 8) sorted by relevance
/openssl/crypto/cms/ |
H A D | cms_pwri.c | 54 const CMS_CTX *cms_ctx = ossl_cms_get0_cmsctx(cms); in CMS_add0_recipient_password() local 106 if (RAND_bytes_ex(ossl_cms_ctx_get0_libctx(cms_ctx), iv, ivlen, 0) <= 0) in CMS_add0_recipient_password() 143 pwri->cms_ctx = cms_ctx; in CMS_add0_recipient_password() 259 EVP_CIPHER_CTX *ctx, const CMS_CTX *cms_ctx) in kek_wrap_key() argument 291 && RAND_bytes_ex(ossl_cms_ctx_get0_libctx(cms_ctx), out + 4 + inlen, in kek_wrap_key() 319 const CMS_CTX *cms_ctx = ossl_cms_get0_cmsctx(cms); in ossl_cms_RecipientInfo_pwri_crypt() local 345 kekcipher = EVP_CIPHER_fetch(ossl_cms_ctx_get0_libctx(cms_ctx), name, in ossl_cms_RecipientInfo_pwri_crypt() 346 ossl_cms_ctx_get0_propq(cms_ctx)); in ossl_cms_RecipientInfo_pwri_crypt() 382 if (!kek_wrap_key(NULL, &keylen, ec->key, ec->keylen, kekctx, cms_ctx)) in ossl_cms_RecipientInfo_pwri_crypt() 390 if (!kek_wrap_key(key, &keylen, ec->key, ec->keylen, kekctx, cms_ctx)) in ossl_cms_RecipientInfo_pwri_crypt()
|
H A D | cms_kari.c | 173 pctx = EVP_PKEY_CTX_new_from_pkey(ossl_cms_ctx_get0_libctx(kari->cms_ctx), in CMS_RecipientInfo_kari_set0_pkey_and_peer() 175 ossl_cms_ctx_get0_propq(kari->cms_ctx)); in CMS_RecipientInfo_kari_set0_pkey_and_peer() 289 const CMS_CTX *ctx = kari->cms_ctx; in cms_kari_create_ephemeral_key() 321 const CMS_CTX *ctx = kari->cms_ctx; in cms_kari_set_originator_private_key() 356 kari->cms_ctx = ctx; in ossl_cms_RecipientInfo_kari_init() 416 const CMS_CTX *cms_ctx = kari->cms_ctx; in cms_wrap_init() local 464 fetched_kekcipher = EVP_CIPHER_fetch(ossl_cms_ctx_get0_libctx(cms_ctx), in cms_wrap_init() 466 ossl_cms_ctx_get0_propq(cms_ctx)); in cms_wrap_init()
|
H A D | cms_enc.c | 26 const CMS_CTX *cms_ctx) in ossl_cms_EncryptedContent_init_bio() argument 41 OSSL_LIB_CTX *libctx = ossl_cms_ctx_get0_libctx(cms_ctx); in ossl_cms_EncryptedContent_init_bio() 42 const char *propq = ossl_cms_ctx_get0_propq(cms_ctx); in ossl_cms_EncryptedContent_init_bio() 208 const CMS_CTX *cms_ctx) in ossl_cms_EncryptedContent_init() argument
|
H A D | cms_local.h | 102 const CMS_CTX *cms_ctx; member 165 const CMS_CTX *cms_ctx; member 178 const CMS_CTX *cms_ctx; member 224 const CMS_CTX *cms_ctx; member 241 const CMS_CTX *cms_ctx; member
|
H A D | cms_env.c | 191 ri->d.kari->cms_ctx = ctx; in ossl_cms_RecipientInfos_set_cmsctx() 194 ri->d.ktri->cms_ctx = ctx; in ossl_cms_RecipientInfos_set_cmsctx() 200 ri->d.kekri->cms_ctx = ctx; in ossl_cms_RecipientInfos_set_cmsctx() 203 ri->d.pwri->cms_ctx = ctx; in ossl_cms_RecipientInfos_set_cmsctx() 342 ktri->cms_ctx = ctx; in cms_RecipientInfo_ktri_init() 876 const CMS_CTX *cms_ctx = ossl_cms_get0_cmsctx(cms); in cms_RecipientInfo_kekri_encrypt() local 889 cipher = cms_get_key_wrap_cipher(kekri->keylen, cms_ctx); in cms_RecipientInfo_kekri_encrypt() 945 const CMS_CTX *cms_ctx = ossl_cms_get0_cmsctx(cms); in cms_RecipientInfo_kekri_decrypt() local 971 cipher = cms_get_key_wrap_cipher(kekri->keylen, cms_ctx); in cms_RecipientInfo_kekri_decrypt()
|
H A D | cms_ess.c | 227 ossl_cms_ctx_get0_libctx(si->cms_ctx), in cms_msgSigDigest() 228 ossl_cms_ctx_get0_propq(si->cms_ctx))) in cms_msgSigDigest()
|
H A D | cms_sd.c | 362 si->cms_ctx = ctx; in CMS_add1_signer() 552 si->cms_ctx = ctx; in ossl_cms_SignerInfos_set_cmsctx() 835 const CMS_CTX *ctx = si->cms_ctx; in CMS_SignerInfo_sign() 898 const CMS_CTX *ctx = si->cms_ctx; in CMS_SignerInfo_verify() 1044 const CMS_CTX *ctx = si->cms_ctx; in CMS_SignerInfo_verify_content()
|
H A D | cms_smime.c | 267 const CMS_CTX *cms_ctx) in cms_signerinfo_verify_cert() argument 273 ctx = X509_STORE_CTX_new_ex(ossl_cms_ctx_get0_libctx(cms_ctx), in cms_signerinfo_verify_cert() 274 ossl_cms_ctx_get0_propq(cms_ctx)); in cms_signerinfo_verify_cert() 576 const CMS_CTX *ctx = si->cms_ctx; in CMS_sign_receipt()
|
Completed in 23 milliseconds