summaryrefslogtreecommitdiffstats
path: root/crypto/api.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2005-07-06 13:54:09 -0700
committerDavid S. Miller <davem@davemloft.net>2005-07-06 13:54:09 -0700
commit476df259cd577e20379b02a7f7ffd086ea925a83 (patch)
tree85697704c53e0905d1b83a4ec3525cf20ca53455 /crypto/api.c
parent915e8561d559abba1b81934e31e54a3f850fa7bf (diff)
downloadlinux-476df259cd577e20379b02a7f7ffd086ea925a83.tar.bz2
[CRYPTO] Update IV correctly for Padlock CBC encryption
When the Padlock does CBC encryption, the memory pointed to by EAX is not updated at all. Instead, it updates the value of EAX by pointing it to the last block in the output. Therefore to maintain the correct semantics we need to copy the IV. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions