mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Final cleanup tonight
This commit is contained in:
parent
8af25a45e6
commit
096f4090ac
@ -56,5 +56,5 @@ module zknde32 import cvw::*; #(parameter cvw_t P) (
|
|||||||
|
|
||||||
// final rotate and XOR steps shared between encrypt and decrypt
|
// final rotate and XOR steps shared between encrypt and decrypt
|
||||||
rotate #(32) mrot(rotin, shamt, rotout); // Rotate the mixcolumns output left by shamt (bs * 8)
|
rotate #(32) mrot(rotin, shamt, rotout); // Rotate the mixcolumns output left by shamt (bs * 8)
|
||||||
assign ZKNDEResult = A ^ rotout; // xor with running value
|
assign ZKNDEResult = A ^ rotout; // xor with running value (A = rs1)
|
||||||
endmodule
|
endmodule
|
||||||
|
Loading…
Reference in New Issue
Block a user