From 43ad1036b2ffe7e94cae0541de7ccc91537ef2d4 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Thu, 16 Feb 2023 12:42:32 +0700 Subject: Rename bzip2 files accordingly --- crypto/src/BouncyCastle.Crypto.csproj | 2 ++ crypto/src/pqc/crypto/picnic/LowmcConstantsL1.cs | 2 +- crypto/src/pqc/crypto/picnic/LowmcConstantsL3.cs | 2 +- crypto/src/pqc/crypto/picnic/LowmcConstantsL5.cs | 2 +- crypto/src/pqc/crypto/picnic/lowmcL1.bz2 | Bin 0 -> 118150 bytes crypto/src/pqc/crypto/picnic/lowmcL1.properties | Bin 118150 -> 0 bytes crypto/src/pqc/crypto/picnic/lowmcL3.bz2 | Bin 0 -> 351284 bytes crypto/src/pqc/crypto/picnic/lowmcL3.properties | Bin 351284 -> 0 bytes crypto/src/pqc/crypto/picnic/lowmcL5.bz2 | Bin 0 -> 760466 bytes crypto/src/pqc/crypto/picnic/lowmcL5.properties | Bin 760466 -> 0 bytes crypto/src/pqc/crypto/sike/P434.cs | 2 +- crypto/src/pqc/crypto/sike/P503.cs | 2 +- crypto/src/pqc/crypto/sike/P610.cs | 2 +- crypto/src/pqc/crypto/sike/P751.cs | 2 +- crypto/src/pqc/crypto/sike/p434.bz2 | Bin 0 -> 332502 bytes crypto/src/pqc/crypto/sike/p434.properties | Bin 332502 -> 0 bytes crypto/src/pqc/crypto/sike/p503.bz2 | Bin 0 -> 391441 bytes crypto/src/pqc/crypto/sike/p503.properties | Bin 391441 -> 0 bytes crypto/src/pqc/crypto/sike/p610.bz2 | Bin 0 -> 575205 bytes crypto/src/pqc/crypto/sike/p610.properties | Bin 575205 -> 0 bytes crypto/src/pqc/crypto/sike/p751.bz2 | Bin 0 -> 981767 bytes crypto/src/pqc/crypto/sike/p751.properties | Bin 981767 -> 0 bytes 22 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 crypto/src/pqc/crypto/picnic/lowmcL1.bz2 delete mode 100644 crypto/src/pqc/crypto/picnic/lowmcL1.properties create mode 100644 crypto/src/pqc/crypto/picnic/lowmcL3.bz2 delete mode 100644 crypto/src/pqc/crypto/picnic/lowmcL3.properties create mode 100644 crypto/src/pqc/crypto/picnic/lowmcL5.bz2 delete mode 100644 crypto/src/pqc/crypto/picnic/lowmcL5.properties create mode 100644 crypto/src/pqc/crypto/sike/p434.bz2 delete mode 100644 crypto/src/pqc/crypto/sike/p434.properties create mode 100644 crypto/src/pqc/crypto/sike/p503.bz2 delete mode 100644 crypto/src/pqc/crypto/sike/p503.properties create mode 100644 crypto/src/pqc/crypto/sike/p610.bz2 delete mode 100644 crypto/src/pqc/crypto/sike/p610.properties create mode 100644 crypto/src/pqc/crypto/sike/p751.bz2 delete mode 100644 crypto/src/pqc/crypto/sike/p751.properties 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 @@ + + 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(); 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(); 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(); 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.bz2 b/crypto/src/pqc/crypto/picnic/lowmcL1.bz2 new file mode 100644 index 000000000..a9aea9bc2 Binary files /dev/null and b/crypto/src/pqc/crypto/picnic/lowmcL1.bz2 differ diff --git a/crypto/src/pqc/crypto/picnic/lowmcL1.properties b/crypto/src/pqc/crypto/picnic/lowmcL1.properties deleted file mode 100644 index a9aea9bc2..000000000 Binary files a/crypto/src/pqc/crypto/picnic/lowmcL1.properties and /dev/null differ diff --git a/crypto/src/pqc/crypto/picnic/lowmcL3.bz2 b/crypto/src/pqc/crypto/picnic/lowmcL3.bz2 new file mode 100644 index 000000000..e5f3ccb1f Binary files /dev/null and b/crypto/src/pqc/crypto/picnic/lowmcL3.bz2 differ diff --git a/crypto/src/pqc/crypto/picnic/lowmcL3.properties b/crypto/src/pqc/crypto/picnic/lowmcL3.properties deleted file mode 100644 index e5f3ccb1f..000000000 Binary files a/crypto/src/pqc/crypto/picnic/lowmcL3.properties and /dev/null differ diff --git a/crypto/src/pqc/crypto/picnic/lowmcL5.bz2 b/crypto/src/pqc/crypto/picnic/lowmcL5.bz2 new file mode 100644 index 000000000..30e0db747 Binary files /dev/null and b/crypto/src/pqc/crypto/picnic/lowmcL5.bz2 differ diff --git a/crypto/src/pqc/crypto/picnic/lowmcL5.properties b/crypto/src/pqc/crypto/picnic/lowmcL5.properties deleted file mode 100644 index 30e0db747..000000000 Binary files a/crypto/src/pqc/crypto/picnic/lowmcL5.properties and /dev/null differ diff --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(); 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(); 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(); 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(); 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.bz2 b/crypto/src/pqc/crypto/sike/p434.bz2 new file mode 100644 index 000000000..f2bca0c13 Binary files /dev/null and b/crypto/src/pqc/crypto/sike/p434.bz2 differ diff --git a/crypto/src/pqc/crypto/sike/p434.properties b/crypto/src/pqc/crypto/sike/p434.properties deleted file mode 100644 index f2bca0c13..000000000 Binary files a/crypto/src/pqc/crypto/sike/p434.properties and /dev/null differ diff --git a/crypto/src/pqc/crypto/sike/p503.bz2 b/crypto/src/pqc/crypto/sike/p503.bz2 new file mode 100644 index 000000000..492e9b2c2 Binary files /dev/null and b/crypto/src/pqc/crypto/sike/p503.bz2 differ diff --git a/crypto/src/pqc/crypto/sike/p503.properties b/crypto/src/pqc/crypto/sike/p503.properties deleted file mode 100644 index 492e9b2c2..000000000 Binary files a/crypto/src/pqc/crypto/sike/p503.properties and /dev/null differ diff --git a/crypto/src/pqc/crypto/sike/p610.bz2 b/crypto/src/pqc/crypto/sike/p610.bz2 new file mode 100644 index 000000000..4a05c4b26 Binary files /dev/null and b/crypto/src/pqc/crypto/sike/p610.bz2 differ diff --git a/crypto/src/pqc/crypto/sike/p610.properties b/crypto/src/pqc/crypto/sike/p610.properties deleted file mode 100644 index 4a05c4b26..000000000 Binary files a/crypto/src/pqc/crypto/sike/p610.properties and /dev/null differ diff --git a/crypto/src/pqc/crypto/sike/p751.bz2 b/crypto/src/pqc/crypto/sike/p751.bz2 new file mode 100644 index 000000000..b50b940b0 Binary files /dev/null and b/crypto/src/pqc/crypto/sike/p751.bz2 differ diff --git a/crypto/src/pqc/crypto/sike/p751.properties b/crypto/src/pqc/crypto/sike/p751.properties deleted file mode 100644 index b50b940b0..000000000 Binary files a/crypto/src/pqc/crypto/sike/p751.properties and /dev/null differ -- cgit 1.4.1