Lines Matching defs:cipher
75 EVP_CIPHER *cipher = NULL;
93 /* Fetch the cipher implementation */
94 if ((cipher = EVP_CIPHER_fetch(libctx, "AES-192-CCM", propq)) == NULL)
105 * Initialise encrypt operation with the cipher & mode,
108 if (!EVP_EncryptInit_ex2(ctx, cipher, NULL, NULL, params))
152 EVP_CIPHER_free(cipher);
162 EVP_CIPHER *cipher = NULL;
177 /* Fetch the cipher implementation */
178 if ((cipher = EVP_CIPHER_fetch(libctx, "AES-192-CCM", propq)) == NULL)
189 * Initialise decrypt operation with the cipher & mode,
192 if (!EVP_DecryptInit_ex2(ctx, cipher, NULL, NULL, params))
223 EVP_CIPHER_free(cipher);