Add AES SIV ciphers to default provider
[openssl.git] / providers / implementations / ciphers / build.info
1 # We make separate GOAL variables for each algorithm, to make it easy to
2 # switch each to the Legacy provider when needed.
3 #
4 # $TDES_1_GOAL and $TDES_2_GOAL separate FIPSable and non-FIPSable TDES.
5 # The latter may become legacy sooner, so it's comfortable to have two
6 # variables already now, to switch the non-FIPSable TDES to legacy if needed.
7
8 $AES_GOAL=../../libimplementations.a
9 $TDES_1_GOAL=../../libimplementations.a
10 $TDES_2_GOAL=../../libimplementations.a
11 $DES_GOAL=../../libimplementations.a
12 $ARIA_GOAL=../../libimplementations.a
13 $CAMELLIA_GOAL=../../libimplementations.a
14 $BLOWFISH_GOAL=../../libimplementations.a
15 $IDEA_GOAL=../../libimplementations.a
16 $CAST5_GOAL=../../libimplementations.a
17 $SEED_GOAL=../../libimplementations.a
18 $SM4_GOAL=../../libimplementations.a
19 $RC4_GOAL=../../libimplementations.a
20 $RC5_GOAL=../../libimplementations.a
21 $RC2_GOAL=../../libimplementations.a
22 $CHACHA_GOAL=../../libimplementations.a
23 $CHACHAPOLY_GOAL=../../libimplementations.a
24 $SIV_GOAL=../../libimplementations.a
25
26 IF[{- !$disabled{des} -}]
27   SOURCE[$TDES_1_GOAL]=cipher_tdes.c cipher_tdes_hw.c
28 ENDIF
29
30 SOURCE[$AES_GOAL]=\
31         cipher_aes.c cipher_aes_hw.c \
32         cipher_aes_xts.c cipher_aes_xts_hw.c \
33         cipher_aes_gcm.c cipher_aes_gcm_hw.c \
34         cipher_aes_ccm.c cipher_aes_ccm_hw.c \
35         cipher_aes_wrp.c
36 # Extra code to satisfy the FIPS and non-FIPS separation.
37 # When the AES-xxx-XTS moves to legacy, this can be removed.
38 SOURCE[../../libfips.a]=cipher_aes_xts_fips.c
39 SOURCE[../../libnonfips.a]=cipher_aes_xts_fips.c
40
41 IF[{- !$disabled{siv} -}]
42   SOURCE[$SIV_GOAL]=\
43       cipher_aes_siv.c cipher_aes_siv_hw.c
44 ENDIF
45
46 IF[{- !$disabled{des} -}]
47   SOURCE[$TDES_2_GOAL]=\
48       cipher_tdes_default.c cipher_tdes_default_hw.c \
49       cipher_tdes_wrap.c cipher_tdes_wrap_hw.c
50   SOURCE[$DES_GOAL]=\
51       cipher_desx.c cipher_desx_hw.c \
52       cipher_des.c cipher_des_hw.c
53 ENDIF
54
55 IF[{- !$disabled{aria} -}]
56   SOURCE[$ARIA_GOAL]=\
57       cipher_aria.c cipher_aria_hw.c \
58       cipher_aria_gcm.c cipher_aria_gcm_hw.c \
59       cipher_aria_ccm.c cipher_aria_ccm_hw.c
60 ENDIF
61
62 IF[{- !$disabled{camellia} -}]
63   SOURCE[$CAMELLIA_GOAL]=\
64       cipher_camellia.c cipher_camellia_hw.c
65 ENDIF
66
67 IF[{- !$disabled{bf} -}]
68   SOURCE[$BLOWFISH_GOAL]=\
69       cipher_blowfish.c cipher_blowfish_hw.c
70 ENDIF
71
72 IF[{- !$disabled{idea} -}]
73   SOURCE[$IDEA_GOAL]=\
74       cipher_idea.c cipher_idea_hw.c
75 ENDIF
76
77 IF[{- !$disabled{cast} -}]
78   SOURCE[$CAST5_GOAL]=\
79       cipher_cast5.c cipher_cast5_hw.c
80 ENDIF
81
82 IF[{- !$disabled{seed} -}]
83   SOURCE[$SEED_GOAL]=\
84       cipher_seed.c cipher_seed_hw.c
85 ENDIF
86
87 IF[{- !$disabled{sm4} -}]
88   SOURCE[$SM4_GOAL]=\
89       cipher_sm4.c cipher_sm4_hw.c
90 ENDIF
91
92 IF[{- !$disabled{ocb} -}]
93   SOURCE[$AES_GOAL]=\
94        cipher_aes_ocb.c cipher_aes_ocb_hw.c
95 ENDIF
96
97 IF[{- !$disabled{rc4} -}]
98   SOURCE[$RC4_GOAL]=\
99       cipher_rc4.c cipher_rc4_hw.c
100 ENDIF
101
102 IF[{- !$disabled{rc5} -}]
103   SOURCE[$RC5_GOAL]=\
104       cipher_rc5.c cipher_rc5_hw.c
105 ENDIF
106
107 IF[{- !$disabled{rc2} -}]
108   SOURCE[$RC2_GOAL]=\
109       cipher_rc2.c cipher_rc2_hw.c
110 ENDIF
111
112 IF[{- !$disabled{chacha} -}]
113   SOURCE[$CHACHA_GOAL]=\
114       cipher_chacha20.c cipher_chacha20_hw.c
115  IF[{- !$disabled{poly1305} -}]
116   SOURCE[$CHACHAPOLY_GOAL]=\
117       cipher_chacha20_poly1305.c cipher_chacha20_poly1305_hw.c
118  ENDIF
119 ENDIF
120