1
0
Fork 0
forked from len0rd/rockbox

imxtools: fix bug aes128 (did not update cbc-macp)

Although this does bug is never triggered because we never decrypt and use the
resulting CBC-MAC, it's a major overlook.

Change-Id: I3c5d318e6428d528483bf888ea284e9ded3889f0
This commit is contained in:
Amaury Pouly 2014-08-31 14:21:24 +02:00
parent b772782ce5
commit 985f6e6935

View file

@ -280,5 +280,7 @@ void cbc_mac(
/* copy cipher to iv */
memcpy(feedback, &in_data[i * 16], 16);
}
if(out_cbc_mac)
memcpy(out_cbc_mac, feedback, 16);
}
}