projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
evp/c_allc.c: wire ChaCha20-Poly1305 and add tests.
[openssl.git]
/
crypto
/
evp
/
c_allc.c
diff --git
a/crypto/evp/c_allc.c
b/crypto/evp/c_allc.c
index ff4cffc531f1add027bdc253b6d97b771adc6fe0..49f4c66a676c8599e4de50723d918db5abc0bb9f 100644
(file)
--- a/
crypto/evp/c_allc.c
+++ b/
crypto/evp/c_allc.c
@@
-256,4
+256,11
@@
void OpenSSL_add_all_ciphers(void)
EVP_add_cipher(EVP_camellia_192_ctr());
EVP_add_cipher(EVP_camellia_256_ctr());
#endif
+
+#ifndef OPENSSL_NO_CHACHA
+ EVP_add_cipher(EVP_chacha20());
+# ifndef OPENSSL_NO_POLY1305
+ EVP_add_cipher(EVP_chacha20_poly1305());
+# endif
+#endif
}