Home
last modified time | relevance | path

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

/components/drivers/hwcrypto/
A Dhw_hash.c27 ctx = rt_hwcrypto_ctx_create(device, type, sizeof(struct hwcrypto_hash)); in rt_hwcrypto_hash_create()
52 if (ctx && ((struct hwcrypto_hash *)ctx)->ops->finish) in rt_hwcrypto_hash_finish()
54 … return ((struct hwcrypto_hash *)ctx)->ops->finish((struct hwcrypto_hash *)ctx, output, length); in rt_hwcrypto_hash_finish()
70 if (ctx && ((struct hwcrypto_hash *)ctx)->ops->update) in rt_hwcrypto_hash_update()
72 … return ((struct hwcrypto_hash *)ctx)->ops->update((struct hwcrypto_hash *)ctx, input, length); in rt_hwcrypto_hash_update()
A Dhw_hash.h20 struct hwcrypto_hash;
24 rt_err_t (*update)(struct hwcrypto_hash *hash_ctx,
26 rt_err_t (*finish)(struct hwcrypto_hash *hash_ctx,
33 struct hwcrypto_hash struct

Completed in 714 milliseconds