crypto: ccp - Cleanup hash invocation calls
authorTom Lendacky <thomas.lendacky@amd.com>
Mon, 6 Jan 2014 19:34:23 +0000 (13:34 -0600)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 15 Jan 2014 03:33:40 +0000 (11:33 +0800)
commit82d1585b9a9d5106ec6a630696f3e2e532fc3cba
tree7d9afd48c678884bb88f98168098ea53aee57936
parent81a59f000e1d4a60a03081a1fc64aee46d6f0c3e
crypto: ccp - Cleanup hash invocation calls

Cleanup the ahash digest invocations to check the init
return code and make use of the finup routine.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-crypto-aes-cmac.c
drivers/crypto/ccp/ccp-crypto-sha.c