disco: disable warrnings (disables rng)
This commit is contained in:
parent
06e0c8df2f
commit
158880cda3
@ -1,12 +1,12 @@
|
|||||||
TARGET := disco.elf
|
TARGET := disco.elf
|
||||||
LOCAL_CFLAGS := -Os -fno-builtin-printf -Isrc
|
LOCAL_CFLAGS := -Os -fno-builtin-printf -Isrc -Wextra -pedantic
|
||||||
LOCAL_SRC_C := \
|
LOCAL_SRC_C := \
|
||||||
tests/test_disco.c \
|
|
||||||
src/disco_asymmetric.c \
|
src/disco_asymmetric.c \
|
||||||
src/disco_symmetric.c \
|
src/disco_symmetric.c \
|
||||||
src/tweetstrobe.c \
|
src/tweetstrobe.c \
|
||||||
src/tweetX25519.c \
|
src/tweetX25519.c \
|
||||||
src/devurandom.c
|
src/devurandom.c \
|
||||||
|
tests/test_disco.c
|
||||||
|
|
||||||
include ../conf/toolchain.mk
|
include ../conf/toolchain.mk
|
||||||
include ../conf/sdk.mk
|
include ../conf/sdk.mk
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
static int fd = -1;
|
static int fd = -1;
|
||||||
|
|
||||||
void randombytes(unsigned char *x, unsigned long long xlen) {
|
void randombytes(unsigned char *x, unsigned long long xlen) {
|
||||||
/* TODO */
|
/* TODO */
|
||||||
|
(void)fd,(void)x,(void)xlen;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user