Providers: move default kdfs,macs
authorRichard Levitte <levitte@openssl.org>
Fri, 4 Oct 2019 09:28:20 +0000 (11:28 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 10 Oct 2019 12:12:15 +0000 (14:12 +0200)
From providers/default/ to providers/implementations/

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10088)

13 files changed:
providers/default/build.info
providers/default/kdfs/build.info [deleted file]
providers/default/macs/build.info [deleted file]
providers/implementations/kdfs/build.info
providers/implementations/kdfs/scrypt.c [moved from providers/default/kdfs/scrypt.c with 100% similarity]
providers/implementations/kdfs/sshkdf.c [moved from providers/default/kdfs/sshkdf.c with 100% similarity]
providers/implementations/kdfs/x942kdf.c [moved from providers/default/kdfs/x942kdf.c with 100% similarity]
providers/implementations/macs/blake2_mac_impl.c [moved from providers/default/macs/blake2_mac_impl.c with 100% similarity]
providers/implementations/macs/blake2b_mac.c [moved from providers/default/macs/blake2b_mac.c with 100% similarity]
providers/implementations/macs/blake2s_mac.c [moved from providers/default/macs/blake2s_mac.c with 100% similarity]
providers/implementations/macs/build.info
providers/implementations/macs/poly1305_prov.c [moved from providers/default/macs/poly1305_prov.c with 100% similarity]
providers/implementations/macs/siphash_prov.c [moved from providers/default/macs/siphash_prov.c with 100% similarity]

index 31ae5079653c12a7832d6bf05a306576ce6fa73f..67b4d3a977d24f288f27c0fc88c5fc4791b9a838 100644 (file)
@@ -1,4 +1,4 @@
-SUBDIRS=digests kdfs macs ciphers
+SUBDIRS=digests ciphers
 $GOAL=../../libcrypto
 SOURCE[$GOAL]=defltprov.c
 INCLUDE[$GOAL]=include
diff --git a/providers/default/kdfs/build.info b/providers/default/kdfs/build.info
deleted file mode 100644 (file)
index 90b127d..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-$GOAL=../../libimplementations.a
-SOURCE[$GOAL]=scrypt.c sshkdf.c x942kdf.c
diff --git a/providers/default/macs/build.info b/providers/default/macs/build.info
deleted file mode 100644 (file)
index 821a3d4..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-$GOAL=../../libimplementations.a
-
-IF[{- !$disabled{blake2} -}]
-  SOURCE[$GOAL]=blake2b_mac.c blake2s_mac.c
-ENDIF
-
-IF[{- !$disabled{siphash} -}]
-  SOURCE[$GOAL]=siphash_prov.c
-ENDIF
-
-IF[{- !$disabled{poly1305} -}]
-  SOURCE[$GOAL]=poly1305_prov.c
-ENDIF
index 8800b12f7e366694f427e00263926ca781ed8a06..dee8f532fa3edaa335449bca023a1041f7c227e6 100644 (file)
@@ -6,6 +6,9 @@ $HKDF_GOAL=../../libimplementations.a
 $KBKDF_GOAL=../../libimplementations.a
 $PBKDF2_GOAL=../../libimplementations.a
 $SSKDF_GOAL=../../libimplementations.a
+$SCRYPT_GOAL=../../libimplementations.a
+$SSHKDF_GOAL=../../libimplementations.a
+$X942KDF_GOAL=../../libimplementations.a
 
 SOURCE[$TLS1_PRF_GOAL]=tls1_prf.c
 
@@ -20,3 +23,7 @@ SOURCE[../../libfips.a]=pbkdf2_fips.c
 SOURCE[../../libnonfips.a]=pbkdf2_fips.c
 
 SOURCE[$SSKDF_GOAL]=sskdf.c
+
+SOURCE[$SCRYPT_GOAL]=scrypt.c
+SOURCE[$SSHKDF_GOAL]=sshkdf.c
+SOURCE[$X942KDF_GOAL]=x942kdf.c
index d4538098e0e6b8816cbad079154a46136856206a..07c40d354bddb7964badc2689431f8f91945903c 100644 (file)
@@ -5,6 +5,9 @@ $GMAC_GOAL=../../libimplementations.a
 $HMAC_GOAL=../../libimplementations.a
 $KMAC_GOAL=../../libimplementations.a
 $CMAC_GOAL=../../libimplementations.a
+$BLAKE2_GOAL=../../libimplementations.a
+$SIPHASH_GOAL=../../libimplementations.a
+$POLY1305_GOAL=../../libimplementations.a
 
 SOURCE[$GMAC_GOAL]=gmac_prov.c
 SOURCE[$HMAC_GOAL]=hmac_prov.c
@@ -13,3 +16,17 @@ SOURCE[$KMAC_GOAL]=kmac_prov.c
 IF[{- !$disabled{cmac} -}]
   SOURCE[$CMAC_GOAL]=cmac_prov.c
 ENDIF
+
+$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