summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/crypto/err/err.h
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2014-11-09 19:17:11 +0000
committermiod <miod@openbsd.org>2014-11-09 19:17:11 +0000
commit90f161cce41168eb31d5c3c6bb6769d367068d3b (patch)
tree13d4856397bfe17cb51b725e43d3eb5b85d0737e /lib/libssl/src/crypto/err/err.h
parentIntroduce EVP_MD_CTX_ctrl(), to allow for fine control of a given digest. (diff)
downloadwireguard-openbsd-90f161cce41168eb31d5c3c6bb6769d367068d3b.tar.xz
wireguard-openbsd-90f161cce41168eb31d5c3c6bb6769d367068d3b.zip
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.
Diffstat (limited to 'lib/libssl/src/crypto/err/err.h')
-rw-r--r--lib/libssl/src/crypto/err/err.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/err/err.h b/lib/libssl/src/crypto/err/err.h
index ced340ea80f..87bb96eec75 100644
--- a/lib/libssl/src/crypto/err/err.h
+++ b/lib/libssl/src/crypto/err/err.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: err.h,v 1.21 2014/07/11 09:25:24 jsing Exp $ */
+/* $OpenBSD: err.h,v 1.22 2014/11/09 19:17:13 miod Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -195,6 +195,7 @@ typedef struct err_state_st {
#define ERR_LIB_TS 47
#define ERR_LIB_HMAC 48
#define ERR_LIB_JPAKE 49
+#define ERR_LIB_GOST 50
#define ERR_LIB_USER 128
@@ -231,6 +232,7 @@ typedef struct err_state_st {
#define TSerr(f,r) ERR_PUT_error(ERR_LIB_TS,(f),(r),__FILE__,__LINE__)
#define HMACerr(f,r) ERR_PUT_error(ERR_LIB_HMAC,(f),(r),__FILE__,__LINE__)
#define JPAKEerr(f,r) ERR_PUT_error(ERR_LIB_JPAKE,(f),(r),__FILE__,__LINE__)
+#define GOSTerr(f,r) ERR_PUT_error(ERR_LIB_GOST,(f),(r),__FILE__,__LINE__)
#define ERR_PACK(l,f,r) (((((unsigned long)l)&0xffL)<<24L)| \
((((unsigned long)f)&0xfffL)<<12L)| \