]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: picoxcell - fix boolean and / or confusion
authorJamie Iles <jamie@jamieiles.com>
Tue, 13 Dec 2011 09:54:06 +0000 (09:54 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Dec 2011 07:20:05 +0000 (15:20 +0800)
commit9aaece3adca122962a2f3fc6ca0f63d6b05d71d8
tree2dcb1dfedfd642ff03da7e1f1afc43baaebc80e1
parent06bcad73500c27051f546ee3af5caea8564d1476
crypto: picoxcell - fix boolean and / or confusion

The AES engine only supports 128 and 256 bit keys so we should correctly
test for that.

Cc: Herbert Xu <herbert@gondor.apana.org.au>
Reported-by: Joe Perches <joe@perches.com>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/picoxcell_crypto.c