summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/crypto/dsa/dsa.h
diff options
context:
space:
mode:
authorbcook <bcook@openbsd.org>2016-06-30 02:02:06 +0000
committerbcook <bcook@openbsd.org>2016-06-30 02:02:06 +0000
commit1b2bbd6a2be0d8567d09a347b008777f6f415bc7 (patch)
treef898e27b29c52ec722c83757f2cab72f231455d8 /lib/libssl/src/crypto/dsa/dsa.h
parentIf /tmp/vi.recover doesn't exist, don't create it. Warn once (diff)
downloadwireguard-openbsd-1b2bbd6a2be0d8567d09a347b008777f6f415bc7.tar.xz
wireguard-openbsd-1b2bbd6a2be0d8567d09a347b008777f6f415bc7.zip
Remove flags for disabling constant-time operations.
This removes support for DSA_FLAG_NO_EXP_CONSTTIME, DH_FLAG_NO_EXP_CONSTTIME, and RSA_FLAG_NO_CONSTTIME flags, making all of these operations unconditionally constant-time. Based on the original patch by César Pereid. ok beck@
Diffstat (limited to 'lib/libssl/src/crypto/dsa/dsa.h')
-rw-r--r--lib/libssl/src/crypto/dsa/dsa.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libssl/src/crypto/dsa/dsa.h b/lib/libssl/src/crypto/dsa/dsa.h
index f7f81cfa948..b4d7c1ff0f7 100644
--- a/lib/libssl/src/crypto/dsa/dsa.h
+++ b/lib/libssl/src/crypto/dsa/dsa.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsa.h,v 1.20 2016/06/21 04:16:53 bcook Exp $ */
+/* $OpenBSD: dsa.h,v 1.21 2016/06/30 02:02:06 bcook Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -89,9 +89,6 @@
#endif
#define DSA_FLAG_CACHE_MONT_P 0x01
-#define DSA_FLAG_NO_EXP_CONSTTIME 0x00 /* Does nothing. Previously this switched off
- * constant time behaviour.
- */
/* If this flag is set the DSA method is FIPS compliant and can be used
* in FIPS mode. This is set in the validated module method. If an