3 #include "keystructs.h"
5 onak_status_t calculate_packet_sighash(struct openpgp_publickey *key,
6 struct openpgp_packet *packet,
7 struct openpgp_packet *sig,
13 * onak_check_hash_sig - check the signature on a hash is valid
14 * @sigkey: The public key that made the signature
15 * @sig: The signature packet
16 * @hash: Hash digest the signature is over
17 * @hashtype: Type of hash (OPENPGP_HASH_*)
19 onak_status_t onak_check_hash_sig(struct openpgp_packet *sigkey,
20 struct openpgp_packet *sig,
24 #endif /* __SIGCHECK_H__ */