X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=hashfunction_descriptor.h;fp=hashfunction_descriptor.h;h=e1347dcaccbc54015e1dc71ea111706808263dd7;hb=74fe0d1999c8dee4babb971174648da906886874;hp=3440cd0dcec468ed924ec27f09404fa1607a7797;hpb=5fe96fa58fee8907778ba3388b65d779a1a47c97;p=avr-crypto-lib.git diff --git a/hashfunction_descriptor.h b/hashfunction_descriptor.h index 3440cd0..e1347dc 100644 --- a/hashfunction_descriptor.h +++ b/hashfunction_descriptor.h @@ -15,7 +15,7 @@ typedef void(*hf_nextBlock_fpt)(void*, const void*); typedef void(*hf_lastBlock_fpt)(void*, const void*, uint16_t); typedef void(*hf_ctx2hash_fpt)(void*, void*); typedef void(*hf_free_fpt)(void*); -typedef void(*hf_mem_fpt)(void*, void*, uint32_t); +typedef void(*hf_mem_fpt)(void*, const void*, uint32_t); #define HFDESC_TYPE_HASHFUNCTION 0x02