minix/lib/nbsd_libc/hash/sha2/sha256hl.c
Gianluca Guida b6cbf7203b Import unmodified NetBSD libc in trunk
This patch imports the unmodified current version of NetBSD libc.
The NetBSD includes are in /nbsd_include, while the libc code itself is 
split between lib/nbsd_libc and common/lib/libc.
2011-02-14 19:36:03 +00:00

18 lines
475 B
C

/* $NetBSD: sha256hl.c,v 1.8 2008/04/13 02:04:32 dholland Exp $ */
/*
* Derived from code written by Jason R. Thorpe <thorpej@NetBSD.org>,
* April 29, 1997.
* Public domain.
*/
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: sha256hl.c,v 1.8 2008/04/13 02:04:32 dholland Exp $");
#endif /* LIBC_SCCS and not lint */
#define HASH_ALGORITHM SHA256
#define HASH_FNPREFIX SHA256_
#define HASH_INCLUDE <sys/sha2.h>
#include "../hashhl.c"