Lines Matching full:engine
65 #include <openssl/engine.h>
103 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl,
116 * so this context may already have an ENGINE! Try to avoid releasing
117 * the previous handle, re-querying for an ENGINE, and having a
119 if (ctx->engine && ctx->cipher && (!cipher ||
127 * ENGINE and EVP_CIPHER could be used). */
146 /* Ask if an ENGINE is reserved for this job */
150 /* There's an ENGINE for this job ... (apparently) */
161 /* We'll use the ENGINE's private cipher definition */
163 /* Store the ENGINE functional reference so we know
164 * 'cipher' came from an ENGINE and we need to release
166 ctx->engine = impl;
169 ctx->engine = NULL;
289 int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, ENGINE *impl,
301 int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl,
584 if (c->engine)
585 /* The EVP_CIPHER we used belongs to an ENGINE, release the
587 ENGINE_finish(c->engine);
655 /* Make sure it's safe to copy a cipher context using an ENGINE */
656 if (in->engine && !ENGINE_init(in->engine))