aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssl/providers/implementations/exchange/build.info
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/providers/implementations/exchange/build.info')
-rw-r--r--crypto/openssl/providers/implementations/exchange/build.info29
1 files changed, 29 insertions, 0 deletions
diff --git a/crypto/openssl/providers/implementations/exchange/build.info b/crypto/openssl/providers/implementations/exchange/build.info
new file mode 100644
index 000000000000..3c1e5c58f1e3
--- /dev/null
+++ b/crypto/openssl/providers/implementations/exchange/build.info
@@ -0,0 +1,29 @@
+# We make separate GOAL variables for each algorithm, to make it easy to
+# switch each to the Legacy provider when needed.
+
+$DH_GOAL=../../libdefault.a ../../libfips.a
+$ECDH_GOAL=../../libdefault.a ../../libfips.a
+$ECX_GOAL=../../libdefault.a ../../libfips.a
+$KDF_GOAL=../../libdefault.a ../../libfips.a
+
+IF[{- !$disabled{dh} -}]
+ SOURCE[$DH_GOAL]=dh_exch.c
+ENDIF
+
+IF[{- !$disabled{asm} -}]
+ $ECDEF_s390x=S390X_EC_ASM
+
+ # Now that we have defined all the arch specific variables, use the
+ # appropriate one, and define the appropriate macros
+ IF[$ECASM_{- $target{asm_arch} -}]
+ $ECDEF=$ECDEF_{- $target{asm_arch} -}
+ ENDIF
+ENDIF
+
+IF[{- !$disabled{ec} -}]
+ SOURCE[$ECX_GOAL]=ecx_exch.c
+ DEFINE[$ECX_GOAL]=$ECDEF
+ SOURCE[$ECDH_GOAL]=ecdh_exch.c
+ENDIF
+
+SOURCE[$KDF_GOAL]=kdf_exch.c