hash-method.c revision bcb4e51a409d94ae670de96afb8483a4f7855294
/* Copyright (c) 2010-2018 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);
return result;
}
static const struct hash_method hash_method_size = {
"size",
sizeof(uint64_t),
sizeof(uint64_t),
};
const struct hash_method *hash_methods[] = {
};