projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d6f75e
)
crypto: geode-aes - Fix cip/blk confusion
author
Roel Kluin
<roel.kluin@gmail.com>
Thu, 4 Feb 2010 00:39:13 +0000
(11:39 +1100)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 4 Feb 2010 00:39:13 +0000
(11:39 +1100)
a crypto_cipher cip member was set where a crypto_cipher blk members
should have been.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/geode-aes.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/crypto/geode-aes.c
b/drivers/crypto/geode-aes.c
index 03e71b1a5128dd63a4171680244e72cb2727aa79..c7a5a43ba6919bf133b3fe3ea26be9097f4479fe 100644
(file)
--- a/
drivers/crypto/geode-aes.c
+++ b/
drivers/crypto/geode-aes.c
@@
-141,7
+141,7
@@
static int geode_setkey_cip(struct crypto_tfm *tfm, const u8 *key,
ret = crypto_cipher_setkey(op->fallback.cip, key, len);
if (ret) {
tfm->crt_flags &= ~CRYPTO_TFM_RES_MASK;
- tfm->crt_flags |= (op->fallback.
blk
->base.crt_flags & CRYPTO_TFM_RES_MASK);
+ tfm->crt_flags |= (op->fallback.
cip
->base.crt_flags & CRYPTO_TFM_RES_MASK);
}
return ret;
}
This page took
0.030655 seconds
and
5
git commands to generate.