From: Andy Polyakov Date: Mon, 12 Nov 2018 14:13:48 +0000 (+0100) Subject: Configure: recognize div3w modules and add -DBN_DIV3W. X-Git-Tag: openssl-3.0.0-alpha1~2847 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=31703da3b8e743c07a9fdb6025aa526594c2a319;p=oweals%2Fopenssl.git Configure: recognize div3w modules and add -DBN_DIV3W. Reviewed-by: Paul Dale Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/7589) --- diff --git a/Configure b/Configure index cc061dc5e7..65bbec1f31 100755 --- a/Configure +++ b/Configure @@ -1354,6 +1354,7 @@ unless ($disabled{asm}) { push @{$config{lib_defines}}, "OPENSSL_BN_ASM_MONT" if ($target{bn_asm_src} =~ /-mont/); push @{$config{lib_defines}}, "OPENSSL_BN_ASM_MONT5" if ($target{bn_asm_src} =~ /-mont5/); push @{$config{lib_defines}}, "OPENSSL_BN_ASM_GF2m" if ($target{bn_asm_src} =~ /-gf2m/); + push @{$config{lib_defines}}, "BN_DIV3W" if ($target{bn_asm_src} =~ /-div3w/); if ($target{sha1_asm_src}) { push @{$config{lib_defines}}, "SHA1_ASM" if ($target{sha1_asm_src} =~ /sx86/ || $target{sha1_asm_src} =~ /sha1/);