summaryrefslogtreecommitdiff
path: root/drivers/crypto/bcm
diff options
context:
space:
mode:
authorIuliana Prodan <iuliana.prodan@nxp.com>2019-07-19 10:09:23 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2019-07-27 21:08:36 +1000
commitb93ecf4296742c36192621645f59e4a607263233 (patch)
tree0e74913b0366869b5b73ecbb0e8bbdf72b76a95e /drivers/crypto/bcm
parent6fc4dbcf0276279d488c5fbbfabe94734134f4fa (diff)
crypto: ccree - check assoclen for rfc4543
Check assoclen to solve the extra tests that expect -EINVAL to be returned when the associated data size is not valid. Validated assoclen for RFC4543 which expects an assoclen of 16 or 20, the same as RFC4106. Based on seqiv, IPsec ESP and RFC4543/RFC4106 the assoclen is sizeof IP Header (spi, seq_no, extended seq_no) and IV len. This can be 16 or 20 bytes. Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/bcm')
0 files changed, 0 insertions, 0 deletions