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/ec/ec2_mult.c | |
parent | afb4191304f1fd67569be10f04abf57064cbb197 (diff) | |
download | openssl-b3310161249a848a5243952467a1f3927ad78bfa.tar.gz |
New option to disable characteristic two fields in EC code.
Diffstat (limited to 'crypto/ec/ec2_mult.c')
-rw-r--r-- | crypto/ec/ec2_mult.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/ec/ec2_mult.c b/crypto/ec/ec2_mult.c index e12b9b284a..26f4a783fc 100644 --- a/crypto/ec/ec2_mult.c +++ b/crypto/ec/ec2_mult.c @@ -71,6 +71,8 @@ #include "ec_lcl.h" +#ifndef OPENSSL_NO_EC2M + /* Compute the x-coordinate x/z for the point 2*(x/z) in Montgomery projective * coordinates. @@ -384,3 +386,5 @@ int ec_GF2m_have_precompute_mult(const EC_GROUP *group) { return ec_wNAF_have_precompute_mult(group); } + +#endif |