Lines Matching refs:eseed
655 uint8_t *eseed, uint8_t *str) in trng_reseed_internal_nodf() argument
676 seed = eseed; in trng_reseed_internal_nodf()
692 uint8_t *eseed, uint8_t *str) in trng_reseed_internal_df() argument
710 memcpy(trng->dfin.entropy, eseed, trng->len); in trng_reseed_internal_df()
723 uint8_t *eseed, uint8_t *str, in trng_reseed_internal() argument
737 if (trng_reseed_internal_nodf(trng, eseed, str)) in trng_reseed_internal()
740 if (trng_reseed_internal_df(trng, eseed, str)) in trng_reseed_internal()
830 static TEE_Result trng_reseed(struct versal_trng *trng, uint8_t *eseed, in trng_reseed() argument
842 if (trng->usr_cfg.mode == TRNG_DRNG && !eseed) in trng_reseed()
845 if (trng->usr_cfg.mode != TRNG_DRNG && eseed) in trng_reseed()
856 if (eseed && !memcmp(eseed, trng->usr_cfg.init_seed, trng->len)) in trng_reseed()
859 if (trng_reseed_internal(trng, eseed, NULL, mul)) in trng_reseed()