Searched refs:jobdesc (Results 1 – 5 of 5) sorted by relevance
/trusted-firmware-a-3.7.0/drivers/nxp/crypto/caam/src/ |
D | rng.c | 101 struct job_descriptor *jobdesc = &desc; in instantiate_rng() local 103 jobdesc->arg = NULL; in instantiate_rng() 104 jobdesc->callback = rng_done; in instantiate_rng() 107 cnstr_rng_instantiate_jobdesc(jobdesc->desc); in instantiate_rng() 110 ret = run_descriptor_jr(jobdesc); in instantiate_rng() 134 struct job_descriptor *jobdesc = &desc; in hw_rng_generate() local 136 jobdesc->arg = NULL; in hw_rng_generate() 137 jobdesc->callback = rng_done; in hw_rng_generate() 145 ret = cnstr_rng_jobdesc(jobdesc->desc, state_handle, in hw_rng_generate() 153 ret = run_descriptor_jr(jobdesc); in hw_rng_generate()
|
D | hw_key_blob.c | 43 struct job_descriptor *jobdesc = &desc; in get_hw_unq_key_blob_hw() local 58 jobdesc->arg = NULL; in get_hw_unq_key_blob_hw() 59 jobdesc->callback = blob_done; in get_hw_unq_key_blob_hw() 64 ret = cnstr_hw_encap_blob_jobdesc(jobdesc->desc, key_data, key_sz, in get_hw_unq_key_blob_hw() 69 ret = run_descriptor_jr(jobdesc); in get_hw_unq_key_blob_hw()
|
D | caam.c | 237 int run_descriptor_jr(struct job_descriptor *jobdesc) in run_descriptor_jr() argument 240 uint32_t *desc_addr = jobdesc->desc; in run_descriptor_jr() 241 uint32_t desc_len = desc_length(jobdesc->desc); in run_descriptor_jr() 258 ret = enq_jr_desc(job_ring, jobdesc); in run_descriptor_jr()
|
/trusted-firmware-a-3.7.0/drivers/nxp/crypto/caam/src/auth/ |
D | hash.c | 118 struct job_descriptor jobdesc __aligned(CACHE_WRITEBACK_GRANULE); in hash_final() 120 jobdesc.arg = NULL; in hash_final() 121 jobdesc.callback = hash_done; in hash_final() 136 cnstr_hash_jobdesc(jobdesc.desc, (uint8_t *) ctx->sg_tbl, in hash_final() 148 ret = run_descriptor_jr(&jobdesc); in hash_final()
|
D | rsa.c | 42 struct job_descriptor jobdesc __aligned(CACHE_WRITEBACK_GRANULE); in rsa_public_verif_sec() 44 jobdesc.arg = NULL; in rsa_public_verif_sec() 45 jobdesc.callback = rsa_done; in rsa_public_verif_sec() 56 cnstr_jobdesc_pkha_rsaexp(jobdesc.desc, &ctx.pkin, to, klen); in rsa_public_verif_sec() 70 ret = run_descriptor_jr(&jobdesc); in rsa_public_verif_sec()
|