mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-01 10:06:53 +03:00
Fix missing-prototype errors in tests/suites
Signed-off-by: Michael Schuster <michael@schuster.ms>
This commit is contained in:
committed by
Minos Galanakis
parent
8cc43f23b6
commit
b1e33fb707
@ -65,7 +65,7 @@ static void entropy_clear_sources(mbedtls_entropy_context *ctx)
|
||||
*/
|
||||
static unsigned char buffer_seed[MBEDTLS_ENTROPY_BLOCK_SIZE];
|
||||
|
||||
int buffer_nv_seed_read(unsigned char *buf, size_t buf_len)
|
||||
static int buffer_nv_seed_read(unsigned char *buf, size_t buf_len)
|
||||
{
|
||||
if (buf_len != MBEDTLS_ENTROPY_BLOCK_SIZE) {
|
||||
return -1;
|
||||
@ -75,7 +75,7 @@ int buffer_nv_seed_read(unsigned char *buf, size_t buf_len)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int buffer_nv_seed_write(unsigned char *buf, size_t buf_len)
|
||||
static int buffer_nv_seed_write(unsigned char *buf, size_t buf_len)
|
||||
{
|
||||
if (buf_len != MBEDTLS_ENTROPY_BLOCK_SIZE) {
|
||||
return -1;
|
||||
@ -111,7 +111,7 @@ static int write_nv_seed(unsigned char *buf, size_t buf_len)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int read_nv_seed(unsigned char *buf, size_t buf_len)
|
||||
static int read_nv_seed(unsigned char *buf, size_t buf_len)
|
||||
{
|
||||
FILE *f;
|
||||
|
||||
|
Reference in New Issue
Block a user