X-Git-Url: https://the.earth.li/gitweb/?p=onak.git;a=blobdiff_plain;f=sigcheck.h;h=756987e2b72745410769be0694f824e26cfd5c55;hp=394dd65f56b0a44ebe4cefd7d71601dc7a5f7421;hb=372df79a3c51d8de54440aba9b05f0af28b005a7;hpb=2708d5a06ad2ef872ea89aca822328f98a86e7cb 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__ */