diff options
Diffstat (limited to 'src/lib/libcrypto/ec/ecp_mont.c')
| -rw-r--r-- | src/lib/libcrypto/ec/ecp_mont.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/libcrypto/ec/ecp_mont.c b/src/lib/libcrypto/ec/ecp_mont.c index f04f132c7a..cee0fee12a 100644 --- a/src/lib/libcrypto/ec/ecp_mont.c +++ b/src/lib/libcrypto/ec/ecp_mont.c | |||
| @@ -63,18 +63,11 @@ | |||
| 63 | 63 | ||
| 64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
| 65 | 65 | ||
| 66 | #ifdef OPENSSL_FIPS | ||
| 67 | #include <openssl/fips.h> | ||
| 68 | #endif | ||
| 69 | |||
| 70 | #include "ec_lcl.h" | 66 | #include "ec_lcl.h" |
| 71 | 67 | ||
| 72 | 68 | ||
| 73 | const EC_METHOD *EC_GFp_mont_method(void) | 69 | const EC_METHOD *EC_GFp_mont_method(void) |
| 74 | { | 70 | { |
| 75 | #ifdef OPENSSL_FIPS | ||
| 76 | return fips_ec_gfp_mont_method(); | ||
| 77 | #else | ||
| 78 | static const EC_METHOD ret = { | 71 | static const EC_METHOD ret = { |
| 79 | EC_FLAGS_DEFAULT_OCT, | 72 | EC_FLAGS_DEFAULT_OCT, |
| 80 | NID_X9_62_prime_field, | 73 | NID_X9_62_prime_field, |
| @@ -115,7 +108,6 @@ const EC_METHOD *EC_GFp_mont_method(void) | |||
| 115 | ec_GFp_mont_field_set_to_one }; | 108 | ec_GFp_mont_field_set_to_one }; |
| 116 | 109 | ||
| 117 | return &ret; | 110 | return &ret; |
| 118 | #endif | ||
| 119 | } | 111 | } |
| 120 | 112 | ||
| 121 | 113 | ||
