Add Camellia assembler x86 and x86_64 modules.
This commit is contained in:
parent
48114ec952
commit
ae381fef5c
5 changed files with 2265 additions and 40 deletions
|
@ -116,11 +116,11 @@ my $tlib="-lnsl -lsocket";
|
|||
my $bits1="THIRTY_TWO_BIT ";
|
||||
my $bits2="SIXTY_FOUR_BIT ";
|
||||
|
||||
my $x86_asm="x86cpuid.o:bn-586.o co-586.o x86-mont.o:des-586.o crypt586.o:aes-586.o:bf-586.o:md5-586.o:sha1-586.o sha256-586.o sha512-586.o:cast-586.o:rc4-586.o:rmd-586.o:rc5-586.o:wp_block.o wp-mmx.o:";
|
||||
my $x86_asm="x86cpuid.o:bn-586.o co-586.o x86-mont.o:des-586.o crypt586.o:aes-586.o:bf-586.o:md5-586.o:sha1-586.o sha256-586.o sha512-586.o:cast-586.o:rc4-586.o:rmd-586.o:rc5-586.o:wp_block.o wp-mmx.o:cmll-x86.o";
|
||||
|
||||
my $x86_elf_asm="$x86_asm:elf";
|
||||
|
||||
my $x86_64_asm="x86_64cpuid.o:x86_64-gcc.o x86_64-mont.o::aes-x86_64.o::md5-x86_64.o:sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o::rc4-x86_64.o:::wp-x86_64.o:";
|
||||
my $x86_64_asm="x86_64cpuid.o:x86_64-gcc.o x86_64-mont.o::aes-x86_64.o::md5-x86_64.o:sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o::rc4-x86_64.o:::wp-x86_64.o:cmll-x86_64.o cmll_misc.o";
|
||||
my $ia64_asm="ia64cpuid.o:bn-ia64.o::aes_core.o aes_cbc.o aes-ia64.o::md5-ia64.o:sha1-ia64.o sha256-ia64.o sha512-ia64.o::rc4-ia64.o rc4_skey.o:::::void";
|
||||
my $sparcv9_asm="sparcv9cap.o sparccpuid.o:bn-sparcv9.o sparcv9-mont.o sparcv9a-mont.o:des_enc-sparc.o fcrypt_b.o:aes_core.o aes_cbc.o aes-sparcv9.o:::sha1-sparcv9.o sha256-sparcv9.o sha512-sparcv9.o:::::::void";
|
||||
my $sparcv8_asm=":sparcv8.o:des_enc-sparc.o fcrypt_b.o:::::::::::void";
|
||||
|
|
76
TABLE
76
TABLE
|
@ -230,7 +230,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = a.out
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= bsd-shared
|
||||
|
@ -260,7 +260,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= bsd-shared
|
||||
|
@ -290,7 +290,7 @@ $rc4_obj = rc4-x86_64.o
|
|||
$rmd160_obj =
|
||||
$rc5_obj =
|
||||
$wp_obj = wp-x86_64.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86_64.o cmll_misc.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= bsd-gcc-shared
|
||||
|
@ -320,7 +320,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = coff
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= cygwin-shared
|
||||
|
@ -380,7 +380,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = a.out
|
||||
$dso_scheme =
|
||||
$shared_target=
|
||||
|
@ -650,7 +650,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = win32n
|
||||
$dso_scheme = win32
|
||||
$shared_target=
|
||||
|
@ -920,7 +920,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = beos
|
||||
$shared_target= beos-shared
|
||||
|
@ -950,7 +950,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = beos
|
||||
$shared_target= beos-shared
|
||||
|
@ -980,7 +980,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= bsd-gcc-shared
|
||||
|
@ -1100,7 +1100,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = macosx
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= darwin-shared
|
||||
|
@ -1190,7 +1190,7 @@ $rc4_obj = rc4-x86_64.o
|
|||
$rmd160_obj =
|
||||
$rc5_obj =
|
||||
$wp_obj = wp-x86_64.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86_64.o cmll_misc.o
|
||||
$perlasm_scheme = macosx
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= darwin-shared
|
||||
|
@ -1250,7 +1250,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= bsd-shared
|
||||
|
@ -1490,7 +1490,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme =
|
||||
$shared_target=
|
||||
|
@ -1520,7 +1520,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = macosx
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= darwin-shared
|
||||
|
@ -1640,7 +1640,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= linux-shared
|
||||
|
@ -1670,7 +1670,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= linux-shared
|
||||
|
@ -1760,7 +1760,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= linux-shared
|
||||
|
@ -1790,7 +1790,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= linux-shared
|
||||
|
@ -1850,7 +1850,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target=
|
||||
|
@ -1880,7 +1880,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target=
|
||||
|
@ -1910,7 +1910,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme =
|
||||
$shared_target=
|
||||
|
@ -2060,7 +2060,7 @@ $rc4_obj = rc4-x86_64.o
|
|||
$rmd160_obj =
|
||||
$rc5_obj =
|
||||
$wp_obj = wp-x86_64.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86_64.o cmll_misc.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= linux-shared
|
||||
|
@ -2090,7 +2090,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= linux-shared
|
||||
|
@ -2120,7 +2120,7 @@ $rc4_obj = rc4-x86_64.o
|
|||
$rmd160_obj =
|
||||
$rc5_obj =
|
||||
$wp_obj = wp-x86_64.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86_64.o cmll_misc.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= linux-shared
|
||||
|
@ -2270,7 +2270,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme =
|
||||
$shared_target=
|
||||
|
@ -2780,7 +2780,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= linux-shared
|
||||
|
@ -3110,7 +3110,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = a.out
|
||||
$dso_scheme =
|
||||
$shared_target=
|
||||
|
@ -3170,7 +3170,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= linux-shared
|
||||
|
@ -3260,7 +3260,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= linux-shared
|
||||
|
@ -3530,7 +3530,7 @@ $rc4_obj = rc4-x86_64.o
|
|||
$rmd160_obj =
|
||||
$rc5_obj =
|
||||
$wp_obj = wp-x86_64.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86_64.o cmll_misc.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= linux-shared
|
||||
|
@ -3590,7 +3590,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = coff
|
||||
$dso_scheme = win32
|
||||
$shared_target= cygwin-shared
|
||||
|
@ -4190,7 +4190,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= svr3-shared
|
||||
|
@ -4220,7 +4220,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= svr3-shared
|
||||
|
@ -4460,7 +4460,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= solaris-shared
|
||||
|
@ -4550,7 +4550,7 @@ $rc4_obj = rc4-x86_64.o
|
|||
$rmd160_obj =
|
||||
$rc5_obj =
|
||||
$wp_obj = wp-x86_64.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86_64.o cmll_misc.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= solaris-shared
|
||||
|
@ -4580,7 +4580,7 @@ $rc4_obj = rc4-x86_64.o
|
|||
$rmd160_obj =
|
||||
$rc5_obj =
|
||||
$wp_obj = wp-x86_64.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86_64.o cmll_misc.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= solaris-shared
|
||||
|
@ -4820,7 +4820,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= svr5-shared
|
||||
|
@ -4850,7 +4850,7 @@ $rc4_obj = rc4-586.o
|
|||
$rmd160_obj = rmd-586.o
|
||||
$rc5_obj = rc5-586.o
|
||||
$wp_obj = wp_block.o wp-mmx.o
|
||||
$cmll_obj =
|
||||
$cmll_obj = cmll-x86.o
|
||||
$perlasm_scheme = elf
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= gnu-shared
|
||||
|
|
|
@ -44,6 +44,11 @@ lib: $(LIBOBJ)
|
|||
$(RANLIB) $(LIB) || echo Never mind.
|
||||
@touch lib
|
||||
|
||||
cmll-x86.s: asm/cmll-x86.pl ../perlasm/x86asm.pl
|
||||
$(PERL) asm/cmll-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
|
||||
cmll-x86_64.s: asm/cmll-x86_64.pl
|
||||
$(PERL) asm/cmll-x86_64.pl $(PERLASM_SCHEME) > $@
|
||||
|
||||
files:
|
||||
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
|
||||
|
||||
|
|
1138
crypto/camellia/asm/cmll-x86.pl
Normal file
1138
crypto/camellia/asm/cmll-x86.pl
Normal file
File diff suppressed because it is too large
Load diff
1082
crypto/camellia/asm/cmll-x86_64.pl
Normal file
1082
crypto/camellia/asm/cmll-x86_64.pl
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue