]> git.baikalelectronics.ru Git - kernel.git/commit
IXP4xx: Fix ixp4xx_crypto little-endian operation.
authorKrzysztof Hałasa <khc@pm.waw.pl>
Sun, 10 Jan 2010 13:20:10 +0000 (14:20 +0100)
committerKrzysztof Hałasa <khc@pm.waw.pl>
Thu, 27 May 2010 11:02:42 +0000 (13:02 +0200)
commit6d6e59116d2b204fc64d0e2977741f7cffa99211
tree2cd70e246e45408454107e3d73658683331532f7
parent25c6dbcc1696ae8ca42b179e9d07f924c54490ee
IXP4xx: Fix ixp4xx_crypto little-endian operation.

Fixes the following on IXP425 little-endian:

NPE-C: firmware functionality 0x5, revision 0x2:1
alg: skcipher: Test 1 failed on encryption for ecb(des)-ixp4xx
00000000: 01 23 45 67 89 ab cd e7
alg: skcipher: Test 1 failed on encryption for ecb(des3_ede)-ixp4xx
00000000: 73 6f 6d 65 64 61 74 61
alg: skcipher: Test 1 failed on encryption for ecb(aes)-ixp4xx
00000000: 00 11 22 33 44 55 66 77 88 99 aa bb cc dd ee ff

Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Acked-by: Christian Hohnstaedt <chohnstaedt@innominate.com>
drivers/crypto/ixp4xx_crypto.c