X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=hfal%2Fhfal-basic.h;fp=hfal%2Fhfal-basic.h;h=e1651f84f6b3d8ca82206c1db494f5a9c2a7d37d;hp=43a2fc122466ebeff727170829a9bfcffd082a2e;hb=3a9f9d918fb95474996af535c225a7e187d88372;hpb=33d65e8032f77c1cbec1bc99e898affc96966c3c diff --git a/hfal/hfal-basic.h b/hfal/hfal-basic.h index 43a2fc1..e1651f8 100644 --- a/hfal/hfal-basic.h +++ b/hfal/hfal-basic.h @@ -23,14 +23,14 @@ #include #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_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); +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_ */