projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for calculating SKS style key hashes
[onak.git]
/
keystructs.h
diff --git
a/keystructs.h
b/keystructs.h
index 33c6226ed77cf925544c2af78ef763580a6a0b7b..c77e346e419e6ce139b54fa5993ad936ac15aecb 100644
(file)
--- a/
keystructs.h
+++ b/
keystructs.h
@@
-104,4
+104,12
@@
struct stats_key {
bool revoked;
};
+/**
+ * struct skshash - holds an SKS key hash (md5 over sorted packet list)
+ * @hash: The 128 bit MD5 hash of the sorted packet list from the key
+ */
+struct skshash {
+ uint8_t hash[16];
+};
+
#endif /* __KEYSTRUCTS_H__ */