digests: add FIPS error state handling
authorPauli <paul.dale@oracle.com>
Mon, 7 Sep 2020 02:41:00 +0000 (12:41 +1000)
committerPauli <paul.dale@oracle.com>
Sat, 12 Sep 2020 06:46:20 +0000 (16:46 +1000)
commit1c1daab94cdec0a26139fd70e3382ab4a076531e
treef2e504beaef678eaf72b72c22b9e20875f058956
parent6cf37302677a87539fd017e3466813510ce51023
digests: add FIPS error state handling

Check for providering being runnable in init, final, newctx and dupctx.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12801)
providers/implementations/digests/sha3_prov.c
providers/implementations/include/prov/digestcommon.h