Lines Matching defs:cipher
59 EVP_CIPHER *cipher = NULL;
73 /* Fetch the cipher implementation */
74 if ((cipher = EVP_CIPHER_fetch(libctx, "ARIA-256-CBC", propq)) == NULL)
78 * Initialise an encrypt operation with the cipher/mode, key and IV.
81 if (!EVP_EncryptInit_ex2(ctx, cipher, cbc_key, cbc_iv, /* params */ NULL))
107 EVP_CIPHER_free(cipher);
117 EVP_CIPHER *cipher = NULL;
129 /* Fetch the cipher implementation */
130 if ((cipher = EVP_CIPHER_fetch(libctx, "ARIA-256-CBC", propq)) == NULL)
134 * Initialise an encrypt operation with the cipher/mode, key and IV.
137 if (!EVP_DecryptInit_ex2(ctx, cipher, cbc_key, cbc_iv, /* params */ NULL))
163 EVP_CIPHER_free(cipher);