diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-06-06 11:49:36 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-06-06 11:49:36 +0000 |
commit | f610a516a0e1236e21b385c4719c97403fde4a98 (patch) | |
tree | f009d59dfc838d98a359c0fad453dee1acfc2583 /crypto/bn/bn_gf2m.c | |
parent | 2e51a4caa3bff0ff59f87f7423ba0551593ef48e (diff) | |
download | openssl-new-f610a516a0e1236e21b385c4719c97403fde4a98.tar.gz |
Backport from HEAD:
New option to disable characteristic two fields in EC code.
Make no-ec2m work on Win32 build.
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 |