Searched refs:len_to_copy (Results 1 – 2 of 2) sorted by relevance
52 size_t len_to_copy = 0; in hw_get_random_bytes() local58 len_to_copy = MIN(len, sizeof(uint32_t)); in hw_get_random_bytes()59 memcpy(rngbuf, &val, len_to_copy); in hw_get_random_bytes()60 rngbuf += len_to_copy; in hw_get_random_bytes()61 len -= len_to_copy; in hw_get_random_bytes()
74 size_t len_to_copy = 0; in hw_get_random_bytes() local85 len_to_copy = MIN(len, sizeof(uint32_t)); in hw_get_random_bytes()86 memcpy(rngbuf, &val, len_to_copy); in hw_get_random_bytes()87 rngbuf += len_to_copy; in hw_get_random_bytes()88 len -= len_to_copy; in hw_get_random_bytes()
Completed in 3 milliseconds