X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=hfal%2Fhfal-basic.h;h=e1651f84f6b3d8ca82206c1db494f5a9c2a7d37d;hb=d72d6fbe7abbd26958657c877bc0a3dbef8148ce;hp=43a2fc122466ebeff727170829a9bfcffd082a2e;hpb=8007e094d9e9e9477a08978c5ad2d96c6cb8bb66;p=avr-crypto-lib.git 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_ */