diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-08-02 13:39:55 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-08-02 13:39:55 +0700 |
commit | 46b0bbae12c61cbbd493fa7c9c4756e3fe825205 (patch) | |
tree | acbc9245740e1e03b5b8eb0fe283f41508a51194 /crypto/src/math/ec/abc/Tnaf.cs | |
parent | Misc. cleanup (diff) | |
download | BouncyCastle.NET-ed25519-46b0bbae12c61cbbd493fa7c9c4756e3fe825205.tar.xz |
Add BigInteger.ValueOf(int) and refactoring
Diffstat (limited to '')
-rw-r--r-- | crypto/src/math/ec/abc/Tnaf.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/math/ec/abc/Tnaf.cs b/crypto/src/math/ec/abc/Tnaf.cs index 88a4eeb96..d8e9b6ae0 100644 --- a/crypto/src/math/ec/abc/Tnaf.cs +++ b/crypto/src/math/ec/abc/Tnaf.cs @@ -500,12 +500,12 @@ namespace Org.BouncyCastle.Math.EC.Abc { if (mu == 1) { - return BigInteger.ValueOf(6); + return BigInteger.Six; } else { // mu == -1 - return BigInteger.ValueOf(10); + return BigInteger.Ten; } } else |