mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
Fix for building ATECC without ATCAPRINTF
defined.
This commit is contained in:
@@ -105,7 +105,9 @@ int atmel_get_random_number(uint32_t count, uint8_t* rand_out)
|
|||||||
XMEMCPY(&rand_out[i], rng_buffer, copy_count);
|
XMEMCPY(&rand_out[i], rng_buffer, copy_count);
|
||||||
i += copy_count;
|
i += copy_count;
|
||||||
}
|
}
|
||||||
|
#ifdef ATCAPRINTF
|
||||||
atcab_printbin_label((const char*)"\r\nRandom Number", rand_out, count);
|
atcab_printbin_label((const char*)"\r\nRandom Number", rand_out, count);
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
/* TODO: Use on-board TRNG */
|
/* TODO: Use on-board TRNG */
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user