Skip to content

Commit dea84c9

Browse files
committed
Add another variant
1 parent 5e4ffd7 commit dea84c9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

crypto/src/crypto/util/Pack.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,15 @@ internal static void UInt32_To_LE(uint[] ns, byte[] bs, int off)
257257
}
258258
}
259259

260+
internal static void UInt32_To_LE(uint[] ns, int nsOff, int nsLen, byte[] bs, int bsOff)
261+
{
262+
for (int i = 0; i < nsLen; ++i)
263+
{
264+
UInt32_To_LE(ns[nsOff + i], bs, bsOff);
265+
bsOff += 4;
266+
}
267+
}
268+
260269
internal static uint LE_To_UInt32(byte[] bs)
261270
{
262271
return (uint)bs[0]

0 commit comments

Comments
 (0)