thread_scheme => "(unknown)", # Assume we don't know
thread_defines => [],
- bf_asm_src => "bf_enc.c",
md5_asm_src => "",
cast_asm_src => "c_enc.c",
rc4_asm_src => "rc4_enc.c rc4_skey.c",
x86_asm => {
template => 1,
- bf_asm_src => "bf-586.s",
md5_asm_src => "md5-586.s",
cast_asm_src => "cast-586.s",
sha1_asm_src => "sha1-586.s sha256-586.s sha512-586.s",
export vars as
accessor functions.
- bf_asm_src => Assembler implementation of core BlowFish
- functions.
- Defaults to 'bf_enc.c'
md5_asm_src => Assembler implementation of core MD5
functions.
sha1_asm_src => Assembler implementation of core SHA1,
"loutflag",
"ex_libs",
"bn_ops",
- "bf_asm_src",
"md5_asm_src",
"cast_asm_src",
"sha1_asm_src",
LIBS=../../libcrypto
-SOURCE[../../libcrypto]=bf_skey.c bf_ecb.c bf_cfb64.c bf_ofb64.c \
- {- $target{bf_asm_src} -}
+
+$BFASM=bf_enc.c
+IF[{- !$disabled{asm} -}]
+ $BFASM_x86=bf-586.s
+
+ # Now that we have defined all the arch specific variables, use the
+ # appropriate one
+ IF[$BFASM_{- $target{asm_arch} -}]
+ $BFASM=$BFASM_{- $target{asm_arch} -}
+ ENDIF
+ENDIF
+
+SOURCE[../../libcrypto]=bf_skey.c bf_ecb.c bf_cfb64.c bf_ofb64.c $BFASM
GENERATE[bf-586.s]=asm/bf-586.pl \
$(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR)