17#ifndef CPL_SHA1_INCLUDED_H
18#define CPL_SHA1_INCLUDED_H
24#define CPL_SHA1_HASH_SIZE 20
28void CPL_SHA1(
const void *data,
size_t len,
GByte hash[CPL_SHA1_HASH_SIZE]);
31void CPL_HMAC_SHA1(
const void *pKey,
size_t nKeyLen,
const void *pabyMessage,
32 size_t nMessageLen,
GByte abyDigest[CPL_SHA1_HASH_SIZE]);
Core portability definitions for CPL.
#define CPL_C_END
Macro to end a block of C symbols.
Definition cpl_port.h:289
#define CPL_C_START
Macro to start a block of C symbols.
Definition cpl_port.h:285
unsigned char GByte
Unsigned byte type.
Definition cpl_port.h:175