git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a5b951
)
crypto: picoxcell - Clamp AEAD SG list by input length
author
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 11 Jun 2015 03:28:34 +0000
(11:28 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 12 Jun 2015 14:45:09 +0000
(22:45 +0800)
Currently the driver assumes that the SG list contains exactly
the number of bytes required. This assumption is incorrect.
Up until now this has been harmless. However with the new AEAD
interface this now breaks as the AD SG list contains more bytes
than just the AD.
This patch fixes this by always clamping the AD SG list by the
specified AD length.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/picoxcell_crypto.c
patch
|
blob
|
history
diff --cc
drivers/crypto/picoxcell_crypto.c
Simple merge