]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - hmac-md5/hmac-md5.h
switching uart header file
[avr-crypto-lib.git] / hmac-md5 / hmac-md5.h
index 6bd8e129bd67b24c39ac47000232f3116bd84c21..1926244965b5b8b8947906f99f1f0ff77f6fb24b 100644 (file)
@@ -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, voidkey, uint16_t keylength_b);
-void hmac_md5_nextBlock(hmac_md5_ctx_t *s, const voidblock);
-void hmac_md5_lastBlock(hmac_md5_ctx_t *s, const voidblock, uint16_t length_b);
-void hmac_md5_final(voiddest, 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_*/