~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
memcmp: Introduce and use consttime_memeq
[secnet]
/
util.h
diff --git
a/util.h
b/util.h
index
7991743
..
cbe9f52
100644
(file)
--- a/
util.h
+++ b/
util.h
@@
-45,4
+45,6
@@
extern int32_t write_mpbin(MP_INT *a, uint8_t *buffer, int32_t buflen);
extern struct log_if *init_log(list_t *loglist);
+extern int consttime_memeq(const void *s1, const void *s2, size_t n);
+
#endif /* util_h */