X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=hmac-md5%2Fhmac-md5.h;h=1926244965b5b8b8947906f99f1f0ff77f6fb24b;hb=d9352fc79fbdee0cf3288809b104ea196ea85693;hp=6bd8e129bd67b24c39ac47000232f3116bd84c21;hpb=7b5401ab9ce23a5da1de8b6c7de3a1aa20ac4cf8;p=avr-crypto-lib.git diff --git a/hmac-md5/hmac-md5.h b/hmac-md5/hmac-md5.h index 6bd8e12..1926244 100644 --- a/hmac-md5/hmac-md5.h +++ b/hmac-md5/hmac-md5.h @@ -1,7 +1,7 @@ /* hmac-md5.h */ /* This file is part of the AVR-Crypto-Lib. - Copyright (C) 2009 Daniel Otte (daniel.otte@rub.de) + Copyright (C) 2006-2015 Daniel Otte (bg@nerilex.org) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,7 +19,7 @@ #ifndef HMACMD5_H_ #define HMACMD5_H_ -#include "md5/md5.h" +#include "md5.h" #define HMAC_MD5_BITS MD5_HASH_BITS #define HMAC_MD5_BYTES MD5_HASH_BYTES @@ -31,12 +31,12 @@ typedef struct{ } hmac_md5_ctx_t; -void hmac_md5_init(hmac_md5_ctx_t *s, void* key, uint16_t keylength_b); -void hmac_md5_nextBlock(hmac_md5_ctx_t *s, const void* block); -void hmac_md5_lastBlock(hmac_md5_ctx_t *s, const void* block, uint16_t length_b); -void hmac_md5_final(void* dest, hmac_md5_ctx_t *s); +void hmac_md5_init(hmac_md5_ctx_t *s, void *key, uint16_t keylength_b); +void hmac_md5_nextBlock(hmac_md5_ctx_t *s, const void *block); +void hmac_md5_lastBlock(hmac_md5_ctx_t *s, const void *block, uint16_t length_b); +void hmac_md5_final(void *dest, hmac_md5_ctx_t *s); -void hmac_md5(void* dest, void* key, uint16_t keylength_b, void* msg, uint32_t msglength_b); +void hmac_md5(void *dest, void *key, uint16_t keylength_b, void *msg, uint32_t msglength_b); #endif /*HMACMD5_H_*/