diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2024-06-12 18:09:06 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2024-06-12 18:09:06 +0700 |
commit | daec40507f75c8bbe80f54e25338d31a2b411e39 (patch) | |
tree | f336873fdf0be8476dc45de28a30dda37976bd43 /crypto/src/operators/utilities/DefaultSignatureAlgorithmFinder.cs | |
parent | Dilithium SampleInBall change and KATs updated (diff) | |
download | BouncyCastle.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.cs | 2 |
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() |