diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-09-04 09:04:45 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-09-04 09:04:45 -0700 |
commit | b7a047f3bc596ac41a53b27b38eb7a7a5eb2d2b3 (patch) | |
tree | 5bc6c99bf53d43a7d2148e38c81ee00dc8fce6b4 /crypto/digest.c | |
parent | eb7e27d6e498a98be39897ff84f254bcabae4a74 (diff) | |
parent | 22e6191ca891ad8f54e18f74a0ec19c617f7b433 (diff) | |
download | linux-crypto-b7a047f3bc596ac41a53b27b38eb7a7a5eb2d2b3.tar.gz linux-crypto-b7a047f3bc596ac41a53b27b38eb7a7a5eb2d2b3.zip |
Merge branch 'x86/cpu' into x86/xsave
Conflicts:
arch/x86/kernel/cpu/feature_names.c
include/asm-x86/cpufeature.h
Diffstat (limited to '')
-rw-r--r-- | crypto/digest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/digest.c b/crypto/digest.c index ac091946..5d3f1303 100644 --- a/crypto/digest.c +++ b/crypto/digest.c @@ -225,7 +225,7 @@ int crypto_init_digest_ops_async(struct crypto_tfm *tfm) struct ahash_tfm *crt = &tfm->crt_ahash; struct digest_alg *dalg = &tfm->__crt_alg->cra_digest; - if (dalg->dia_digestsize > crypto_tfm_alg_blocksize(tfm)) + if (dalg->dia_digestsize > PAGE_SIZE / 8) return -EINVAL; crt->init = digest_async_init; |