Home
last modified time | relevance | path

Searched refs:BUFFER_LENGTH (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-2.7.6/tests/drivers/entropy/api/src/
Dmain.c24 #define BUFFER_LENGTH 10 macro
32 (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()
/Zephyr-Core-2.7.6/tests/drivers/hwinfo/api/src/
Dmain.c26 #define BUFFER_LENGTH 17 macro
31 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()