- if(length%(buffersize_B*8)==0)
- hfal_hash_nextBlock(&ctx, buffer);
- hfal_hash_lastBlock(&ctx, buffer, length%(buffersize_B*8));
+ cli_putstr_P(PSTR("\r\n starting last block"));
+ hfal_hash_lastBlock(&ctx, buffer, length-blocks*(buffersize_B*8));
+ cli_putstr_P(PSTR("\r\n starting ctx2hash"));