summaryrefslogtreecommitdiff
path: root/drivers/crypto/fsl/jobdesc.h
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2020-06-27 23:58:52 +0300
committerPriyanka Jain <priyanka.jain@nxp.com>2020-07-27 11:46:29 +0300
commitb980f9e2597b52ce71247e79d534349f7d174b38 (patch)
tree87db229d42e28fd2e81472fd05212f5760bfa39f /drivers/crypto/fsl/jobdesc.h
parentc269a970f23fabbb0d35708ff021bf2962780f9f (diff)
downloadu-boot-b980f9e2597b52ce71247e79d534349f7d174b38.tar.xz
crypto/fsl: instantiate the RNG with prediciton resistance
If it is already instantiated tear it down first and then reinstanciate it again with prediction resistance. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'drivers/crypto/fsl/jobdesc.h')
-rw-r--r--drivers/crypto/fsl/jobdesc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/fsl/jobdesc.h b/drivers/crypto/fsl/jobdesc.h
index 14b2a119d7..5185ddd535 100644
--- a/drivers/crypto/fsl/jobdesc.h
+++ b/drivers/crypto/fsl/jobdesc.h
@@ -41,6 +41,8 @@ void inline_cnstr_jobdesc_blob_decap(uint32_t *desc, uint8_t *key_idnfr,
void inline_cnstr_jobdesc_rng_instantiation(u32 *desc, int handle, int do_sk);
+void inline_cnstr_jobdesc_rng_deinstantiation(u32 *desc, int handle);
+
void inline_cnstr_jobdesc_pkha_rsaexp(uint32_t *desc,
struct pk_in_params *pkin, uint8_t *out,
uint32_t out_siz);