]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - mgf1/mgf1.h
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / mgf1 / mgf1.h
index 76c3b8d94aac3bcb5a5123718b428c82a196b868..007893d048dc0a6a30d79e40a4392c4eddfb3cc4 100644 (file)
@@ -1,7 +1,7 @@
 /* mgf1.h */
 /*
     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
 #include "hfal-basic.h"
 
 typedef struct {
-       const hfdesc_thashfunction;
+       const hfdesc_t *hashfunction;
 } mgf1_parameter_t;
 
 /*
  * MGF1 as defined in PKCS #1 v2.1 B.2.1
  */
 
-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);
 
 #endif /* MGF1_H_ */