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 31ae507..67b4d3a 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 8800b12..dee8f53 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 d453809..07c40d3 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