diff options
author | Cyrille Pitchen <cyrille.pitchen@atmel.com> | 2015-12-17 17:13:05 (GMT) |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-12-23 10:19:57 (GMT) |
commit | fcac83656a3e3b15e7a16b4a64ee5067eecec446 (patch) | |
tree | d6cb08952fd2f4199960f22350f7b34969048504 /net/mac80211/ht.c | |
parent | da7b850edb68ab6e3e3cc8593c6ce2c577b6b61c (diff) | |
download | linux-fcac83656a3e3b15e7a16b4a64ee5067eecec446.tar.xz |
crypto: atmel-aes - fix the counter overflow in CTR mode
Depending on its hardware version, the AES IP provides either a 16 or a
32 bit counter. However the CTR mode expects the size of the counter to be
the same as the size of the cipher block, ie 128 bits for AES.
This patch detects and handles counter overflows.
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/mac80211/ht.c')
0 files changed, 0 insertions, 0 deletions