X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=hmac-md5%2Fhmac-md5.h;h=1926244965b5b8b8947906f99f1f0ff77f6fb24b;hb=b8aa8d06134ce687993cb3148d66ebd86dbf1d6f;hp=5bbaeb9a62f5d4ee2b88c056f86e6e5425636471;hpb=d32eba56ce10ea6b9eff123b50d9842673b38f2b;p=avr-crypto-lib.git diff --git a/hmac-md5/hmac-md5.h b/hmac-md5/hmac-md5.h index 5bbaeb9..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 @@ -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_*/