ramdisk Makefile: CLEANFILES fix
[minix.git] / lib / libcrypt / hmac_sha1.c
blob2fd463a72aa7ef52a683597f038dc2cf303bac34
1 /* $NetBSD: hmac_sha1.c,v 1.1 2006/10/27 18:22:56 drochner Exp $ */
3 /*
4 * hmac_sha1 - using HMAC from RFC 2104
5 */
7 #include <sha1.h> /* XXX */
8 #include "crypt.h"
10 #define HMAC_HASH SHA1
11 #define HMAC_FUNC __hmac_sha1
12 #define HMAC_KAT hmac_kat_sha1
14 #define HASH_LENGTH SHA1_DIGEST_LENGTH
15 #define HASH_CTX SHA1_CTX
16 #define HASH_Init SHA1Init
17 #define HASH_Update SHA1Update
18 #define HASH_Final SHA1Final
20 #include "hmac.c"