diff options
| author | Ard Biesheuvel <ardb@kernel.org> | 2019-11-05 16:01:04 +0200 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-12-11 16:36:59 +0800 |
| commit | b877ad1a135c802d4529a72aa82faf46ef5db097 (patch) | |
| tree | 0059418c5856ae710afd77d8ce4c2ed4711da237 /include/linux/debugobjects.h | |
| parent | 12adf9d63ec3af674f1e3145308a29daffb73887 (diff) | |
| download | cachepc-linux-b877ad1a135c802d4529a72aa82faf46ef5db097.tar.gz cachepc-linux-b877ad1a135c802d4529a72aa82faf46ef5db097.zip | |
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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
