Home
last modified time | relevance | path

Searched refs:hashdata (Results 1 – 2 of 2) sorted by relevance

/optee_os-3.20.0/core/drivers/imx/dcp/
A Ddcp.c485 if (!hashdata) { in dcp_sha_do_init()
514 hashdata->initialized = true; in dcp_sha_do_init()
515 hashdata->ctx_size = 0; in dcp_sha_do_init()
535 if (!hashdata->initialized) { in dcp_sha_do_update()
557 memcpy(input.data, hashdata->ctx.data, hashdata->ctx_size); in dcp_sha_do_update()
559 hashdata->ctx_size = 0; in dcp_sha_do_update()
577 memcpy(hashdata->ctx.data + hashdata->ctx_size, data + offset, in dcp_sha_do_update()
592 if (!hashdata || !digest) in dcp_sha_do_final()
595 if (!hashdata->initialized) { in dcp_sha_do_final()
629 hashdata->ctx_size); in dcp_sha_do_final()
[all …]
/optee_os-3.20.0/core/include/drivers/imx/
A Ddcp.h158 TEE_Result dcp_sha_do_init(struct dcp_hash_data *hashdata);
167 TEE_Result dcp_sha_do_update(struct dcp_hash_data *hashdata,
177 TEE_Result dcp_sha_do_final(struct dcp_hash_data *hashdata, uint8_t *digest,

Completed in 4 milliseconds