PROV: Add DERlib support for ECDSA and EC keys
[openssl.git] / providers / implementations / signature / build.info
index 22b55dcf54eb0863a52d27ac3993cf22190d13d6..dbe0876a0e35b79e304af02ed8c1450d1d8a4607 100644 (file)
@@ -2,12 +2,21 @@
 # switch each to the Legacy provider when needed.
 
 $DSA_GOAL=../../libimplementations.a
-$RSA_GOAL=../../libimplementations.a
+$EC_GOAL=../../libimplementations.a
+$ECDSA_GOAL=../../libimplementations.a
 
 IF[{- !$disabled{dsa} -}]
   SOURCE[$DSA_GOAL]=dsa.c
 ENDIF
 
-SOURCE[$RSA_GOAL]=rsa.c
+IF[{- !$disabled{ec} -}]
+  SOURCE[$EC_GOAL]=eddsa.c
+  SOURCE[$ECDSA_GOAL]=ecdsa.c
+ENDIF
 
+SOURCE[../../libfips.a]=rsa.c
+SOURCE[../../libnonfips.a]=rsa.c
 
+DEPEND[rsa.o]=../../common/include/prov/der_rsa.h
+DEPEND[dsa.o]=../../common/include/prov/der_dsa.h
+DEPEND[ecdsa.o]=../../common/include/prov/der_ec.h