Add framework for bn_mul_mont [from 098-fips].
[openssl.git] / Configure
index 0a74446c33e8c4100957e4611d08ea47dd78b47e..bad6c93dd27485e79c0d559f2f2065a170d547b5 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1227,6 +1227,7 @@ $bn_obj = $bn_asm unless $bn_obj ne "";
 # bn86* is the only one implementing bn_*_part_words
 $cflags.=" -DOPENSSL_BN_ASM_PART_WORDS" if ($bn_obj =~ /bn86/);
 $cflags.=" -DOPENSSL_IA32_SSE2" if (!$no_sse2 && $bn_obj =~ /bn86/);
+$cflags.=" -DOPENSSL_BN_ASM_MONT" if ($bn_obj =~ /\-mont|mo86\-/);
 
 $des_obj=$des_enc      unless ($des_obj =~ /\.o$/);
 $bf_obj=$bf_enc                unless ($bf_obj =~ /\.o$/);