Searched refs:BUFFER_LENGTH (Results 1 – 2 of 2) sorted by relevance
24 #define BUFFER_LENGTH 10 macro32 (void)memset(buffer, num, BUFFER_LENGTH); in random_entropy()40 ret = entropy_get_entropy(dev, buffer, BUFFER_LENGTH - 1); in random_entropy()45 if (buffer[BUFFER_LENGTH - 1] != num) { in random_entropy()50 for (i = 0; i < BUFFER_LENGTH - 1; i++) { in random_entropy()71 uint8_t buffer[BUFFER_LENGTH] = { 0 }; in get_entropy()
26 #define BUFFER_LENGTH 17 macro31 uint8_t buffer_1[BUFFER_LENGTH]; in test_device_id_get()32 uint8_t buffer_2[BUFFER_LENGTH]; in test_device_id_get()49 length_read_1 = hwinfo_get_device_id(buffer_1, BUFFER_LENGTH - 1); in test_device_id_get()55 for (i = 0; i < BUFFER_LENGTH; i++) { in test_device_id_get()59 length_read_2 = hwinfo_get_device_id(buffer_1, BUFFER_LENGTH - 1); in test_device_id_get()