]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - hfal/hfal-basic.h
global style change (now * is attached to identifier not to type)
[avr-crypto-lib.git] / hfal / hfal-basic.h
index 43a2fc122466ebeff727170829a9bfcffd082a2e..e1651f84f6b3d8ca82206c1db494f5a9c2a7d37d 100644 (file)
 #include <avr/pgmspace.h>
 #include "hashfunction_descriptor.h"
 
-uint8_t hfal_hash_init(const hfdesc_t* hash_descriptor, hfgen_ctx_t* ctx);
-void hfal_hash_nextBlock(hfgen_ctx_t* ctx, const void* block);
-void hfal_hash_lastBlock(hfgen_ctx_t* ctx, const void* block, uint16_t length_b);
-void hfal_hash_ctx2hash(void* dest, hfgen_ctx_t* ctx);
-void hfal_hash_free(hfgen_ctx_tctx);
-void hfal_hash_mem(const hfdesc_t* hash_descriptor, void* dest, const void* msg, uint32_t length_b);
-uint16_t hfal_hash_getBlocksize(const hfdesc_thash_descriptor);
-uint16_t hfal_hash_getHashsize(const hfdesc_thash_descriptor);
-uint16_t hfal_hash_getCtxsize_B(const hfdesc_thash_descriptor);
+uint8_t hfal_hash_init(const hfdesc_t *hash_descriptor, hfgen_ctx_t *ctx);
+void hfal_hash_nextBlock(hfgen_ctx_t *ctx, const void *block);
+void hfal_hash_lastBlock(hfgen_ctx_t *ctx, const void *block, uint16_t length_b);
+void hfal_hash_ctx2hash(void *dest, hfgen_ctx_t *ctx);
+void hfal_hash_free(hfgen_ctx_t *ctx);
+void hfal_hash_mem(const hfdesc_t *hash_descriptor, void *dest, const void *msg, uint32_t length_b);
+uint16_t hfal_hash_getBlocksize(const hfdesc_t *hash_descriptor);
+uint16_t hfal_hash_getHashsize(const hfdesc_t *hash_descriptor);
+uint16_t hfal_hash_getCtxsize_B(const hfdesc_t *hash_descriptor);
 
 #endif /* HFAL_BASIC_H_ */