X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;ds=sidebyside;f=hfal%2Fhfal-basic.c;h=f8f63f8fd3aab5419d158d654ce62d436121229a;hb=8007e094d9e9e9477a08978c5ad2d96c6cb8bb66;hp=551a8bc18b7d0103d8ba46036e01382f047e485b;hpb=924aa320bef6f192feecdb67d209c790bd49ea49;p=avr-crypto-lib.git diff --git a/hfal/hfal-basic.c b/hfal/hfal-basic.c index 551a8bc..f8f63f8 100644 --- a/hfal/hfal-basic.c +++ b/hfal/hfal-basic.c @@ -100,3 +100,9 @@ uint16_t hfal_hash_getHashsize(const hfdesc_t* hash_descriptor){ ret = pgm_read_word(&(hash_descriptor->hashsize_b)); return ret; } + +uint16_t hfal_hash_getCtxsize_B(const hfdesc_t* hash_descriptor){ + uint16_t ret; + ret = pgm_read_word(&(hash_descriptor->ctxsize_B)); + return ret; +}