summary refs log tree commit diff
path: root/crypto/src/operators/utilities/DefaultSignatureAlgorithmFinder.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2024-06-12 18:09:06 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2024-06-12 18:09:06 +0700
commitdaec40507f75c8bbe80f54e25338d31a2b411e39 (patch)
treef336873fdf0be8476dc45de28a30dda37976bd43 /crypto/src/operators/utilities/DefaultSignatureAlgorithmFinder.cs
parentDilithium SampleInBall change and KATs updated (diff)
downloadBouncyCastle.NET-ed25519-daec40507f75c8bbe80f54e25338d31a2b411e39.tar.xz
DerInteger constants for small values
Diffstat (limited to 'crypto/src/operators/utilities/DefaultSignatureAlgorithmFinder.cs')
-rw-r--r--crypto/src/operators/utilities/DefaultSignatureAlgorithmFinder.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/operators/utilities/DefaultSignatureAlgorithmFinder.cs b/crypto/src/operators/utilities/DefaultSignatureAlgorithmFinder.cs
index 0da904328..508894e48 100644
--- a/crypto/src/operators/utilities/DefaultSignatureAlgorithmFinder.cs
+++ b/crypto/src/operators/utilities/DefaultSignatureAlgorithmFinder.cs
@@ -501,7 +501,7 @@ namespace Org.BouncyCastle.Operators.Utilities
                 hashAlgID,
                 new AlgorithmIdentifier(PkcsObjectIdentifiers.IdMgf1, hashAlgID),
                 new DerInteger(saltSize),
-                new DerInteger(1));
+                DerInteger.One);
         }
 
         protected DefaultSignatureAlgorithmFinder()