Hi Herb, the following patchset introduces a new API for abstracting key-agreement protocols such as DH and ECDH. It provides the primitives required for implementing the protocol, thus the name KPP (Key-agreement Protocol Primitives). Regards, Salvatore Changes from v1: * Change check in dh_check_params_length based on Stephan review Salvatore Benedetto (2): crypto: Key-agreement Protocol Primitives API (KPP) crypto: kpp - Add DH software implementation crypto/Kconfig | 18 +++ crypto/Makefile | 3 + crypto/crypto_user.c | 20 +++ crypto/dh.c | 224 +++++++++++++++++++++++++++ crypto/kpp.c | 123 +++++++++++++++ crypto/testmgr.c | 157 +++++++++++++++++++ crypto/testmgr.h | 208 +++++++++++++++++++++++++ include/crypto/dh.h | 23 +++ include/crypto/internal/kpp.h | 64 ++++++++ include/crypto/kpp.h | 333 ++++++++++++++++++++++++++++++++++++++++ include/linux/crypto.h | 1 + include/uapi/linux/cryptouser.h | 5 + 12 files changed, 1179 insertions(+) create mode 100644 crypto/dh.c create mode 100644 crypto/kpp.c create mode 100644 include/crypto/dh.h create mode 100644 include/crypto/internal/kpp.h create mode 100644 include/crypto/kpp.h -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html