]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - mgf1/mgf1.h
global style change (now * is attached to identifier not to type)
[avr-crypto-lib.git] / mgf1 / mgf1.h
index 76c3b8d94aac3bcb5a5123718b428c82a196b868..f7dac24f281febc815ba5d3d62d83b0779d351f0 100644 (file)
 #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_ */