Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/drivers/
A Datmel_trng.c50 uint8_t *rngbuf = buf; in hw_get_random_bytes() local
59 memcpy(rngbuf, &val, len_to_copy); in hw_get_random_bytes()
60 rngbuf += len_to_copy; in hw_get_random_bytes()
A Dxiphera_trng.c72 uint8_t *rngbuf = buf; in hw_get_random_bytes() local
86 memcpy(rngbuf, &val, len_to_copy); in hw_get_random_bytes()
87 rngbuf += len_to_copy; in hw_get_random_bytes()
A Dimx_rngb.c171 uint32_t *rngbuf = buf; in hw_get_random_bytes() local
187 memcpy(rngbuf, &val, sizeof(uint32_t)); in hw_get_random_bytes()
188 rngbuf++; in hw_get_random_bytes()
190 memcpy(rngbuf, &val, len); in hw_get_random_bytes()
/optee_os-3.20.0/core/drivers/crypto/caam/
A Dcaam_rng.c285 uint8_t *rngbuf = buf; in do_rng_read() local
316 memcpy(rngbuf, &rng->data[rng->rdindex], in do_rng_read()
320 rngbuf += rng->size - rng->rdindex; in do_rng_read()
326 memcpy(rngbuf, &rng->data[rng->rdindex], remlen); in do_rng_read()

Completed in 5 milliseconds