crypto: fix multiple definition of `poly1305_init'

apps/crypto/libtomcrypt/libtomcrypt/src/mac/poly1305/poly1305.c:90: multiple definition of `poly1305_init';
nuttx/crypto/poly1305.c:51: first defined here
Signed-off-by: makejian <makejian@xiaomi.com>
This commit is contained in:
makejian
2023-08-22 14:54:01 +08:00
committed by Alan Carvalho de Assis
parent cf395cf3fb
commit f4f2c9ed49
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ typedef struct poly1305_state
unsigned char final;
} poly1305_state;
void poly1305_init(FAR poly1305_state *, FAR const unsigned char *);
void poly1305_begin(FAR poly1305_state *, FAR const unsigned char *);
void poly1305_update(FAR poly1305_state *,
FAR const unsigned char *, size_t);
void poly1305_finish(FAR poly1305_state *, FAR unsigned char *);