33 #ifndef CPL_SHA1_INCLUDED_H 34 #define CPL_SHA1_INCLUDED_H 40 #define CPL_SHA1_HASH_SIZE 20 // SHA1 outputs a 20 byte digest 45 void CPL_HMAC_SHA1(
const void *pKey,
size_t nKeyLen,
46 const void *pabyMessage,
size_t nMessageLen,
47 GByte abyDigest[CPL_SHA1_HASH_SIZE]);
Core portability definitions for CPL.
#define CPL_C_START
Macro to start a block of C symbols.
Definition: cpl_port.h:337
unsigned char GByte
Unsigned byte type.
Definition: cpl_port.h:215
#define CPL_C_END
Macro to end a block of C symbols.
Definition: cpl_port.h:339