summary refs log tree commit diff
path: root/crypto/src/util/Integers.cs
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2021-03-19 15:25:57 +1100
committerDavid Hook <dgh@cryptoworkshop.com>2021-03-19 15:25:57 +1100
commit504554b718911423f64b9d7235eee6fdba9241ee (patch)
treec7e41b1a3769b9cfba3dea124f434d551a9c16ed /crypto/src/util/Integers.cs
parentAdd SECURITY.md (diff)
downloadBouncyCastle.NET-ed25519-504554b718911423f64b9d7235eee6fdba9241ee.tar.xz
first cut FPE, TupleHash, ParallelHash, and GCM-SIV
Diffstat (limited to 'crypto/src/util/Integers.cs')
-rw-r--r--crypto/src/util/Integers.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/src/util/Integers.cs b/crypto/src/util/Integers.cs
index b243b88b2..b7bd25ce6 100644
--- a/crypto/src/util/Integers.cs
+++ b/crypto/src/util/Integers.cs
@@ -6,6 +6,9 @@ namespace Org.BouncyCastle.Utilities
 {
     public abstract class Integers
     {
+        public static readonly uint BYTES = 4;
+        public static readonly uint SIZE = 32;
+
         private static readonly byte[] DeBruijnTZ = {
             0x00, 0x01, 0x02, 0x18, 0x03, 0x13, 0x06, 0x19, 0x16, 0x04, 0x14, 0x0A,
             0x10, 0x07, 0x0C, 0x1A, 0x1F, 0x17, 0x12, 0x05, 0x15, 0x09, 0x0F, 0x0B,