Keccak uses 101 padding In "padder.v", the first '1' is padding when is_last is high. But is is_last comes when buffer_full is high, it sets 'state'=1. This makes the padding 001 instead of 10*1.
The fix is to set 'state' only when is_last & buffer_full is high.
Thanks! Would you mind to send out a patch ?
Hi, Can anybody send me the code for SHA 3-512?. The code available here is not generating the correct hash code. I have compared the hash results with matlab code and some online websites but the output is not matching. I have tried the two ways provided by others in this Issue List but those suggestions not working. Kindly someone help to get correct hash code.
Thank you in advance.