X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=hfal%2Fhfal-basic.h;h=0859da5f6c2164d311abb4bb69a047c4c1421ab5;hb=HEAD;hp=e03bffe7565976a53aa5cf3f25d5689182849e4b;hpb=d70d1d77bab1a5f5278227d674bc59da0378fe15;p=arm-crypto-lib.git diff --git a/hfal/hfal-basic.h b/hfal/hfal-basic.h index e03bffe..0859da5 100644 --- a/hfal/hfal-basic.h +++ b/hfal/hfal-basic.h @@ -1,6 +1,6 @@ /* hfal-basic.h */ /* - This file is part of the AVR-Crypto-Lib. + This file is part of the ARM-Crypto-Lib. Copyright (C) 2009 Daniel Otte (daniel.otte@rub.de) This program is free software: you can redistribute it and/or modify @@ -28,6 +28,7 @@ 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_getCtxsize_B(const hfdesc_t* hash_descriptor); uint16_t hfal_hash_getBlocksize(const hfdesc_t* hash_descriptor); uint16_t hfal_hash_getHashsize(const hfdesc_t* hash_descriptor);