include/crypto/curve25519.h: fix gcc14 error
/home/raiden00/git/RTOS/nuttx/nuttx/include/crypto/curve25519.h:42:5: error: implicit declaration of function 'arc4random_buf' [-Wimplicit-function-declaration] 42 | arc4random_buf(secret, CURVE25519_KEY_SIZE);
This commit is contained in:
parent
3312ab2087
commit
3ce9e34ec9
@ -20,6 +20,12 @@
|
||||
#ifndef __INCLUDE_CRYPTO_CURVE25519_H
|
||||
#define __INCLUDE_CRYPTO_CURVE25519_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
****************************************************************************/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#define CURVE25519_KEY_SIZE 32
|
||||
|
||||
int curve25519(uint8_t out[CURVE25519_KEY_SIZE],
|
||||
|
Loading…
Reference in New Issue
Block a user