mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-08-11 16:10:20 -04:00
fw: use bool as return type for memeq
This commit is contained in:
parent
80a155a1c2
commit
26045bfcd1
2 changed files with 7 additions and 4 deletions
|
@ -8,11 +8,12 @@
|
|||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
void *memset(void *dest, int c, unsigned n);
|
||||
void memcpy_s(void *dest, size_t destsize, const void *src, size_t n);
|
||||
void wordcpy_s(void *dest, size_t destsize, const void *src, size_t n);
|
||||
int memeq(void *dest, const void *src, size_t n);
|
||||
bool memeq(void *dest, const void *src, size_t n);
|
||||
void secure_wipe(void *v, size_t n);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue