Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/entropy/
Dentropy_npcx_drbg.c82 enum ncl_status ncl_ret; in entropy_npcx_drbg_enable_sha_power() local
84 ncl_ret = NPCX_NCL_SHA_POWER->power(ctx, enable); in entropy_npcx_drbg_enable_sha_power()
85 if (ncl_ret != NCL_STATUS_OK) { in entropy_npcx_drbg_enable_sha_power()
86 LOG_ERR("Fail to %s SHA power: err 0x%02x", enable ? "enable" : "disable", ncl_ret); in entropy_npcx_drbg_enable_sha_power()
95 enum ncl_status ncl_ret; in entropy_npcx_drbg_enable_drbg_power() local
97 ncl_ret = NPCX_NCL_DRBG->power(ctx, enable); in entropy_npcx_drbg_enable_drbg_power()
98 if (ncl_ret != NCL_STATUS_OK) { in entropy_npcx_drbg_enable_drbg_power()
100 ncl_ret); in entropy_npcx_drbg_enable_drbg_power()
110 enum ncl_status ncl_ret; in entropy_npcx_drbg_get_entropy() local
121 ncl_ret = NPCX_NCL_DRBG->generate(ctx, NULL, 0, buf, len); in entropy_npcx_drbg_get_entropy()
[all …]