Searched refs:usr_cfg (Results 1 – 1 of 1) sorted by relevance
777 if (!usr_cfg) in trng_instantiate()783 if (usr_cfg->mode != TRNG_HRNG && usr_cfg->mode != TRNG_DRNG && in trng_instantiate()787 if (usr_cfg->mode != TRNG_PTRNG && !usr_cfg->seed_life) in trng_instantiate()790 if (!usr_cfg->iseed_en && usr_cfg->mode == TRNG_DRNG) in trng_instantiate()793 if (usr_cfg->iseed_en && usr_cfg->mode == TRNG_HRNG) in trng_instantiate()801 if (usr_cfg->df_disable && usr_cfg->dfmul) in trng_instantiate()805 (usr_cfg->iseed_en || usr_cfg->pstr_en || in trng_instantiate()806 usr_cfg->predict_en || usr_cfg->seed_life)) in trng_instantiate()809 memcpy(&trng->usr_cfg, usr_cfg, sizeof(struct trng_usr_cfg)); in trng_instantiate()937 if (!trng->usr_cfg.df_disable && trng->usr_cfg.mode == TRNG_PTRNG) in trng_generate()[all …]
Completed in 5 milliseconds