RFC let the crypto subsystem generate the ecc privkey
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest0 of 2 patches 1 replyIn review
Patches in v1 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/2] let the crypto subsystem generate the ecc privkey
That Bluetooth SMP knows about the private key is pointless, since the detection of debug key usage is actually via the public key portion. With this patch set, the Bluetooth SMP will stop keeping a copy of the ecdh private key, except when using debug keys. This way we let the crypto subsystem to generate and handle the ecdh private key, potentially benefiting of hardware ecc private key generation and retention.
Tested with selftest and with btmon and smp-tester on top of hci_vhci, with ecdh done in both software and hardware (through atmel-ecc driver). All tests passed.
Tudor Ambarus (2):
Bluetooth: move ecdh allocation outside of ecdh_helper
Bluetooth: let the crypto subsystem generate the ecc privkey
net/bluetooth/ecdh_helper.c | 138 ++++++++++++++++++-------------------------- net/bluetooth/ecdh_helper.h | 8 ++- net/bluetooth/selftest.c | 29 +++++++--- net/bluetooth/smp.c | 120 ++++++++++++++++++++++++-------------- 4 files changed, 159 insertions(+), 136 deletions(-)
Signature · 1 line
2.9.4