Home
last modified time | relevance | path

Searched refs:pkin (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/drivers/crypto/fsl/
Dfsl_rsa.c22 struct pk_in_params pkin; in fsl_mod_exp() local
29 pkin.a = sig; in fsl_mod_exp()
30 pkin.a_siz = sig_len; in fsl_mod_exp()
31 pkin.n = prop->modulus; in fsl_mod_exp()
32 pkin.n_siz = keylen; in fsl_mod_exp()
33 pkin.e = prop->public_exponent; in fsl_mod_exp()
34 pkin.e_siz = prop->exp_len; in fsl_mod_exp()
36 inline_cnstr_jobdesc_pkha_rsaexp(desc, &pkin, out, sig_len); in fsl_mod_exp()
Djobdesc.c289 struct pk_in_params *pkin, uint8_t *out, in inline_cnstr_jobdesc_pkha_rsaexp() argument
294 dma_addr_e = virt_to_phys((void *)pkin->e); in inline_cnstr_jobdesc_pkha_rsaexp()
295 dma_addr_a = virt_to_phys((void *)pkin->a); in inline_cnstr_jobdesc_pkha_rsaexp()
296 dma_addr_n = virt_to_phys((void *)pkin->n); in inline_cnstr_jobdesc_pkha_rsaexp()
300 append_key(desc, dma_addr_e, pkin->e_siz, KEY_DEST_PKHA_E | CLASS_1); in inline_cnstr_jobdesc_pkha_rsaexp()
303 pkin->a_siz, LDST_CLASS_1_CCB | FIFOLD_TYPE_PK_A); in inline_cnstr_jobdesc_pkha_rsaexp()
306 pkin->n_siz, LDST_CLASS_1_CCB | FIFOLD_TYPE_PK_N); in inline_cnstr_jobdesc_pkha_rsaexp()
Djobdesc.h45 struct pk_in_params *pkin, uint8_t *out,