 b6cbf7203b
			
		
	
	
		b6cbf7203b
		
	
	
	
	
		
			
			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.
		
			
				
	
	
		
			19 lines
		
	
	
		
			475 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			475 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* $NetBSD: sha512hl.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: sha512hl.c,v 1.8 2008/04/13 02:04:32 dholland Exp $");
 | |
| #endif /* LIBC_SCCS and not lint */
 | |
| 
 | |
| #define	HASH_ALGORITHM	SHA512
 | |
| #define	HASH_FNPREFIX	SHA512_
 | |
| #define HASH_INCLUDE	<sys/sha2.h>
 | |
| 
 | |
| #include "../hashhl.c"
 |