X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=hfal-basic.h;h=b00e46bec432be88c48f26ed623ae521f4cb44f3;hb=5fe96fa58fee8907778ba3388b65d779a1a47c97;hp=08dbb31b3468a04505fa29e46c03ac6346a8db24;hpb=d3db763eeb456ce00849ecf658782f95b9f5634c;p=avr-crypto-lib.git diff --git a/hfal-basic.h b/hfal-basic.h index 08dbb31..b00e46b 100644 --- a/hfal-basic.h +++ b/hfal-basic.h @@ -25,9 +25,11 @@ 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 size); +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* hash_descriptor); +uint16_t hfal_hash_getHashsize(const* hash_descriptor); #endif /* HFAL_BASIC_H_ */