Searched refs:rngbuf (Results 1 – 4 of 4) sorted by relevance
/optee_os-3.20.0/core/drivers/ |
A D | atmel_trng.c | 50 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 D | xiphera_trng.c | 72 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 D | imx_rngb.c | 171 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 D | caam_rng.c | 285 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