/** name, flash pointer to the name string */
PGM_P name;
/** ctxsize_B, size of the hash context in bytes */
- uint16_t ctxsize_B;
+ size_t ctxsize_B;
/** blocksize_b, size of an input block in bits */
uint16_t blocksize_b;
/** hashsize_b, size of the output hash value in bits */
/** mem, function pointer to a function which hashes a message in RAM
* completely or NULL if there is no such function */
hf_mem_fpt mem;
-} hfdesc_t; /* blockcipher descriptor type */
+} hfdesc_t; /* hashfunction descriptor type */
typedef struct{
- hfdesc_t* desc_ptr;
+ hfdesc_t *desc_ptr;
void* ctx;
} hfgen_ctx_t;