2019-10-04 16:24:09 +08:00
|
|
|
# We make separate GOAL variables for each algorithm, to make it easy to
|
|
|
|
# switch each to the Legacy provider when needed.
|
|
|
|
|
|
|
|
$GMAC_GOAL=../../libimplementations.a
|
|
|
|
$HMAC_GOAL=../../libimplementations.a
|
|
|
|
$KMAC_GOAL=../../libimplementations.a
|
|
|
|
$CMAC_GOAL=../../libimplementations.a
|
2019-10-04 17:28:20 +08:00
|
|
|
$BLAKE2_GOAL=../../libimplementations.a
|
|
|
|
$SIPHASH_GOAL=../../libimplementations.a
|
|
|
|
$POLY1305_GOAL=../../libimplementations.a
|
2019-10-04 16:24:09 +08:00
|
|
|
|
|
|
|
SOURCE[$GMAC_GOAL]=gmac_prov.c
|
|
|
|
SOURCE[$HMAC_GOAL]=hmac_prov.c
|
|
|
|
SOURCE[$KMAC_GOAL]=kmac_prov.c
|
|
|
|
|
|
|
|
IF[{- !$disabled{cmac} -}]
|
|
|
|
SOURCE[$CMAC_GOAL]=cmac_prov.c
|
|
|
|
ENDIF
|
2019-10-04 17:28:20 +08:00
|
|
|
|
|
|
|
$GOAL=../../libimplementations.a
|
|
|
|
|
|
|
|
IF[{- !$disabled{blake2} -}]
|
|
|
|
SOURCE[$BLAKE2_GOAL]=blake2b_mac.c blake2s_mac.c
|
|
|
|
ENDIF
|
|
|
|
|
|
|
|
IF[{- !$disabled{siphash} -}]
|
|
|
|
SOURCE[$SIPHASH_GOAL]=siphash_prov.c
|
|
|
|
ENDIF
|
|
|
|
|
|
|
|
IF[{- !$disabled{poly1305} -}]
|
|
|
|
SOURCE[$POLY1305_GOAL]=poly1305_prov.c
|
|
|
|
ENDIF
|