mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2025-01-16 00:13:23 +08:00
shared/crypto: Remove not needed memcpy
This commit is contained in:
parent
f11b5dbcfc
commit
f11e50810b
@ -279,7 +279,6 @@ bool bt_crypto_sign_att(struct bt_crypto *crypto, const uint8_t key[16],
|
||||
/* The most significant octet of key corresponds to key[0] */
|
||||
swap_buf(key, tmp, 16);
|
||||
|
||||
memcpy(signature, tmp + 4, 12);
|
||||
fd = alg_new(crypto->cmac_aes, tmp, 16);
|
||||
if (fd < 0)
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user