hash-method.c revision a8c5a86d183db25a57bf193c06b41e092ec2e151
/* Copyright (c) 2010-2014 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "md4.h"
#include "md5.h"
#include "sha1.h"
#include "sha2.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
{
}
{
}
const struct hash_method hash_method_size = {
"size",
sizeof(uint64_t),
sizeof(uint64_t),
};
const struct hash_method *hash_methods[] = {
};