]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - mgf1/mgf1.c
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / mgf1 / mgf1.c
index bdbf1ea51c460225b47a33283144c692f4fbbcee..0a090b1c4f2a77eeabef5f4588afd75b14551ee2 100644 (file)
@@ -1,7 +1,7 @@
 /* mgf1.c */
 /*
     This file is part of the AVR-Crypto-Lib.
-    Copyright (C) 2010 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
@@ -27,7 +27,7 @@
  */
 
 
-void mgf1_short_seed(void* dest, const void* seed, uint8_t seed_len_B, uint16_t out_length_B, const mgf1_parameter_t* p){
+void mgf1_short_seed(void *dest, const void *seed, uint8_t seed_len_B, uint16_t out_length_B, const mgf1_parameter_t *p){
        uint8_t buffer[seed_len_B+4];
        uint32_t counter=1;
        uint8_t hv_len = hfal_hash_getHashsize(p->hashfunction)/8;
@@ -50,6 +50,6 @@ void mgf1_short_seed(void* dest, const void* seed, uint8_t seed_len_B, uint16_t
        }
 }
 
-void mgf1(void* dest, const void* seed, uint16_t seed_len_B, uint16_t out_length_B, const mgf1_parameter_t* p){
+void mgf1(void *dest, const void *seed, uint16_t seed_len_B, uint16_t out_length_B, const mgf1_parameter_t *p){
        mgf1_short_seed(dest, seed, seed_len_B, out_length_B, p);
 }