Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76005
b: refs/heads/master
c: 94765b9
h: refs/heads/master
i:
  76003: b1d61c2
v: v3
  • Loading branch information
Herbert Xu committed Jan 10, 2008
1 parent 4b60dd6 commit f652f73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1b87887d6c232becba77835b29a424cf78442b7d
refs/heads/master: 94765b9e4cba8e3c51c292338db16aa174894d30
5 changes: 1 addition & 4 deletions trunk/crypto/xcbc.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,10 +321,7 @@ static struct crypto_instance *xcbc_alloc(struct rtattr **tb)
inst->alg.cra_alignmask = alg->cra_alignmask;
inst->alg.cra_type = &crypto_hash_type;

inst->alg.cra_hash.digestsize =
(alg->cra_flags & CRYPTO_ALG_TYPE_MASK) ==
CRYPTO_ALG_TYPE_HASH ? alg->cra_hash.digestsize :
alg->cra_blocksize;
inst->alg.cra_hash.digestsize = alg->cra_blocksize;
inst->alg.cra_ctxsize = sizeof(struct crypto_xcbc_ctx) +
ALIGN(inst->alg.cra_blocksize * 3, sizeof(void *));
inst->alg.cra_init = xcbc_init_tfm;
Expand Down

0 comments on commit f652f73

Please sign in to comment.