summaryrefslogtreecommitdiffstats
path: root/providers/implementations/include/prov/implementations.h
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2019-10-16 16:18:42 +1000
committerShane Lontis <shane.lontis@oracle.com>2019-10-16 16:18:42 +1000
commit3d5a7578e09a984c6475b1c008f5c76f850328cb (patch)
tree0ec32eba328e21a6e1face34415c67dcdce365c2 /providers/implementations/include/prov/implementations.h
parent64fd90fbe99dde18de3fc7c3a6b06793d87a4aad (diff)
Add ChaCha related ciphers to default provider
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10081)
Diffstat (limited to 'providers/implementations/include/prov/implementations.h')
-rw-r--r--providers/implementations/include/prov/implementations.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/providers/implementations/include/prov/implementations.h b/providers/implementations/include/prov/implementations.h
index f52711bb01..44b0a6fbc2 100644
--- a/providers/implementations/include/prov/implementations.h
+++ b/providers/implementations/include/prov/implementations.h
@@ -203,6 +203,13 @@ extern const OSSL_DISPATCH des_cfb8_functions[];
extern const OSSL_DISPATCH rc440_functions[];
extern const OSSL_DISPATCH rc4128_functions[];
#endif /* OPENSSL_NO_RC4 */
+#ifndef OPENSSL_NO_CHACHA
+extern const OSSL_DISPATCH chacha20_functions[];
+# ifndef OPENSSL_NO_POLY1305
+extern const OSSL_DISPATCH chacha20_poly1305_functions[];
+# endif /* OPENSSL_NO_POLY1305 */
+#endif /* OPENSSL_NO_CHACHA */
+
/* MACs */
extern const OSSL_DISPATCH blake2bmac_functions[];