Re: [PATCH] crypto: omap-sham: fix digcnt register handling with export/import

2020-09-18 Thread Herbert Xu
On Mon, Sep 07, 2020 at 10:56:24AM +0300, Tero Kristo wrote: > Running export/import for hashes in peculiar order (mostly done by > openssl) can mess up the internal book keeping of the OMAP SHA core. > Fix by forcibly writing the correct DIGCNT back to hardware. This issue > was noticed while tran

[PATCH] crypto: omap-sham: fix digcnt register handling with export/import

2020-09-07 Thread Tero Kristo
Running export/import for hashes in peculiar order (mostly done by openssl) can mess up the internal book keeping of the OMAP SHA core. Fix by forcibly writing the correct DIGCNT back to hardware. This issue was noticed while transitioning to openssl 1.1 support. Fixes: 0d373d603202 ("crypto: omap