projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[CRYPTO]: Fix zero-extension bug on 64-bit architectures.
[powerpc.git]
/
crypto
/
internal.h
diff --git
a/crypto/internal.h
b/crypto/internal.h
index
6861287
..
37515be
100644
(file)
--- a/
crypto/internal.h
+++ b/
crypto/internal.h
@@
-75,7
+75,7
@@
static inline unsigned int crypto_cipher_ctxsize(struct crypto_alg *alg,
switch (flags & CRYPTO_TFM_MODE_MASK) {
case CRYPTO_TFM_MODE_CBC:
- len = ALIGN(len, alg->cra_alignmask + 1);
+ len = ALIGN(len,
(unsigned long)
alg->cra_alignmask + 1);
len += alg->cra_blocksize;
break;
}