]> Git Repo - linux.git/commit - crypto/Makefile
crypto: ecdh - add privkey generation support
authorTudor-Dan Ambarus <[email protected]>
Tue, 30 May 2017 14:52:48 +0000 (17:52 +0300)
committerHerbert Xu <[email protected]>
Sat, 10 Jun 2017 04:04:35 +0000 (12:04 +0800)
commit6755fd269d5c100b0eca420db501ae58435efd6e
tree647d5f929f4ebb6a50eae63afc645cae32fa9f4a
parentf2663872f073c874495b793721a47cc7f30eaec7
crypto: ecdh - add privkey generation support

Add support for generating ecc private keys.

Generation of ecc private keys is helpful in a user-space to kernel
ecdh offload because the keys are not revealed to user-space. Private
key generation is also helpful to implement forward secrecy.

If the user provides a NULL ecc private key, the kernel will generate it
and further use it for ecdh.

Move ecdh's object files below drbg's. drbg must be present in the kernel
at the time of calling.

Signed-off-by: Tudor Ambarus <[email protected]>
Reviewed-by: Stephan Müller <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
crypto/Kconfig
crypto/Makefile
crypto/ecc.c
crypto/ecc.h
crypto/ecdh.c
This page took 0.067588 seconds and 4 git commands to generate.