Lines Matching defs:cipher
74 ctx->cipher->do_cipher(ctx,out,in,inl)
87 int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
90 if (cipher)
92 return EVP_CipherInit_ex(ctx,cipher,NULL,key,iv,enc);
117 int EVP_EncryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
120 return EVP_CipherInit(ctx, cipher, key, iv, 1);
123 int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, ENGINE *impl,
126 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 1);
129 int EVP_DecryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
132 return EVP_CipherInit(ctx, cipher, key, iv, 0);
135 int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl,
138 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 0);
166 bl=ctx->cipher->block_size;
216 b=ctx->cipher->block_size;
262 b=ctx->cipher->block_size;
308 b=ctx->cipher->block_size;
341 n=ctx->cipher->block_size-n;
362 if(c->cipher->flags & EVP_CIPH_CUSTOM_KEY_LENGTH)
365 if((keylen > 0) && (c->cipher->flags & EVP_CIPH_VARIABLE_LENGTH))
383 if (ctx->cipher->flags & EVP_CIPH_RAND_KEY)
420 /* We'll use the ENGINE's private cipher definition */
423 * 'cipher' came from an ENGINE and we need to release