summaryrefslogtreecommitdiffstats
path: root/crypto/ec/ec_mult.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-02-14 16:52:12 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-02-14 16:52:12 +0000
commit84b08eee4b37c6594e43568f637d3aacbfd6105a (patch)
tree9b1a6b901e906516f2a1378e154575f21591d1bf /crypto/ec/ec_mult.c
parentbf2546f94762f6579ff40f71d6f333adbf72ffc4 (diff)
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/ec_mult.c')
-rw-r--r--crypto/ec/ec_mult.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/ec/ec_mult.c b/crypto/ec/ec_mult.c
index 19f21675fb..fb693c328d 100644
--- a/crypto/ec/ec_mult.c
+++ b/crypto/ec/ec_mult.c
@@ -61,6 +61,8 @@
* and contributed to the OpenSSL project.
*/
+#define OPENSSL_FIPSAPI
+
#include <string.h>
#include <openssl/err.h>