Home
last modified time | relevance | path

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

/components/drivers/hwcrypto/
A Dhw_rng.c16 static struct rt_hwcrypto_ctx *ctx_default; variable
41 if (ctx == ctx_default) in rt_hwcrypto_rng_destroy()
43 ctx_default = RT_NULL; in rt_hwcrypto_rng_destroy()
60 if (ctx_default) in rt_hwcrypto_rng_default()
62 rt_hwcrypto_rng_destroy(ctx_default); in rt_hwcrypto_rng_default()
63 ctx_default = RT_NULL; in rt_hwcrypto_rng_default()
74 rt_hwcrypto_rng_destroy(ctx_default); in rt_hwcrypto_rng_default()
75 ctx_default = tmp_ctx; in rt_hwcrypto_rng_default()
104 if (ctx_default == RT_NULL) in rt_hwcrypto_rng_update()
109 return rt_hwcrypto_rng_update_ctx(ctx_default); in rt_hwcrypto_rng_update()

Completed in 2 milliseconds