[BACK]Return to hmac_sha1.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libcrypt

Annotation of src/lib/libcrypt/hmac_sha1.c, Revision 1.1

1.1     ! drochner    1: /* $NetBSD: hmac_sha1.c,v 1.2 2006/06/23 17:15:18 christos Exp $ */
        !             2:
        !             3: /*
        !             4:  * hmac_sha1 - using HMAC from RFC 2104
        !             5:  */
        !             6:
        !             7: #include <sha1.h> /* XXX */
        !             8: #include "crypt.h"
        !             9:
        !            10: #define HMAC_HASH SHA1
        !            11: #define HMAC_FUNC __hmac_sha1
        !            12: #define HMAC_KAT  hmac_kat_sha1
        !            13:
        !            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
        !            19:
        !            20: #include "hmac.c"

CVSweb <webmaster@jp.NetBSD.org>