Browse Source

new function 'mixcolumns'

master
Torsten Meissner 12 years ago
parent
commit
4f926c5e88
1 changed files with 13 additions and 1 deletions
  1. +13
    -1
      aes/rtl/aes_pkg.vhd

+ 13
- 1
aes/rtl/aes_pkg.vhd View File

@ -107,7 +107,7 @@ package aes_pkg is
function shiftrow (input : t_datatable2d) return t_datatable2d;
function invshiftrow (input : t_datatable2d) return t_datatable2d;
-- function mixcolumns (input : t_datatable2d) return t_datatable2d;
function mixcolumns (input : t_datatable2d) return t_datatable2d;
function sortdata (input : std_logic_vector(127 downto 0)) return t_datatable2d;
@ -206,4 +206,16 @@ package body aes_pkg is
end function gmul;
-- matrix columns manipulation
-- 02 03 01 01
-- 01 02 03 01
-- 01 01 02 03
-- 03 01 01 02
function mixcolumns (input : t_datatable2d; column : natural) return t_datatable2d is
variable v_data : t_datatable2d;
begin
end function mixcolumns;
end package body aes_pkg;

Loading…
Cancel
Save