]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: ccree - add function to handle cryptocell tee fips error
authorOfir Drang <ofir.drang@arm.com>
Thu, 18 Apr 2019 13:39:09 +0000 (16:39 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 May 2019 05:37:40 +0000 (07:37 +0200)
commit4fb3d87ee7b7d82498fa05d46b8cd6a4a9bf8fe1
tree6e4aa8c32e495ab01af38b0b8b46b4503b75f852
parent65f5c14a60118e97bbd8fc1f78232c6ceb0efd63
crypto: ccree - add function to handle cryptocell tee fips error

commit 897ab2316910a66bb048f1c9cefa25e6a592dcd7 upstream.

Adds function that checks if cryptocell tee fips error occurred
and in such case triggers system error through kernel panic.
Change fips function to use this new routine.

Signed-off-by: Ofir Drang <ofir.drang@arm.com>
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Cc: stable@vger.kernel.org # v4.19+
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/ccree/cc_fips.c
drivers/crypto/ccree/cc_fips.h