Lines Matching defs:cipher
35 EVP_CIPHER_CTX *cipher;
46 "cipher",
73 ctx->cipher = EVP_CIPHER_CTX_new();
74 if (ctx->cipher == NULL) {
98 EVP_CIPHER_CTX_free(b->cipher);
136 blocksize = EVP_CIPHER_CTX_get_block_size(ctx->cipher);
162 i = EVP_CipherFinal_ex(ctx->cipher,
173 * Depending on flags block cipher decrypt can write
179 if (!EVP_CipherUpdate(ctx->cipher,
197 if (!EVP_CipherUpdate(ctx->cipher,
266 if (!EVP_CipherUpdate(ctx->cipher,
313 if (!EVP_CipherInit_ex(ctx->cipher, NULL, NULL, NULL, NULL,
314 EVP_CIPHER_CTX_is_encrypting(ctx->cipher)))
352 ret = EVP_CipherFinal_ex(ctx->cipher,
376 *c_ctx = ctx->cipher;
382 dctx->cipher = EVP_CIPHER_CTX_new();
383 if (dctx->cipher == NULL)
385 ret = EVP_CIPHER_CTX_copy(dctx->cipher, ctx->cipher);
437 if (!EVP_CipherInit_ex(ctx->cipher, c, NULL, k, i, e))