diff options
Diffstat (limited to 'src/include/openssl/aead.h')
-rw-r--r-- | src/include/openssl/aead.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/include/openssl/aead.h b/src/include/openssl/aead.h index 659f05f..f719f02 100644 --- a/src/include/openssl/aead.h +++ b/src/include/openssl/aead.h @@ -98,9 +98,23 @@ OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_128_gcm(void); /* EVP_aead_aes_256_gcm is AES-256 in Galois Counter Mode. */ OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_256_gcm(void); -/* EVP_aead_chacha20_poly1305 is an AEAD built from ChaCha20 and Poly1305. */ +/* EVP_aead_chacha20_poly1305_old is an AEAD built from ChaCha20 and + * Poly1305 that is used in the experimental ChaCha20-Poly1305 TLS cipher + * suites. */ +OPENSSL_EXPORT const EVP_AEAD *EVP_aead_chacha20_poly1305_old(void); + +/* EVP_aead_chacha20_poly1305 is currently an alias for + * |EVP_aead_chacha20_poly1305_old|. In the future, the RFC 7539 version will + * take this name. */ OPENSSL_EXPORT const EVP_AEAD *EVP_aead_chacha20_poly1305(void); +/* EVP_aead_chacha20_poly1305_rfc7539 is the AEAD built from ChaCha20 and + * Poly1305 as described in RFC 7539. + * + * WARNING: this function is not ready yet. It will be renamed in the future to + * drop the “_rfc7539” suffix. */ +OPENSSL_EXPORT const EVP_AEAD *EVP_aead_chacha20_poly1305_rfc7539(void); + /* EVP_aead_aes_128_key_wrap is AES-128 Key Wrap mode. This should never be * used except to interoperate with existing systems that use this mode. * |