diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2019-11-05 17:01:04 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-12-11 11:36:59 +0300 |
commit | b877ad1a135c802d4529a72aa82faf46ef5db097 (patch) | |
tree | 0059418c5856ae710afd77d8ce4c2ed4711da237 /CREDITS | |
parent | 12adf9d63ec3af674f1e3145308a29daffb73887 (diff) | |
download | linux-b877ad1a135c802d4529a72aa82faf46ef5db097.tar.xz |
crypto: omap-aes-gcm - check length of assocdata in RFC4106 mode
RFC4106 requires the associated data to be a certain size, so reject
inputs that are wrong. This also prevents crashes or other problems due
to assoclen becoming negative after subtracting 8 bytes.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions