summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-02-16 12:42:32 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-02-16 12:42:49 +0700
commit43ad1036b2ffe7e94cae0541de7ccc91537ef2d4 (patch)
tree9bb70198b00ecc48f080c4653a8dc8c1680ea00a
parentExtract debug symbols to external package (SNUPKG). (diff)
downloadBouncyCastle.NET-ed25519-43ad1036b2ffe7e94cae0541de7ccc91537ef2d4.tar.xz
Rename bzip2 files accordingly
-rw-r--r--crypto/src/BouncyCastle.Crypto.csproj2
-rw-r--r--crypto/src/pqc/crypto/picnic/LowmcConstantsL1.cs2
-rw-r--r--crypto/src/pqc/crypto/picnic/LowmcConstantsL3.cs2
-rw-r--r--crypto/src/pqc/crypto/picnic/LowmcConstantsL5.cs2
-rw-r--r--crypto/src/pqc/crypto/picnic/lowmcL1.bz2 (renamed from crypto/src/pqc/crypto/picnic/lowmcL1.properties)bin118150 -> 118150 bytes
-rw-r--r--crypto/src/pqc/crypto/picnic/lowmcL3.bz2 (renamed from crypto/src/pqc/crypto/picnic/lowmcL3.properties)bin351284 -> 351284 bytes
-rw-r--r--crypto/src/pqc/crypto/picnic/lowmcL5.bz2 (renamed from crypto/src/pqc/crypto/picnic/lowmcL5.properties)bin760466 -> 760466 bytes
-rw-r--r--crypto/src/pqc/crypto/sike/P434.cs2
-rw-r--r--crypto/src/pqc/crypto/sike/P503.cs2
-rw-r--r--crypto/src/pqc/crypto/sike/P610.cs2
-rw-r--r--crypto/src/pqc/crypto/sike/P751.cs2
-rw-r--r--crypto/src/pqc/crypto/sike/p434.bz2 (renamed from crypto/src/pqc/crypto/sike/p434.properties)bin332502 -> 332502 bytes
-rw-r--r--crypto/src/pqc/crypto/sike/p503.bz2 (renamed from crypto/src/pqc/crypto/sike/p503.properties)bin391441 -> 391441 bytes
-rw-r--r--crypto/src/pqc/crypto/sike/p610.bz2 (renamed from crypto/src/pqc/crypto/sike/p610.properties)bin575205 -> 575205 bytes
-rw-r--r--crypto/src/pqc/crypto/sike/p751.bz2 (renamed from crypto/src/pqc/crypto/sike/p751.properties)bin981767 -> 981767 bytes
15 files changed, 9 insertions, 7 deletions
diff --git a/crypto/src/BouncyCastle.Crypto.csproj b/crypto/src/BouncyCastle.Crypto.csproj
index cdba0a232..5dff0bde1 100644
--- a/crypto/src/BouncyCastle.Crypto.csproj
+++ b/crypto/src/BouncyCastle.Crypto.csproj
@@ -71,7 +71,9 @@
 
   <ItemGroup>
     <None Remove="**\*.properties" />
+    <None Remove="pqc\crypto\**\*.bz2" />
     <EmbeddedResource Include="**\*.properties" />
+    <EmbeddedResource Include="pqc\crypto\**\*.bz2" />
     <None Include="..\..\LICENSE.md" Pack="true" PackagePath="\" />
     <None Include="..\..\packageIcon.png" Pack="true" PackagePath="\" />
     <None Include="..\..\README.md" Pack="true" PackagePath="\" />
diff --git a/crypto/src/pqc/crypto/picnic/LowmcConstantsL1.cs b/crypto/src/pqc/crypto/picnic/LowmcConstantsL1.cs
index d52d6bd19..7c779ab2d 100644
--- a/crypto/src/pqc/crypto/picnic/LowmcConstantsL1.cs
+++ b/crypto/src/pqc/crypto/picnic/LowmcConstantsL1.cs
@@ -11,7 +11,7 @@ namespace Org.BouncyCastle.Pqc.Crypto.Picnic
         {
             _matrixToHex = new Dictionary<string, string>();
             Stream input = typeof(LowmcConstants).Assembly
-                .GetManifestResourceStream("Org.BouncyCastle.pqc.crypto.picnic.lowmcL1.properties");
+                .GetManifestResourceStream("Org.BouncyCastle.pqc.crypto.picnic.lowmcL1.bz2");
             input = Bzip2.DecompressInput(input);
 
             using (StreamReader sr = new StreamReader(input))
diff --git a/crypto/src/pqc/crypto/picnic/LowmcConstantsL3.cs b/crypto/src/pqc/crypto/picnic/LowmcConstantsL3.cs
index 1c8b7461f..b35e727a5 100644
--- a/crypto/src/pqc/crypto/picnic/LowmcConstantsL3.cs
+++ b/crypto/src/pqc/crypto/picnic/LowmcConstantsL3.cs
@@ -11,7 +11,7 @@ namespace Org.BouncyCastle.Pqc.Crypto.Picnic
         {
             _matrixToHex = new Dictionary<string, string>();
             Stream input = typeof(LowmcConstants).Assembly
-                .GetManifestResourceStream("Org.BouncyCastle.pqc.crypto.picnic.lowmcL3.properties");
+                .GetManifestResourceStream("Org.BouncyCastle.pqc.crypto.picnic.lowmcL3.bz2");
             input = Bzip2.DecompressInput(input);
 
             using (StreamReader sr = new StreamReader(input))
diff --git a/crypto/src/pqc/crypto/picnic/LowmcConstantsL5.cs b/crypto/src/pqc/crypto/picnic/LowmcConstantsL5.cs
index 70662d1ca..2fcab262f 100644
--- a/crypto/src/pqc/crypto/picnic/LowmcConstantsL5.cs
+++ b/crypto/src/pqc/crypto/picnic/LowmcConstantsL5.cs
@@ -12,7 +12,7 @@ namespace Org.BouncyCastle.Pqc.Crypto.Picnic
         {
             _matrixToHex = new Dictionary<string, string>();
             Stream input = typeof(LowmcConstants).Assembly
-                .GetManifestResourceStream("Org.BouncyCastle.pqc.crypto.picnic.lowmcL5.properties");
+                .GetManifestResourceStream("Org.BouncyCastle.pqc.crypto.picnic.lowmcL5.bz2");
             input = Bzip2.DecompressInput(input);
 
             using (StreamReader sr = new StreamReader(input))
diff --git a/crypto/src/pqc/crypto/picnic/lowmcL1.properties b/crypto/src/pqc/crypto/picnic/lowmcL1.bz2
index a9aea9bc2..a9aea9bc2 100644
--- a/crypto/src/pqc/crypto/picnic/lowmcL1.properties
+++ b/crypto/src/pqc/crypto/picnic/lowmcL1.bz2
Binary files differdiff --git a/crypto/src/pqc/crypto/picnic/lowmcL3.properties b/crypto/src/pqc/crypto/picnic/lowmcL3.bz2
index e5f3ccb1f..e5f3ccb1f 100644
--- a/crypto/src/pqc/crypto/picnic/lowmcL3.properties
+++ b/crypto/src/pqc/crypto/picnic/lowmcL3.bz2
Binary files differdiff --git a/crypto/src/pqc/crypto/picnic/lowmcL5.properties b/crypto/src/pqc/crypto/picnic/lowmcL5.bz2
index 30e0db747..30e0db747 100644
--- a/crypto/src/pqc/crypto/picnic/lowmcL5.properties
+++ b/crypto/src/pqc/crypto/picnic/lowmcL5.bz2
Binary files differdiff --git a/crypto/src/pqc/crypto/sike/P434.cs b/crypto/src/pqc/crypto/sike/P434.cs
index d5114bc83..b55b092c0 100644
--- a/crypto/src/pqc/crypto/sike/P434.cs
+++ b/crypto/src/pqc/crypto/sike/P434.cs
@@ -113,7 +113,7 @@ internal class P434
             // Import compression tables from properties
             var props = new Dictionary<string, string>(); 
             Stream input = typeof(P434).Assembly
-                .GetManifestResourceStream("Org.BouncyCastle.pqc.crypto.sike.p434.properties");
+                .GetManifestResourceStream("Org.BouncyCastle.pqc.crypto.sike.p434.bz2");
             input = Bzip2.DecompressInput(input);
 
             using (StreamReader sr = new StreamReader(input))
diff --git a/crypto/src/pqc/crypto/sike/P503.cs b/crypto/src/pqc/crypto/sike/P503.cs
index 428bfd791..32085f41a 100644
--- a/crypto/src/pqc/crypto/sike/P503.cs
+++ b/crypto/src/pqc/crypto/sike/P503.cs
@@ -149,7 +149,7 @@ namespace Org.BouncyCastle.Pqc.Crypto.Sike
             // Import compression tables from properties
             var props = new Dictionary<string, string>(); 
             Stream input = typeof(P503).Assembly
-                .GetManifestResourceStream("Org.BouncyCastle.pqc.crypto.sike.p503.properties");
+                .GetManifestResourceStream("Org.BouncyCastle.pqc.crypto.sike.p503.bz2");
             input = Bzip2.DecompressInput(input);
 
             using (StreamReader sr = new StreamReader(input))
diff --git a/crypto/src/pqc/crypto/sike/P610.cs b/crypto/src/pqc/crypto/sike/P610.cs
index c31709ef6..38e180f6e 100644
--- a/crypto/src/pqc/crypto/sike/P610.cs
+++ b/crypto/src/pqc/crypto/sike/P610.cs
@@ -149,7 +149,7 @@ namespace Org.BouncyCastle.Pqc.Crypto.Sike
             // Import compression tables from properties
             var props = new Dictionary<string, string>(); 
             Stream input = typeof(P610).Assembly
-                    .GetManifestResourceStream("Org.BouncyCastle.pqc.crypto.sike.p610.properties");
+                    .GetManifestResourceStream("Org.BouncyCastle.pqc.crypto.sike.p610.bz2");
             input = Bzip2.DecompressInput(input);
 
             using (StreamReader sr = new StreamReader(input))
diff --git a/crypto/src/pqc/crypto/sike/P751.cs b/crypto/src/pqc/crypto/sike/P751.cs
index 97359e1c0..9604a6ede 100644
--- a/crypto/src/pqc/crypto/sike/P751.cs
+++ b/crypto/src/pqc/crypto/sike/P751.cs
@@ -162,7 +162,7 @@ namespace Org.BouncyCastle.Pqc.Crypto.Sike
             // Import compression tables from properties
             var props = new Dictionary<string, string>(); 
             Stream input = typeof(P751).Assembly
-                    .GetManifestResourceStream("Org.BouncyCastle.pqc.crypto.sike.p751.properties");
+                    .GetManifestResourceStream("Org.BouncyCastle.pqc.crypto.sike.p751.bz2");
             input = Bzip2.DecompressInput(input);
 
             using (StreamReader sr = new StreamReader(input))
diff --git a/crypto/src/pqc/crypto/sike/p434.properties b/crypto/src/pqc/crypto/sike/p434.bz2
index f2bca0c13..f2bca0c13 100644
--- a/crypto/src/pqc/crypto/sike/p434.properties
+++ b/crypto/src/pqc/crypto/sike/p434.bz2
Binary files differdiff --git a/crypto/src/pqc/crypto/sike/p503.properties b/crypto/src/pqc/crypto/sike/p503.bz2
index 492e9b2c2..492e9b2c2 100644
--- a/crypto/src/pqc/crypto/sike/p503.properties
+++ b/crypto/src/pqc/crypto/sike/p503.bz2
Binary files differdiff --git a/crypto/src/pqc/crypto/sike/p610.properties b/crypto/src/pqc/crypto/sike/p610.bz2
index 4a05c4b26..4a05c4b26 100644
--- a/crypto/src/pqc/crypto/sike/p610.properties
+++ b/crypto/src/pqc/crypto/sike/p610.bz2
Binary files differdiff --git a/crypto/src/pqc/crypto/sike/p751.properties b/crypto/src/pqc/crypto/sike/p751.bz2
index b50b940b0..b50b940b0 100644
--- a/crypto/src/pqc/crypto/sike/p751.properties
+++ b/crypto/src/pqc/crypto/sike/p751.bz2
Binary files differ