X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=sigcheck.h;h=756987e2b72745410769be0694f824e26cfd5c55;hb=51c1a7dd950efef6a4d00df1878341777f8064ff;hp=394dd65f56b0a44ebe4cefd7d71601dc7a5f7421;hpb=4c8bebffd4bc105ebaa09256b7a57f4a6201bd52;p=onak.git diff --git a/sigcheck.h b/sigcheck.h index 394dd65..756987e 100644 --- a/sigcheck.h +++ b/sigcheck.h @@ -2,8 +2,11 @@ #define __SIGCHECK_H__ #include "keystructs.h" -int check_packet_sighash(struct openpgp_publickey *key, +onak_status_t calculate_packet_sighash(struct openpgp_publickey *key, struct openpgp_packet *packet, - struct openpgp_packet *sig); + struct openpgp_packet *sig, + uint8_t *hashtype, + uint8_t *hash, + uint8_t **sighash); #endif /* __SIGCHECK_H__ */