mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-18 04:10:57 +01:00
added support for authenticated hashes
This commit is contained in:
@@ -7,7 +7,6 @@ extern "C" {
|
||||
|
||||
#include "pcp/config.h"
|
||||
#include "pcp/buffer.h"
|
||||
#include "pcp/config.h"
|
||||
#include "pcp/context.h"
|
||||
#include "pcp/crypto.h"
|
||||
#include "pcp/defines.h"
|
||||
|
||||
@@ -333,7 +333,7 @@ int pcp_sodium_verify_mac(byte **cleartext,
|
||||
|
||||
\return Returns 0 on error.
|
||||
*/
|
||||
int pcp_checksum(PCPCTX *ptx, Pcpstream *in, byte *checksum);
|
||||
int pcp_checksum(PCPCTX *ptx, Pcpstream *in, byte *checksum, byte *key, size_t keylen);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user