]> granicus.if.org Git - openssl/commit
Reorganise ECC code so it can use FIPS module.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 6 Jun 2011 12:54:51 +0000 (12:54 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 6 Jun 2011 12:54:51 +0000 (12:54 +0000)
commit69e2ec63c54e95794ecc76b9cce718ee4a041e8a
treef10c4b7b3c64c8ef4d55f038f12725bb143201a4
parentf610a516a0e1236e21b385c4719c97403fde4a98
Reorganise ECC code so it can use 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.

Backport from HEAD with minor changes.
crypto/ec/Makefile
crypto/ec/ec2_oct.c [new file with mode: 0644]
crypto/ec/ec2_smpl.c
crypto/ec/ec_lcl.h
crypto/ec/ec_lib.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