commit | 763d9a302ab18da0a0078c9788ed6566d0c974e3 | [log] [tgz] |
---|---|---|
author | Salvatore Benedetto <salvatore.benedetto@intel.com> | Tue Apr 25 16:59:47 2017 +0100 |
committer | Marcel Holtmann <marcel@holtmann.org> | Sun Apr 30 12:22:05 2017 +0200 |
tree | ccc0213c60b3d08a9292493b27f6ad4a5cb25c1a | |
parent | 58771c1cb0023fdd744e76d6cad7716dc4f579ee [diff] |
Bluetooth: allocate data for kpp on heap Bluetooth would crash when computing ECDH keys with kpp if VMAP_STACK is enabled. Fix by allocating data passed to kpp on heap. Fixes: 58771c1c ("Bluetooth: convert smp and selftest to crypto kpp API") Signed-off-by: Salvatore Benedetto <salvatore.benedetto@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>