crypto: n2 - Use precalculated hash from headers
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Thu, 17 Dec 2015 12:45:40 +0000 (13:45 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 22 Dec 2015 12:43:37 +0000 (20:43 +0800)
commit8054b8005b9f5ae172dac79a49370bfcc027a0f5
treeb7e8156b1e940e2e53c8bb1d280887cbd6d52aac
parent0c4c78de0417ced1da92351a3013e631860ea576
crypto: n2 - Use precalculated hash from headers

Precalculated hash for empty message are now present in hash headers.
This patch just use them.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig
drivers/crypto/n2_core.c