crypto/bn/asm/rsax-x86_64.pl: make it work on Darwin.
[openssl.git] / crypto / bn / bn_lib.c
index e7dea71911c45f0cccd60e847baef6a8804f0c70..f77fdb75fd9a075b625c0b39677f3342525a21c2 100644 (file)
@@ -69,6 +69,7 @@
 #include "cryptlib.h"
 #include "bn_lcl.h"
 
+__fips_constseg
 const char BN_version[]="Big Number" OPENSSL_VERSION_PTEXT;
 
 /* This stuff appears to be completely unused, so is deprecated */
@@ -143,6 +144,7 @@ const BIGNUM *BN_value_one(void)
 
 int BN_num_bits_word(BN_ULONG l)
        {
+       __fips_constseg
        static const unsigned char bits[256]={
                0,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4,
                5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,