Move cmll_asm_src file information to build.info files
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9166)
This commit is contained in:
parent
681c7e905d
commit
94707b0b68
4 changed files with 15 additions and 11 deletions
|
@ -14,7 +14,6 @@ my %targets=(
|
|||
thread_scheme => "(unknown)", # Assume we don't know
|
||||
thread_defines => [],
|
||||
|
||||
cmll_asm_src => "camellia.c cmll_misc.c cmll_cbc.c",
|
||||
modes_asm_src => "",
|
||||
padlock_asm_src => "",
|
||||
chacha_asm_src => "chacha_enc.c",
|
||||
|
@ -156,7 +155,6 @@ my %targets=(
|
|||
|
||||
x86_asm => {
|
||||
template => 1,
|
||||
cmll_asm_src => "cmll-x86.s",
|
||||
modes_asm_src => "ghash-x86.s",
|
||||
padlock_asm_src => "e_padlock-x86.s",
|
||||
chacha_asm_src => "chacha-x86.s",
|
||||
|
@ -168,7 +166,6 @@ my %targets=(
|
|||
},
|
||||
x86_64_asm => {
|
||||
template => 1,
|
||||
cmll_asm_src => "cmll-x86_64.s cmll_misc.c",
|
||||
modes_asm_src => "ghash-x86_64.s aesni-gcm-x86_64.s",
|
||||
padlock_asm_src => "e_padlock-x86_64.s",
|
||||
chacha_asm_src => "chacha-x86_64.s",
|
||||
|
@ -183,7 +180,6 @@ my %targets=(
|
|||
},
|
||||
sparcv9_asm => {
|
||||
template => 1,
|
||||
cmll_asm_src => "camellia.c cmll_misc.c cmll_cbc.c cmllt4-sparcv9.S",
|
||||
modes_asm_src => "ghash-sparcv9.S",
|
||||
poly1305_asm_src=> "poly1305-sparcv9.S",
|
||||
},
|
||||
|
|
|
@ -240,9 +240,6 @@ In each table entry, the following keys are significant:
|
|||
export vars as
|
||||
accessor functions.
|
||||
|
||||
cmll_asm_src => Assembler implementation of core CAMELLIA
|
||||
functions.
|
||||
Defaults to 'camellia.c cmll_misc.c cmll_cbc.c'
|
||||
modes_asm_src => Assembler implementation of cipher modes,
|
||||
currently the functions gcm_gmult_4bit and
|
||||
gcm_ghash_4bit.
|
||||
|
|
|
@ -3344,7 +3344,6 @@ sub print_table_entry
|
|||
"loutflag",
|
||||
"ex_libs",
|
||||
"bn_ops",
|
||||
"cmll_asm_src",
|
||||
"modes_asm_src",
|
||||
"padlock_asm_src",
|
||||
"chacha_asm_src",
|
||||
|
|
|
@ -1,7 +1,19 @@
|
|||
LIBS=../../libcrypto
|
||||
SOURCE[../../libcrypto]=\
|
||||
cmll_ecb.c cmll_ofb.c cmll_cfb.c cmll_ctr.c \
|
||||
{- $target{cmll_asm_src} -}
|
||||
|
||||
$CMLLASM=camellia.c cmll_misc.c cmll_cbc.c
|
||||
IF[{- !$disabled{asm} -}]
|
||||
$CMLLASM_x86=cmll-x86.s
|
||||
$CMLLASM_x86_64=cmll-x86_64.s cmll_misc.c
|
||||
$CMLLASM_sparcv9=camellia.c cmll_misc.c cmll_cbc.c cmllt4-sparcv9.S
|
||||
|
||||
# Now that we have defined all the arch specific variables, use the
|
||||
# appropriate one
|
||||
IF[$CMLLASM_{- $target{asm_arch} -}]
|
||||
$CMLLASM=$CMLLASM_{- $target{asm_arch} -}
|
||||
ENDIF
|
||||
ENDIF
|
||||
|
||||
SOURCE[../../libcrypto]=cmll_ecb.c cmll_ofb.c cmll_cfb.c cmll_ctr.c $CMLLASM
|
||||
|
||||
GENERATE[cmll-x86.s]=asm/cmll-x86.pl \
|
||||
$(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) \
|
||||
|
|
Loading…
Reference in a new issue