Lines Matching refs:desc
14 void init_rsa_pub_desc(u32 *desc, struct rsa_pub_pdb *pdb) in init_rsa_pub_desc() argument
16 init_job_desc_pdb(desc, 0, SIZEOF_RSA_PUB_PDB); in init_rsa_pub_desc()
17 append_cmd(desc, pdb->sgf); in init_rsa_pub_desc()
18 append_ptr(desc, pdb->f_dma); in init_rsa_pub_desc()
19 append_ptr(desc, pdb->g_dma); in init_rsa_pub_desc()
20 append_ptr(desc, pdb->n_dma); in init_rsa_pub_desc()
21 append_ptr(desc, pdb->e_dma); in init_rsa_pub_desc()
22 append_cmd(desc, pdb->f_len); in init_rsa_pub_desc()
23 append_operation(desc, OP_TYPE_UNI_PROTOCOL | OP_PCLID_RSAENC_PUBKEY); in init_rsa_pub_desc()
27 void init_rsa_priv_f1_desc(u32 *desc, struct rsa_priv_f1_pdb *pdb) in init_rsa_priv_f1_desc() argument
29 init_job_desc_pdb(desc, 0, SIZEOF_RSA_PRIV_F1_PDB); in init_rsa_priv_f1_desc()
30 append_cmd(desc, pdb->sgf); in init_rsa_priv_f1_desc()
31 append_ptr(desc, pdb->g_dma); in init_rsa_priv_f1_desc()
32 append_ptr(desc, pdb->f_dma); in init_rsa_priv_f1_desc()
33 append_ptr(desc, pdb->n_dma); in init_rsa_priv_f1_desc()
34 append_ptr(desc, pdb->d_dma); in init_rsa_priv_f1_desc()
35 append_operation(desc, OP_TYPE_UNI_PROTOCOL | OP_PCLID_RSADEC_PRVKEY | in init_rsa_priv_f1_desc()
40 void init_rsa_priv_f2_desc(u32 *desc, struct rsa_priv_f2_pdb *pdb) in init_rsa_priv_f2_desc() argument
42 init_job_desc_pdb(desc, 0, SIZEOF_RSA_PRIV_F2_PDB); in init_rsa_priv_f2_desc()
43 append_cmd(desc, pdb->sgf); in init_rsa_priv_f2_desc()
44 append_ptr(desc, pdb->g_dma); in init_rsa_priv_f2_desc()
45 append_ptr(desc, pdb->f_dma); in init_rsa_priv_f2_desc()
46 append_ptr(desc, pdb->d_dma); in init_rsa_priv_f2_desc()
47 append_ptr(desc, pdb->p_dma); in init_rsa_priv_f2_desc()
48 append_ptr(desc, pdb->q_dma); in init_rsa_priv_f2_desc()
49 append_ptr(desc, pdb->tmp1_dma); in init_rsa_priv_f2_desc()
50 append_ptr(desc, pdb->tmp2_dma); in init_rsa_priv_f2_desc()
51 append_cmd(desc, pdb->p_q_len); in init_rsa_priv_f2_desc()
52 append_operation(desc, OP_TYPE_UNI_PROTOCOL | OP_PCLID_RSADEC_PRVKEY | in init_rsa_priv_f2_desc()
57 void init_rsa_priv_f3_desc(u32 *desc, struct rsa_priv_f3_pdb *pdb) in init_rsa_priv_f3_desc() argument
59 init_job_desc_pdb(desc, 0, SIZEOF_RSA_PRIV_F3_PDB); in init_rsa_priv_f3_desc()
60 append_cmd(desc, pdb->sgf); in init_rsa_priv_f3_desc()
61 append_ptr(desc, pdb->g_dma); in init_rsa_priv_f3_desc()
62 append_ptr(desc, pdb->f_dma); in init_rsa_priv_f3_desc()
63 append_ptr(desc, pdb->c_dma); in init_rsa_priv_f3_desc()
64 append_ptr(desc, pdb->p_dma); in init_rsa_priv_f3_desc()
65 append_ptr(desc, pdb->q_dma); in init_rsa_priv_f3_desc()
66 append_ptr(desc, pdb->dp_dma); in init_rsa_priv_f3_desc()
67 append_ptr(desc, pdb->dq_dma); in init_rsa_priv_f3_desc()
68 append_ptr(desc, pdb->tmp1_dma); in init_rsa_priv_f3_desc()
69 append_ptr(desc, pdb->tmp2_dma); in init_rsa_priv_f3_desc()
70 append_cmd(desc, pdb->p_q_len); in init_rsa_priv_f3_desc()
71 append_operation(desc, OP_TYPE_UNI_PROTOCOL | OP_PCLID_RSADEC_PRVKEY | in init_rsa_priv_f3_desc()