shared/crypto: Remove not needed memcpy

This commit is contained in:
Lukasz Rymanowski 2014-05-29 15:49:44 +02:00 committed by Johan Hedberg
parent f11b5dbcfc
commit f11e50810b

View File

@ -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;