X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilccrypt%2Faes_x86.asm;fp=lib%2Fsilccrypt%2Faes_x86.asm;h=cb426a12e8cab2abb512606d33b7ded928512cae;hb=1c41d8bb1303a036c2c16abe416fdb7628f75c3d;hp=f9c34e6623065ac52b66c44790202ca3f4ca2004;hpb=4dc3f89eed4c7e716873df2daf65fb8bd2bcc314;p=silc.git diff --git a/lib/silccrypt/aes_x86.asm b/lib/silccrypt/aes_x86.asm index f9c34e66..cb426a12 100644 --- a/lib/silccrypt/aes_x86.asm +++ b/lib/silccrypt/aes_x86.asm @@ -219,10 +219,6 @@ stk_spc equ 20 ; stack space %define eltab_2(x) [t_fl+2048+4*x] %define eltab_3(x) [t_fl+3072+4*x] -%else - -%define etab_b(x) byte [t_fn+3072+4*x] - %endif ; ROUND FUNCTION. Build column[2] on ESI and column[3] on EDI that have the @@ -302,25 +298,6 @@ stk_spc equ 20 ; stack space mov %1,eltab_%3(%4) %endmacro -%else - - %macro lr_xor 4 - movzx %4,%2 - movzx %4,etab_b(%4) - %if %3 != 0 - shl %4,8*%3 - %endif - xor %1,%4 - %endmacro - - %macro lr_mov 4 - movzx %4,%2 - movzx %1,etab_b(%4) - %if %3 != 0 - shl %1,8*%3 - %endif - %endmacro - %endif %macro enc_round 0 @@ -442,12 +419,6 @@ stk_spc equ 20 ; stack space %define dltab_2(x) [t_il+2048+4*x] %define dltab_3(x) [t_il+3072+4*x] -%else - - extern t_ibox - -%define dtab_x(x) byte [t_ibox+x] - %endif %macro irn_fun 2 @@ -504,25 +475,6 @@ stk_spc equ 20 ; stack space mov %1,dltab_%3(%4) %endmacro -%else - - %macro li_xor 4 - movzx %4,%2 - movzx %4,dtab_x(%4) - %if %3 != 0 - shl %4,8*%3 - %endif - xor %1,%4 - %endmacro - - %macro li_mov 4 - movzx %4,%2 - movzx %1,dtab_x(%4) - %if %3 != 0 - shl %1,8*%3 - %endif - %endmacro - %endif %macro dec_round 0