diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-12-16 16:53:50 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-12-16 16:53:50 +0700 |
commit | dac04a9306c5721f92749eee0be203047fc57e50 (patch) | |
tree | b789150541b1e31fac2dc1890b3eae3066b267c6 /crypto/src/util/Arrays.cs | |
parent | Add ECDHE_ECDSA CCM ciphersuites from RFC 7251 (diff) | |
download | BouncyCastle.NET-ed25519-dac04a9306c5721f92749eee0be203047fc57e50.tar.xz |
Various updates to GCM from Java build
Diffstat (limited to '')
-rw-r--r-- | crypto/src/util/Arrays.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/src/util/Arrays.cs b/crypto/src/util/Arrays.cs index 27fd18d6d..8614baead 100644 --- a/crypto/src/util/Arrays.cs +++ b/crypto/src/util/Arrays.cs @@ -339,6 +339,11 @@ namespace Org.BouncyCastle.Utilities return data == null ? null : (int[])data.Clone(); } + internal static uint[] Clone(uint[] data) + { + return data == null ? null : (uint[])data.Clone(); + } + public static long[] Clone(long[] data) { return data == null ? null : (long[])data.Clone(); |