From 5584f65a1027b06fe0cfc4be28d1a232cf180e42 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 26 May 2016 10:55:11 +0100 Subject: Deprecate the flags that switch off constant time The flags RSA_FLAG_NO_CONSTTIME, DSA_FLAG_NO_EXP_CONSTTIME and DH_FLAG_NO_EXP_CONSTTIME which previously provided the ability to switch off the constant time implementation for RSA, DSA and DH have been made no-ops and deprecated. Reviewed-by: Richard Levitte --- test/dhtest.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'test/dhtest.c') diff --git a/test/dhtest.c b/test/dhtest.c index c0551d5a3f..1dc395b44e 100644 --- a/test/dhtest.c +++ b/test/dhtest.c @@ -95,10 +95,6 @@ int main(int argc, char *argv[]) goto err; bp = bg = NULL; - /* Set a to run with normal modexp and b to use constant time */ - DH_clear_flags(a, DH_FLAG_NO_EXP_CONSTTIME); - DH_set_flags(b, DH_FLAG_NO_EXP_CONSTTIME); - if (!DH_generate_key(a)) goto err; DH_get0_key(a, &apub_key, &priv_key); -- cgit v1.2.3