diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-02-12 17:23:32 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-02-12 17:23:32 +0000 |
commit | b3310161249a848a5243952467a1f3927ad78bfa (patch) | |
tree | effad6f46ee2d9e78d9b03807f0e4d97c70804b9 /crypto/bn/bn_gf2m.c | |
parent | afb4191304f1fd67569be10f04abf57064cbb197 (diff) |
New option to disable characteristic two fields in EC code.
Diffstat (limited to 'crypto/bn/bn_gf2m.c')
-rw-r--r-- | crypto/bn/bn_gf2m.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/bn/bn_gf2m.c b/crypto/bn/bn_gf2m.c index 527b0fa15b..3bf017feda 100644 --- a/crypto/bn/bn_gf2m.c +++ b/crypto/bn/bn_gf2m.c @@ -94,6 +94,8 @@ #include "cryptlib.h" #include "bn_lcl.h" +#ifndef OPENSSL_NO_EC2M + /* Maximum number of iterations before BN_GF2m_mod_solve_quad_arr should fail. */ #define MAX_ITERATIONS 50 @@ -1032,3 +1034,4 @@ int BN_GF2m_arr2poly(const int p[], BIGNUM *a) return 1; } +#endif |