commit | 47eb2ac809189e0a60ad78eec6db9e84004e11be | [log] [tgz] |
---|---|---|
author | Tudor Ambarus <tudor.ambarus@microchip.com> | Thu Sep 28 17:14:51 2017 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Fri Oct 06 20:35:47 2017 +0200 |
tree | a1974722296d4b7e82ba70a181dbc3ac0a005708 | |
parent | 24a3a32a99ca9dcd8b2cdbaf5c99e6d99878cdb0 [diff] |
Bluetooth: move ecdh allocation outside of ecdh_helper Before this change, a new crypto tfm was allocated, each time, for both key generation and shared secret computation. Allocate a single tfm for both cases. Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>