Skip to content

Commit

Permalink
fix hmac bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouchuanrui authored May 16, 2018
1 parent 723d9fb commit 1b5d73a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hash_pkg/CoreHMAC.svh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class CoreHMAC#(type HASH_TYPE = CoreMD5);
packBytes = 0;
repeat(blen) begin
packBytes >>= 8;
packBytes[blen*8-1 -: 8] = bq.pop_back();
packBytes[HASH_TYPE::BLOCK_SISE-1 -: 8] = bq.pop_back();
end
endfunction

Expand Down

0 comments on commit 1b5d73a

Please sign in to comment.