OpenCores
Issue List
sending is_last while buffer_full results in wrong padding #1
Open renling opened this issue over 10 years ago
renling commented over 10 years ago

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.

homer.hsing commented over 10 years ago

Thanks! Would you mind to send out a patch ?

NULL commented almost 3 years ago

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.


Assignee
No one
Labels
Bug