]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: Fix IV handling bug in des_sparc64_cbc_decrypt
authorDavid S. Miller <davem@davemloft.net>
Tue, 18 Sep 2012 02:57:30 +0000 (19:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Sep 2012 02:57:30 +0000 (19:57 -0700)
commitaf8f0fcda80b0998aca8c566aa13d4bdc5e06273
tree5d306f655f45fd37c48761ab5aa7f0e02c8a5e22
parent491d1e19c1222b2fa35a53d27077f56ce7721e78
sparc64: Fix IV handling bug in des_sparc64_cbc_decrypt

The IV wasn't being propagated properly past the first loop
iteration.

This bug lived only because the crypto layer tests for
cbc(des) do not have any cases that go more than one loop.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/crypto/des_asm.S