Add support for calculating SKS style key hashes
[onak.git] / keystructs.h
index 33c6226ed77cf925544c2af78ef763580a6a0b7b..c77e346e419e6ce139b54fa5993ad936ac15aecb 100644 (file)
@@ -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__ */