summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2024-03-19 21:26:35 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2024-03-19 21:26:35 +0700
commit02a047c6e1a4fb2694afda84b2cef6b3bb57cbce (patch)
tree2e61340b3aed4f6f7149a588b8c6b5d70950b96d /crypto/src
parentRefactor SignatureCreationTime (diff)
downloadBouncyCastle.NET-ed25519-02a047c6e1a4fb2694afda84b2cef6b3bb57cbce.tar.xz
Refactor Pack
Diffstat (limited to 'crypto/src')
-rw-r--r--crypto/src/crypto/util/Pack.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/crypto/src/crypto/util/Pack.cs b/crypto/src/crypto/util/Pack.cs
index dc0e93b7d..3d11ed74e 100644
--- a/crypto/src/crypto/util/Pack.cs
+++ b/crypto/src/crypto/util/Pack.cs
@@ -52,7 +52,7 @@ namespace Org.BouncyCastle.Crypto.Utilities
         internal static byte[] UInt16_To_BE(ushort n)
         {
             byte[] bs = new byte[2];
-            UInt16_To_BE(n, bs, 0);
+            UInt16_To_BE(n, bs);
             return bs;
         }
 
@@ -193,7 +193,7 @@ namespace Org.BouncyCastle.Crypto.Utilities
         internal static byte[] UInt32_To_BE(uint n)
         {
             byte[] bs = new byte[4];
-            UInt32_To_BE(n, bs, 0);
+            UInt32_To_BE(n, bs);
             return bs;
         }
 
@@ -267,7 +267,7 @@ namespace Org.BouncyCastle.Crypto.Utilities
         internal static byte[] UInt64_To_BE(ulong n)
         {
             byte[] bs = new byte[8];
-            UInt64_To_BE(n, bs, 0);
+            UInt64_To_BE(n, bs);
             return bs;
         }
 
@@ -415,7 +415,7 @@ namespace Org.BouncyCastle.Crypto.Utilities
         internal static byte[] UInt16_To_LE(ushort n)
         {
             byte[] bs = new byte[2];
-            UInt16_To_LE(n, bs, 0);
+            UInt16_To_LE(n, bs);
             return bs;
         }
 
@@ -494,7 +494,7 @@ namespace Org.BouncyCastle.Crypto.Utilities
         internal static byte[] UInt32_To_LE(uint n)
         {
             byte[] bs = new byte[4];
-            UInt32_To_LE(n, bs, 0);
+            UInt32_To_LE(n, bs);
             return bs;
         }
 
@@ -642,7 +642,7 @@ namespace Org.BouncyCastle.Crypto.Utilities
         internal static byte[] UInt64_To_LE(ulong n)
         {
             byte[] bs = new byte[8];
-            UInt64_To_LE(n, bs, 0);
+            UInt64_To_LE(n, bs);
             return bs;
         }