ldaphotos/sources/include/hasher.h

12 lines
309 B
C
Raw Normal View History

#include <openssl/evp.h>
extern EVP_MD * md;
int init_hasher(void);
int deinit_hasher(void);
unsigned char * digest(const unsigned char *in, size_t inlen, unsigned int * outlen);
int begin_digest();
int digest_part(const unsigned char *in, size_t inlen);
unsigned char * get_digest(unsigned int * outlen);