diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2017-04-30 06:51:41 -0700 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2017-04-30 16:52:43 +0300 |
commit | 71653eb64bcca6110c42aadfd50b8d54d3a88079 (patch) | |
tree | b74aeafc0a4d4d68129c01a037ef58f5b8563603 /mm/usercopy.c | |
parent | f958315358bc37aede49dc3cd7e27e037994ae84 (diff) |
Bluetooth: Add selftest for ECDH key generation
Since the ECDH key generation takes a different path, it needs to be
tested as well. For this generate the public debug key from the private
debug key and compare both.
This also moves the seeding of the private key into the SMP calling code
to allow for easier re-use of the ECDH key generation helper.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'mm/usercopy.c')
0 files changed, 0 insertions, 0 deletions