26 EVP_aes_128_cbc_hmac_sha1,
27 EVP_aes_256_cbc_hmac_sha1,
28 EVP_aes_128_cbc_hmac_sha256,
29 EVP_aes_256_cbc_hmac_sha256,
53 #include <openssl/evp.h>
55 const EVP_CIPHER *EVP_ciphername(void)
57 I<EVP_ciphername> is used a placeholder for any of the described cipher
58 functions, such as I<EVP_aes_128_cbc>.
62 The AES encryption algorithm for EVP.
66 =item EVP_aes_128_cbc(),
88 AES for 128, 192 and 256 bit keys in the following modes: CBC, CFB with 128-bit
89 shift, CFB with 1-bit shift, CFB with 8-bit shift, CTR, ECB, and OFB.
91 =item EVP_aes_128_cbc_hmac_sha1(),
92 EVP_aes_256_cbc_hmac_sha1()
94 Authenticated encryption with AES in CBC mode using SHA-1 as HMAC, with keys of
95 128 and 256 bits length respectively. The authentication tag is 160 bits long.
97 WARNING: this is not intended for usage outside of TLS and requires calling of
98 some undocumented ctrl functions. These ciphers do not conform to the EVP AEAD
101 =item EVP_aes_128_cbc_hmac_sha256(),
102 EVP_aes_256_cbc_hmac_sha256()
104 Authenticated encryption with AES in CBC mode using SHA256 (SHA-2, 256-bits) as
105 HMAC, with keys of 128 and 256 bits length respectively. The authentication tag
108 WARNING: this is not intended for usage outside of TLS and requires calling of
109 some undocumented ctrl functions. These ciphers do not conform to the EVP AEAD
112 =item EVP_aes_128_ccm(),
122 AES for 128, 192 and 256 bit keys in CBC-MAC Mode (CCM), Galois Counter Mode
123 (GCM) and OCB Mode respectively. These ciphers require additional control
124 operations to function correctly, see the L<EVP_EncryptInit(3)/AEAD Interface>
127 =item EVP_aes_128_wrap(),
130 EVP_aes_128_wrap_pad(),
134 EVP_aes_192_wrap_pad(),
138 EVP_aes_256_wrap_pad()
140 AES key wrap with 128, 192 and 256 bit keys, as according to RFC 3394 section
141 2.2.1 ("wrap") and RFC 5649 section 4.1 ("wrap with padding") respectively.
143 =item EVP_aes_128_xts(),
146 AES XTS mode (XTS-AES) is standardized in IEEE Std. 1619-2007 and described in NIST
147 SP 800-38E. The XTS (XEX-based tweaked-codebook mode with ciphertext stealing)
148 mode was designed by Prof. Phillip Rogaway of University of California, Davis,
149 intended for encrypting data on a storage device.
151 XTS-AES provides confidentiality but not authentication of data. It also
152 requires a key of double-length for protection of a certain key size.
153 In particular, XTS-AES-128 (B<EVP_aes_128_xts>) takes input of a 256-bit key to
154 achieve AES 128-bit security, and XTS-AES-256 (B<EVP_aes_256_xts>) takes input
155 of a 512-bit key to achieve AES 256-bit security.
161 These functions return an B<EVP_CIPHER> structure that contains the
162 implementation of the symmetric cipher. See L<EVP_CIPHER_meth_new(3)> for
163 details of the B<EVP_CIPHER> structure.
168 L<EVP_EncryptInit(3)>,
169 L<EVP_CIPHER_meth_new(3)>
173 Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
175 Licensed under the OpenSSL license (the "License"). You may not use
176 this file except in compliance with the License. You can obtain a copy
177 in the file LICENSE in the source distribution or at
178 L<https://www.openssl.org/source/license.html>.