diff options
author | Tudor-Dan Ambarus <tudor.ambarus@microchip.com> | 2017-05-30 16:52:48 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-06-10 06:04:35 +0200 |
commit | 6755fd269d5c100b0eca420db501ae58435efd6e (patch) | |
tree | 647d5f929f4ebb6a50eae63afc645cae32fa9f4a /firmware/ositech | |
parent | crypto: cavium - Register the CNN55XX supported crypto algorithms. (diff) | |
download | linux-6755fd269d5c100b0eca420db501ae58435efd6e.tar.xz linux-6755fd269d5c100b0eca420db501ae58435efd6e.zip |
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 <tudor.ambarus@microchip.com>
Reviewed-by: Stephan Müller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'firmware/ositech')
0 files changed, 0 insertions, 0 deletions