Reorganise ECC code for inclusion in FIPS module.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 14 Feb 2011 16:52:12 +0000 (16:52 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 14 Feb 2011 16:52:12 +0000 (16:52 +0000)
commit84b08eee4b37c6594e43568f637d3aacbfd6105a
tree9b1a6b901e906516f2a1378e154575f21591d1bf
parentbf2546f94762f6579ff40f71d6f333adbf72ffc4
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.
14 files changed:
crypto/ec/Makefile
crypto/ec/ec2_mult.c
crypto/ec/ec2_oct.c [new file with mode: 0644]
crypto/ec/ec2_smpl.c
crypto/ec/ec_curve.c
crypto/ec/ec_key.c
crypto/ec/ec_lcl.h
crypto/ec/ec_lib.c
crypto/ec/ec_mult.c
crypto/ec/ec_oct.c [new file with mode: 0644]
crypto/ec/ecp_mont.c
crypto/ec/ecp_nist.c
crypto/ec/ecp_oct.c [new file with mode: 0644]
crypto/ec/ecp_smpl.c