Skip to content

Commit

Permalink
fix fparity
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouchuanrui authored Apr 24, 2018
1 parent 8a4b032 commit 101ec15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hash_pkg/BaseHash.svh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ virtual class BaseHash#(BLOCK_SISE = 512, DIGEST_SIZE = 128, DIGEST_LEN = 128) e
static protected function tWord fParity (
tWord x, y, z
);
return x&y&z;
return x^y^z;
endfunction

static protected function tWord fMaj (
Expand Down

0 comments on commit 101ec15

Please sign in to comment.