summaryrefslogtreecommitdiff
path: root/drivers/crypto/fsl/jobdesc.h
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2020-06-27 22:58:52 +0200
committerPriyanka Jain <priyanka.jain@nxp.com>2020-07-27 14:16:29 +0530
commitb980f9e2597b52ce71247e79d534349f7d174b38 (patch)
tree87db229d42e28fd2e81472fd05212f5760bfa39f /drivers/crypto/fsl/jobdesc.h
parentc269a970f23fabbb0d35708ff021bf2962780f9f (diff)
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);