Re: [PATCH] s390: crypto: replace raw value by their coresponding define

2015-10-15 Thread Herbert Xu
On Wed, Oct 14, 2015 at 09:11:00PM +0200, LABBE Corentin wrote: > SHA_MAX_STATE_SIZE is just the number of u32 word for SHA512. > So replace the raw value "16" by their meaning (SHA512_DIGEST_SIZE / 4) > > Signed-off-by: LABBE Corentin Applied. -- Email: Herbert Xu Home Page:

Re: [PATCH] s390: crypto: replace raw value by their coresponding define

2015-10-15 Thread Herbert Xu
On Wed, Oct 14, 2015 at 09:11:00PM +0200, LABBE Corentin wrote: > SHA_MAX_STATE_SIZE is just the number of u32 word for SHA512. > So replace the raw value "16" by their meaning (SHA512_DIGEST_SIZE / 4) > > Signed-off-by: LABBE Corentin Applied. -- Email: Herbert Xu

[PATCH] s390: crypto: replace raw value by their coresponding define

2015-10-14 Thread LABBE Corentin
SHA_MAX_STATE_SIZE is just the number of u32 word for SHA512. So replace the raw value "16" by their meaning (SHA512_DIGEST_SIZE / 4) Signed-off-by: LABBE Corentin --- arch/s390/crypto/sha.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/crypto/sha.h

[PATCH] s390: crypto: replace raw value by their coresponding define

2015-10-14 Thread LABBE Corentin
SHA_MAX_STATE_SIZE is just the number of u32 word for SHA512. So replace the raw value "16" by their meaning (SHA512_DIGEST_SIZE / 4) Signed-off-by: LABBE Corentin --- arch/s390/crypto/sha.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git