X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=hmac-sha1%2Fhmac-sha1.h;h=4f8d54c97c825048e901dec55ef418cdf9a0293d;hp=d0be0299b24fcaa19745bee15ff5bb9bc28b5c55;hb=4b5da1dc27a791b5c448274a3db09cd035b33493;hpb=b8d6b2bd3ddea45506f584c7d44fe5fff0557ed1 diff --git a/hmac-sha1/hmac-sha1.h b/hmac-sha1/hmac-sha1.h index d0be029..4f8d54c 100644 --- a/hmac-sha1/hmac-sha1.h +++ b/hmac-sha1/hmac-sha1.h @@ -1,7 +1,7 @@ /* hmac-sha1.h */ /* This file is part of the AVR-Crypto-Lib. - Copyright (C) 2008 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,11 +31,11 @@ typedef struct{ } hmac_sha1_ctx_t; -void hmac_sha1_init(hmac_sha1_ctx_t *s, const void* key, uint16_t keylength_b); -void hmac_sha1_nextBlock(hmac_sha1_ctx_t *s, const void* block); -void hmac_sha1_lastBlock(hmac_sha1_ctx_t *s, const void* block, uint16_t length_b); -void hmac_sha1_final(void* dest, hmac_sha1_ctx_t *s); +void hmac_sha1_init(hmac_sha1_ctx_t *s, const void *key, uint16_t keylength_b); +void hmac_sha1_nextBlock(hmac_sha1_ctx_t *s, const void *block); +void hmac_sha1_lastBlock(hmac_sha1_ctx_t *s, const void *block, uint16_t length_b); +void hmac_sha1_final(void *dest, hmac_sha1_ctx_t *s); -void hmac_sha1(void* dest, const void* key, uint16_t keylength_b, const void* msg, uint32_t msglength_b); +void hmac_sha1(void *dest, const void *key, uint16_t keylength_b, const void *msg, uint32_t msglength_b); #endif /*HMACSHA1_H_*/