]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: ccree: fix hash import/export
authorGilad Ben-Yossef <gilad@benyossef.com>
Sun, 25 Jun 2017 07:47:19 +0000 (10:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jun 2017 14:29:14 +0000 (16:29 +0200)
commit454527d0d94f49f96d893e6aa6d6df1b90f2a45f
tree5b4af3908b2116da850d0f7b5ed87c43dfff4e62
parent18cd9021ea035db85519391dbc429a5b1d0dd25b
staging: ccree: fix hash import/export

Hash import and export was saving and restoring the wrong context
and therefore disabled. Fix it by restoring intermediate digest
and additional state needed.

The hash and mac transform now pass testmgr partial hash tests.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/ssi_hash.c
drivers/staging/ccree/ssi_hash.h