chiark
/
gitweb
/
~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup: fix up the types of input to hashes to const void* from const uint8_t*
[secnet]
/
secnet.h
diff --git
a/secnet.h
b/secnet.h
index 9cc22059ad0272e189a4b54d3b5a505d67b7e71f..b60972fb30fd3cfad9cfe02ee6820cd8fd697ad0 100644
(file)
--- a/
secnet.h
+++ b/
secnet.h
@@
-438,7
+438,7
@@
struct dh_if {
/* HASH interface */
typedef void *hash_init_fn(void);
/* HASH interface */
typedef void *hash_init_fn(void);
-typedef void hash_update_fn(void *st,
uint8_t const
*buf, int32_t len);
+typedef void hash_update_fn(void *st,
const void
*buf, int32_t len);
typedef void hash_final_fn(void *st, uint8_t *digest);
struct hash_if {
int32_t len; /* Hash output length in bytes */
typedef void hash_final_fn(void *st, uint8_t *digest);
struct hash_if {
int32_t len; /* Hash output length in bytes */