commit | 201a5929c8c788f9ef53b010065c9ce70c9c06f0 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Mon Dec 02 10:49:04 2013 +0200 |
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | Wed Dec 04 11:09:05 2013 -0200 |
tree | 94909a7924645c50f37e6ceba9ea1234f93b7d90 | |
parent | e84a6b139bdd3af2914f194ff840b1a36fa55598 [diff] |
Bluetooth: Remove dead code from SMP encryption function The AES cipher is used in ECB mode by SMP and therefore doesn't use an IV (crypto_blkcipher_ivsize returns 0) so the code trying to set the IV was never getting called. Simply remove this code to avoid anyone from thinking it actually makes some difference. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>