Lines Matching defs:cipher
192 * This 'stitched' cipher depends on the EVP_aes_128_cbc_hmac_sha1() cipher,
194 * (see OPENSSL_IA32CAP(3)). If that's not the case, then this cipher will not
197 * Note: Since it is a legacy mac-then-encrypt cipher, modern TLS peers (which
216 static int dasync_ciphers(ENGINE *e, const EVP_CIPHER **cipher,
474 static int dasync_ciphers(ENGINE *e, const EVP_CIPHER **cipher,
478 if (cipher == NULL) {
484 /* We are being asked for a specific cipher */
487 *cipher = dasync_aes_128_cbc();
490 *cipher = dasync_aes_256_ctr();
493 *cipher = dasync_aes_128_cbc_hmac_sha1();
497 *cipher = NULL;
717 const EVP_CIPHER *cipher)
724 && EVP_CIPHER_impl_ctx_size(cipher) != 0) {
726 EVP_CIPHER_impl_ctx_size(cipher));
738 ret = EVP_CIPHER_meth_get_init(cipher)(ctx, key, iv, enc);
746 const EVP_CIPHER *cipher)
759 EVP_CIPHER_meth_get_ctrl(cipher)
764 ret = EVP_CIPHER_meth_get_do_cipher(cipher)
771 EVP_CIPHER_meth_get_ctrl(cipher)
776 ret = ret && EVP_CIPHER_meth_get_do_cipher(cipher)
788 const EVP_CIPHER *cipher)
794 EVP_CIPHER_impl_ctx_size(cipher));