blob: 96ea89e8bf8522ed9564a235bc369b16278ce6ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* iterated_hash.h -- nsec3 hash calculation.
*
* Copyright (c) 2001-2006, NLnet Labs. All rights reserved.
*
* See LICENSE for the license.
*
* With thanks to Ben Laurie.
*/
#ifndef ITERATED_HASH_H
#define ITERATED_HASH_H
#include <config.h>
#ifdef NSEC3
#include <openssl/sha.h>
int iterated_hash(unsigned char out[SHA_DIGEST_LENGTH],
const unsigned char *salt,int saltlength,
const unsigned char *in,int inlength,int iterations);
#endif /* NSEC3 */
#endif /* ITERATED_HASH_H */
|