diff --git a/DecryptRound.v b/DecryptRound.v deleted file mode 100644 index bed4cc8..0000000 --- a/DecryptRound.v +++ /dev/null @@ -1,27 +0,0 @@ -module DecryptRound(stateIn, key, stateOut); - input [127:0] stateIn; - input [127:0] key; - output [127:0] stateOut; - - wire [127:0] subByteWire; - wire [127:0] shiftRowsWire; - wire [127:0] afterRoundKey; - - InvShiftRows shft(stateIn, shiftRowsWire); - InvSubBytes sub(shiftRowsWire, subByteWire); - AddRoundKey addkey(subByteWire, key, afterRoundKey); - InvMixColumns mix(afterRoundKey, stateOut); -endmodule - -module LastDecryptRound(stateIn, key, stateOut); - input [127:0] stateIn; - input [127:0] key; - output [127:0] stateOut; - - wire [127:0] subByteWire; - wire [127:0] shiftRowsWire; - - InvShiftRows shft(stateIn, shiftRowsWire); - InvSubBytes sub(shiftRowsWire, subByteWire); - AddRoundKey addkey(subByteWire, key, stateOut); -endmodule \ No newline at end of file diff --git a/EncryptRound.v b/EncryptRound.v deleted file mode 100644 index 083683a..0000000 --- a/EncryptRound.v +++ /dev/null @@ -1,27 +0,0 @@ -module EncryptRound(stateIn, key, stateOut); - input [127:0] stateIn; - input [127:0] key; - output [127:0] stateOut; - - wire [127:0] subByteWire; - wire [127:0] shiftRowsWire; - wire [127:0] mixColumnsWire; - - SubBytes sub(stateIn, subByteWire); - ShiftRows shft(subByteWire, shiftRowsWire); - MixColumns mix(shiftRowsWire, mixColumnsWire); - AddRoundKey addkey(mixColumnsWire, key, stateOut); -endmodule - -module LastEncryptRound(stateIn, key, stateOut); - input [127:0] stateIn; - input [127:0] key; - output [127:0] stateOut; - - wire [127:0] subByteWire; - wire [127:0] shiftRowsWire; - - SubBytes sub(stateIn, subByteWire); - ShiftRows shft(subByteWire, shiftRowsWire); - AddRoundKey addkey(shiftRowsWire, key, stateOut); -endmodule \ No newline at end of file