hash-method.c revision ba706bd508fdbe3e6c971769d0c913b32bf458eb
/* Copyright (c) 2010-2017 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "md4.h"
#include "md5.h"
#include "sha1.h"
#include "sha2.h"
#include "sha3.h"
#include "hash-method.h"
{
unsigned int i;
for (i = 0; hash_methods[i] != NULL; i++) {
return hash_methods[i];
}
return NULL;
}
static void hash_method_init_size(void *context)
{
*ctx = 0;
}
static void
{
}
{
}
{
meth->digest_size);
meth->digest_size);
return result;
}
static const struct hash_method hash_method_size = {
"size",
sizeof(uint64_t),
sizeof(uint64_t),
};
const struct hash_method *hash_methods[] = {
};