Lines Matching refs:ctx
58 const PKCS7_CTX *ctx)
73 fetched = EVP_MD_fetch(ossl_pkcs7_ctx_get0_libctx(ctx), name,
74 ossl_pkcs7_ctx_get0_propq(ctx));
116 const PKCS7_CTX *ctx = ri->ctx;
122 pctx = EVP_PKEY_CTX_new_from_pkey(ossl_pkcs7_ctx_get0_libctx(ctx), pkey,
123 ossl_pkcs7_ctx_get0_propq(ctx));
163 const PKCS7_CTX *ctx = ri->ctx;
165 pctx = EVP_PKEY_CTX_new_from_pkey(ossl_pkcs7_ctx_get0_libctx(ctx), pkey,
166 ossl_pkcs7_ctx_get0_propq(ctx));
296 EVP_CIPHER_CTX *ctx;
302 BIO_get_cipher_ctx(btmp, &ctx);
320 if (EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, 1) <= 0)
326 if (EVP_CIPHER_CTX_rand_key(ctx, key) <= 0)
328 if (EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, 1) <= 0)
337 if (EVP_CIPHER_param_to_asn1(ctx, xalg->parameter) <= 0)
581 ri->ctx = p7_ctx;
588 ri->ctx = p7_ctx;
914 const PKCS7_CTX *ctx = si->ctx;
927 ossl_pkcs7_ctx_get0_libctx(ctx),
928 ossl_pkcs7_ctx_get0_propq(ctx), si->pkey,
960 int PKCS7_dataVerify(X509_STORE *cert_store, X509_STORE_CTX *ctx, BIO *bio,
998 if (!X509_STORE_CTX_init(ctx, cert_store, x509, cert)) {
1002 X509_STORE_CTX_set_purpose(ctx, X509_PURPOSE_SMIME_SIGN);
1003 i = X509_verify_cert(ctx);
1027 const PKCS7_CTX *ctx = ossl_pkcs7_get0_ctx(p7);
1028 OSSL_LIB_CTX *libctx = ossl_pkcs7_ctx_get0_libctx(ctx);
1029 const char *propq = ossl_pkcs7_ctx_get0_propq(ctx);
1068 * mdc is the digest ctx that we want, unless there are attributes, in