projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac4385d
)
crypto: blowfish-x86_64 - fix ctr blocksize to 1
author
Jussi Kivilinna
<jussi.kivilinna@mbnet.fi>
Mon, 10 Oct 2011 09:32:15 +0000
(12:32 +0300)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 21 Oct 2011 12:28:57 +0000
(14:28 +0200)
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/blowfish_glue.c
patch
|
blob
|
history
diff --git
a/arch/x86/crypto/blowfish_glue.c
b/arch/x86/crypto/blowfish_glue.c
index 2568a7b71630297c78f1f928d184cfa944be1d71..b05aa163d55a304c224f4b79dfd40a408fc305c6 100644
(file)
--- a/
arch/x86/crypto/blowfish_glue.c
+++ b/
arch/x86/crypto/blowfish_glue.c
@@
-428,7
+428,7
@@
static struct crypto_alg blk_ctr_alg = {
.cra_driver_name = "ctr-blowfish-asm",
.cra_priority = 300,
.cra_flags = CRYPTO_ALG_TYPE_BLKCIPHER,
- .cra_blocksize =
BF_BLOCK_SIZE
,
+ .cra_blocksize =
1
,
.cra_ctxsize = sizeof(struct bf_ctx),
.cra_alignmask = 0,
.cra_type = &crypto_blkcipher_type,