From 12455d6eff265f95b0a7e20595630321799f50a2 Mon Sep 17 00:00:00 2001 From: miod <> Date: Sun, 9 Nov 2014 19:17:13 +0000 Subject: GOST crypto algorithms (well, most of them), ported from the removed GOST engine to regular EVP citizens, contributed by Dmitry Eremin-Solenikov; libcrypto bits only for now. This is a verbatim import of Dmitry's work, and does not compile in this state; the forthcoming commits will address these issues. None of the GOST code is enabled in libcrypto yet, for it still gets compiled with OPENSSL_NO_GOST defined. However, the public header gost.h will be installed. --- src/lib/libcrypto/evp/c_allc.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/evp/c_allc.c') diff --git a/src/lib/libcrypto/evp/c_allc.c b/src/lib/libcrypto/evp/c_allc.c index 657e14f86f..26a5cc6179 100644 --- a/src/lib/libcrypto/evp/c_allc.c +++ b/src/lib/libcrypto/evp/c_allc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: c_allc.c,v 1.13 2014/07/11 08:44:48 jsing Exp $ */ +/* $OpenBSD: c_allc.c,v 1.14 2014/11/09 19:17:13 miod Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -225,4 +225,10 @@ OpenSSL_add_all_ciphers(void) #ifndef OPENSSL_NO_CHACHA EVP_add_cipher(EVP_chacha20()); #endif + +#ifndef OPENSSL_NO_GOST + EVP_add_cipher(EVP_gost2814789_ecb()); + EVP_add_cipher(EVP_gost2814789_cfb64()); + EVP_add_cipher(EVP_gost2814789_cnt()); +#endif } -- cgit v1.2.3-55-g6feb