Latest update.
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
# The latter may become legacy sooner, so it's comfortable to have two
|
||||
# variables already now, to switch the non-FIPSable TDES to legacy if needed.
|
||||
|
||||
$COMMON_GOAL=../../libcommon.a
|
||||
|
||||
$AES_GOAL=../../libimplementations.a
|
||||
$TDES_1_GOAL=../../libimplementations.a
|
||||
$TDES_2_GOAL=../../libimplementations.a
|
||||
@@ -21,6 +23,13 @@ $RC5_GOAL=../../libimplementations.a
|
||||
$RC2_GOAL=../../libimplementations.a
|
||||
$CHACHA_GOAL=../../libimplementations.a
|
||||
$CHACHAPOLY_GOAL=../../libimplementations.a
|
||||
$SIV_GOAL=../../libimplementations.a
|
||||
|
||||
# This source is common building blocks for all ciphers in all our providers.
|
||||
SOURCE[$COMMON_GOAL]=\
|
||||
ciphercommon.c ciphercommon_hw.c ciphercommon_block.c \
|
||||
ciphercommon_gcm.c ciphercommon_gcm_hw.c \
|
||||
ciphercommon_ccm.c ciphercommon_ccm_hw.c
|
||||
|
||||
IF[{- !$disabled{des} -}]
|
||||
SOURCE[$TDES_1_GOAL]=cipher_tdes.c cipher_tdes_hw.c
|
||||
@@ -31,12 +40,20 @@ SOURCE[$AES_GOAL]=\
|
||||
cipher_aes_xts.c cipher_aes_xts_hw.c \
|
||||
cipher_aes_gcm.c cipher_aes_gcm_hw.c \
|
||||
cipher_aes_ccm.c cipher_aes_ccm_hw.c \
|
||||
cipher_aes_wrp.c
|
||||
cipher_aes_wrp.c \
|
||||
cipher_aes_cbc_hmac_sha.c \
|
||||
cipher_aes_cbc_hmac_sha256_hw.c cipher_aes_cbc_hmac_sha1_hw.c
|
||||
|
||||
# Extra code to satisfy the FIPS and non-FIPS separation.
|
||||
# When the AES-xxx-XTS moves to legacy, this can be removed.
|
||||
SOURCE[../../libfips.a]=cipher_aes_xts_fips.c
|
||||
SOURCE[../../libnonfips.a]=cipher_aes_xts_fips.c
|
||||
|
||||
IF[{- !$disabled{siv} -}]
|
||||
SOURCE[$SIV_GOAL]=\
|
||||
cipher_aes_siv.c cipher_aes_siv_hw.c
|
||||
ENDIF
|
||||
|
||||
IF[{- !$disabled{des} -}]
|
||||
SOURCE[$TDES_2_GOAL]=\
|
||||
cipher_tdes_default.c cipher_tdes_default_hw.c \
|
||||
@@ -91,6 +108,10 @@ ENDIF
|
||||
IF[{- !$disabled{rc4} -}]
|
||||
SOURCE[$RC4_GOAL]=\
|
||||
cipher_rc4.c cipher_rc4_hw.c
|
||||
IF[{- !$disabled{md5} -}]
|
||||
SOURCE[$RC4_GOAL]=\
|
||||
cipher_rc4_hmac_md5.c cipher_rc4_hmac_md5_hw.c
|
||||
ENDIF
|
||||
ENDIF
|
||||
|
||||
IF[{- !$disabled{rc5} -}]
|
||||
@@ -111,4 +132,3 @@ IF[{- !$disabled{chacha} -}]
|
||||
cipher_chacha20_poly1305.c cipher_chacha20_poly1305_hw.c
|
||||
ENDIF
|
||||
ENDIF
|
||||
|
||||
Reference in New Issue
Block a user