Add ChaCha as a cipher.
authorjsing <jsing@openbsd.org>
Fri, 2 May 2014 18:06:12 +0000 (18:06 +0000)
committerjsing <jsing@openbsd.org>
Fri, 2 May 2014 18:06:12 +0000 (18:06 +0000)
ok beck@ miod@

lib/libssl/src/apps/progs.h

index 59a7b78..7fb346e 100644 (file)
@@ -186,6 +186,9 @@ FUNCTION functions[] = {
        { FUNC_TYPE_CIPHER, "cast5-ofb", enc_main },
        { FUNC_TYPE_CIPHER, "cast-cbc", enc_main },
 #endif
+#ifndef OPENSSL_NO_CHACHA
+       { FUNC_TYPE_CIPHER, "chacha", enc_main },
+#endif
 #ifndef OPENSSL_NO_DES
        { FUNC_TYPE_CIPHER, "des", enc_main },
        { FUNC_TYPE_CIPHER, "des3", enc_main },