summaryrefslogtreecommitdiffstats
path: root/crypto/ec/ec2_mult.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-02-14 17:52:12 +0100
committerDr. Stephen Henson <steve@openssl.org>2011-02-14 17:52:12 +0100
commit84b08eee4b37c6594e43568f637d3aacbfd6105a (patch)
tree9b1a6b901e906516f2a1378e154575f21591d1bf /crypto/ec/ec2_mult.c
parentUse BN_nist_mod_func to avoid need to peek error queue. (diff)
downloadopenssl-84b08eee4b37c6594e43568f637d3aacbfd6105a.tar.xz
openssl-84b08eee4b37c6594e43568f637d3aacbfd6105a.zip
Reorganise ECC code for inclusion in FIPS module.
Move compression, point2oct and oct2point functions into separate files. Add a flags field to EC_METHOD. Add a flag EC_FLAGS_DEFAULT_OCT to use the default compession and oct functions (all existing methods do this). This removes dependencies from EC_METHOD while keeping original functionality.
Diffstat (limited to 'crypto/ec/ec2_mult.c')
-rw-r--r--crypto/ec/ec2_mult.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/ec/ec2_mult.c b/crypto/ec/ec2_mult.c
index 26f4a783fc..f41665ac10 100644
--- a/crypto/ec/ec2_mult.c
+++ b/crypto/ec/ec2_mult.c
@@ -67,6 +67,8 @@
*
*/
+#define OPENSSL_FIPSAPI
+
#include <openssl/err.h>
#include "ec_lcl.h"