X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=hfal%2Fhfal-basic.h;h=83e83bc0bb09ef8cbf2781918ed2c9b71731cbdd;hp=43a2fc122466ebeff727170829a9bfcffd082a2e;hb=4b5da1dc27a791b5c448274a3db09cd035b33493;hpb=8007e094d9e9e9477a08978c5ad2d96c6cb8bb66 diff --git a/hfal/hfal-basic.h b/hfal/hfal-basic.h index 43a2fc1..83e83bc 100644 --- a/hfal/hfal-basic.h +++ b/hfal/hfal-basic.h @@ -1,7 +1,7 @@ /* hfal-basic.h */ /* This file is part of the AVR-Crypto-Lib. - Copyright (C) 2009 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 @@ -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_ */