crypto: ecdh - Add ECDH software support
authorSalvatore Benedetto <salvatore.benedetto@intel.com>
Wed, 22 Jun 2016 16:49:15 +0000 (17:49 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 Jun 2016 10:29:57 +0000 (18:29 +0800)
commit3c4b23901a0c766879dff680cd6bdab47bcdbbd2
tree3bcc903dce759f69193f4b9fa638f1383d7323d3
parent802c7f1c84e4b5a6ac78635878041023fc5831b1
crypto: ecdh - Add ECDH software support

* Implement ECDH under kpp API
 * Provide ECC software support for curve P-192 and
   P-256.
 * Add kpp test for ECDH with data generated by OpenSSL

Signed-off-by: Salvatore Benedetto <salvatore.benedetto@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig
crypto/Makefile
crypto/ecc.c [new file with mode: 0644]
crypto/ecc.h [new file with mode: 0644]
crypto/ecc_curve_defs.h [new file with mode: 0644]
crypto/ecdh.c [new file with mode: 0644]
crypto/ecdh_helper.c [new file with mode: 0644]
crypto/testmgr.c
crypto/testmgr.h
include/crypto/ecdh.h [new file with mode: 0644]
include/crypto/kpp.h