2019-06-17 02:21:48 +08:00
|
|
|
$DESASM=des_enc.c fcrypt_b.c
|
|
|
|
IF[{- !$disabled{asm} -}]
|
|
|
|
$DESASM_x86=des-586.s crypt586.s
|
|
|
|
$DESASM_sparcv9=des_enc-sparc.S fcrypt_b.c dest4-sparcv9.S
|
|
|
|
$DESASM_sparcv8=des_enc-sparc.S fcrypt_b.c
|
|
|
|
|
|
|
|
# Now that we have defined all the arch specific variables, use the
|
|
|
|
# appropriate one
|
|
|
|
IF[$DESASM_{- $target{asm_arch} -}]
|
|
|
|
$DESASM=$DESASM_{- $target{asm_arch} -}
|
2019-12-19 20:31:29 +08:00
|
|
|
$DESDEF=DES_ASM
|
2019-06-17 02:21:48 +08:00
|
|
|
ENDIF
|
|
|
|
ENDIF
|
|
|
|
|
2016-01-30 06:33:10 +08:00
|
|
|
LIBS=../../libcrypto
|
2020-05-01 13:15:02 +08:00
|
|
|
$COMMON=set_key.c ecb3_enc.c
|
2020-04-09 10:47:46 +08:00
|
|
|
$ALL=$COMMON\
|
|
|
|
ecb_enc.c cbc_enc.c \
|
|
|
|
cfb64enc.c cfb64ede.c cfb_enc.c \
|
|
|
|
ofb64ede.c ofb64enc.c ofb_enc.c \
|
|
|
|
str2key.c pcbc_enc.c qud_cksm.c rand_key.c \
|
|
|
|
fcrypt.c xcbc_enc.c cbc_cksm.c
|
|
|
|
|
2020-05-01 13:15:02 +08:00
|
|
|
SOURCE[../../libcrypto]=$ALL $DESASM
|
|
|
|
SOURCE[../../providers/libfips.a]=$COMMON $DESASM
|
|
|
|
SOURCE[../../providers/liblegacy.a]=$DESASM
|
|
|
|
|
2019-12-19 20:31:29 +08:00
|
|
|
DEFINE[../../libcrypto]=$DESDEF
|
|
|
|
DEFINE[../../providers/libfips.a]=$DESDEF
|
2020-04-09 10:47:46 +08:00
|
|
|
DEFINE[../../providers/liblegacy.a]=$DESDEF
|
2016-01-30 10:25:40 +08:00
|
|
|
|
2020-02-06 18:31:41 +08:00
|
|
|
# When all deprecated symbols are removed, libcrypto doesn't export the
|
|
|
|
# DES functions, so we must include them directly in liblegacy.a
|
|
|
|
IF[{- $disabled{'deprecated-3.0'} && !$disabled{"mdc2"} -}]
|
2020-04-09 10:47:46 +08:00
|
|
|
SOURCE[../../providers/liblegacy.a]=$ALL
|
2020-01-16 11:50:03 +08:00
|
|
|
DEFINE[../../providers/liblegacy.a]=$DESDEF
|
|
|
|
ENDIF
|
|
|
|
|
2016-03-07 22:46:42 +08:00
|
|
|
GENERATE[des_enc-sparc.S]=asm/des_enc.m4
|
2019-09-13 06:05:26 +08:00
|
|
|
GENERATE[dest4-sparcv9.S]=asm/dest4-sparcv9.pl
|
2016-03-11 03:05:52 +08:00
|
|
|
INCLUDE[dest4-sparcv9.o]=..
|
2016-01-30 10:25:40 +08:00
|
|
|
|
2019-09-13 06:05:26 +08:00
|
|
|
GENERATE[des-586.s]=asm/des-586.pl
|
2016-03-07 22:46:42 +08:00
|
|
|
DEPEND[des-586.s]=../perlasm/x86asm.pl ../perlasm/cbc.pl
|
2019-09-13 06:05:26 +08:00
|
|
|
GENERATE[crypt586.s]=asm/crypt586.pl
|
2016-03-07 22:46:42 +08:00
|
|
|
DEPEND[crypt586.s]=../perlasm/x86asm.pl ../perlasm/cbc.pl
|