From 3d3f88ce5c0cf41ac80379f69bff586bb984d7eb Mon Sep 17 00:00:00 2001 From: Anas Ibrahem <139391509+anas-ibrahem@users.noreply.github.com> Date: Mon, 20 May 2024 18:59:07 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9D=8C=20Delete=20Round=20Files=20(#15)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DecryptRound.v | 27 --------------------------- EncryptRound.v | 27 --------------------------- 2 files changed, 54 deletions(-) delete mode 100644 DecryptRound.v delete mode 100644 EncryptRound.v 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