summary refs log tree commit diff
path: root/crypto/src/util/Integers.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-05-24 19:47:33 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-05-24 19:47:33 +0700
commit7519bacebd39868c9970799ad41ede7892a4a68d (patch)
treef87b7e973b1475baaa49e7e809a7fbf2a11c03bd /crypto/src/util/Integers.cs
parentAdd support for ARIA (diff)
downloadBouncyCastle.NET-ed25519-7519bacebd39868c9970799ad41ede7892a4a68d.tar.xz
Fix project files plus portability fixes
Diffstat (limited to 'crypto/src/util/Integers.cs')
-rw-r--r--crypto/src/util/Integers.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/util/Integers.cs b/crypto/src/util/Integers.cs
index b7bd25ce6..11045d9e3 100644
--- a/crypto/src/util/Integers.cs
+++ b/crypto/src/util/Integers.cs
@@ -6,8 +6,8 @@ namespace Org.BouncyCastle.Utilities
 {
     public abstract class Integers
     {
-        public static readonly uint BYTES = 4;
-        public static readonly uint SIZE = 32;
+        public const int NumBits = 32;
+        public const int NumBytes = 4;
 
         private static readonly byte[] DeBruijnTZ = {
             0x00, 0x01, 0x02, 0x18, 0x03, 0x13, 0x06, 0x19, 0x16, 0x04, 0x14, 0x0A,