summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src')
-rw-r--r--crypto/src/crypto/util/Pack.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/src/crypto/util/Pack.cs b/crypto/src/crypto/util/Pack.cs
index 2a3596772..30b4ec8ae 100644
--- a/crypto/src/crypto/util/Pack.cs
+++ b/crypto/src/crypto/util/Pack.cs
@@ -257,6 +257,15 @@ namespace Org.BouncyCastle.Crypto.Utilities
             }
         }
 
+        internal static void UInt32_To_LE(uint[] ns, int nsOff, int nsLen, byte[] bs, int bsOff)
+        {
+            for (int i = 0; i < nsLen; ++i)
+            {
+                UInt32_To_LE(ns[nsOff + i], bs, bsOff);
+                bsOff += 4;
+            }
+        }
+
         internal static uint LE_To_UInt32(byte[] bs)
         {
             return (uint)bs[0]