diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-07-06 13:54:09 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-07-06 13:54:09 -0700 |
commit | 476df259cd577e20379b02a7f7ffd086ea925a83 (patch) | |
tree | 85697704c53e0905d1b83a4ec3525cf20ca53455 /crypto | |
parent | 915e8561d559abba1b81934e31e54a3f850fa7bf (diff) | |
download | linux-476df259cd577e20379b02a7f7ffd086ea925a83.tar.gz linux-476df259cd577e20379b02a7f7ffd086ea925a83.tar.bz2 linux-476df259cd577e20379b02a7f7ffd086ea925a83.zip |
[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')
0 files changed, 0 insertions, 0 deletions