NetBSD/lib/libc/hash/sha2/sha512hl.c
christos eb01b7b0b4 Rename "hash.c" to "hashhl.c" since this is included from *hl.c files.
The name "hash.c" is already used in db/hash/hash.c, and having duplicated
names, aside from it being bad style, breaks the tools/nbcompat build
because it picks the wrong hash.c file. Thanks to greg for helping debug
this.
2005-09-28 16:31:45 +00:00

19 lines
477 B
C

/* $NetBSD: sha512hl.c,v 1.6 2005/09/28 16:31:45 christos Exp $ */
/*
* Derived from code ritten by Jason R. Thorpe <thorpej@NetBSD.org>,
* April 29, 1997.
* Public domain.
*/
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: sha512hl.c,v 1.6 2005/09/28 16:31:45 christos Exp $");
#endif /* LIBC_SCCS and not lint */
#define HASH_ALGORITHM SHA512
#define HASH_FNPREFIX SHA512_
#define HASH_INCLUDE <crypto/sha2.h>
#include "../hashhl.c"