Skip to content
Commit 47eb2ac8 authored by Tudor Ambarus's avatar Tudor Ambarus Committed by Marcel Holtmann
Browse files

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: default avatarTudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 24a3a32a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment