diff options
Diffstat (limited to 'crypto/test')
-rw-r--r-- | crypto/test/src/math/ec/rfc8032/test/Ed25519Test.cs | 6 | ||||
-rw-r--r-- | crypto/test/src/math/ec/rfc8032/test/Ed448Test.cs | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/crypto/test/src/math/ec/rfc8032/test/Ed25519Test.cs b/crypto/test/src/math/ec/rfc8032/test/Ed25519Test.cs index 4155d4a0f..e298ef2e1 100644 --- a/crypto/test/src/math/ec/rfc8032/test/Ed25519Test.cs +++ b/crypto/test/src/math/ec/rfc8032/test/Ed25519Test.cs @@ -36,7 +36,7 @@ namespace Org.BouncyCastle.Math.EC.Rfc8032.Tests for (int i = 0; i < 10; ++i) { Random.NextBytes(sk); - Ed25519.GeneratePublicKey(sk, 0, out var publicPoint); + var publicPoint = Ed25519.GeneratePublicKey(sk, 0); Ed25519.EncodePublicPoint(publicPoint, pk, 0); { @@ -95,7 +95,7 @@ namespace Org.BouncyCastle.Math.EC.Rfc8032.Tests for (int i = 0; i < 10; ++i) { Random.NextBytes(sk); - Ed25519.GeneratePublicKey(sk, 0, out var publicPoint); + var publicPoint = Ed25519.GeneratePublicKey(sk, 0); Ed25519.EncodePublicPoint(publicPoint, pk, 0); { @@ -155,7 +155,7 @@ namespace Org.BouncyCastle.Math.EC.Rfc8032.Tests for (int i = 0; i < 10; ++i) { Random.NextBytes(sk); - Ed25519.GeneratePublicKey(sk, 0, out var publicPoint); + var publicPoint = Ed25519.GeneratePublicKey(sk, 0); Ed25519.EncodePublicPoint(publicPoint, pk, 0); { diff --git a/crypto/test/src/math/ec/rfc8032/test/Ed448Test.cs b/crypto/test/src/math/ec/rfc8032/test/Ed448Test.cs index 38cde3b01..406325951 100644 --- a/crypto/test/src/math/ec/rfc8032/test/Ed448Test.cs +++ b/crypto/test/src/math/ec/rfc8032/test/Ed448Test.cs @@ -35,7 +35,7 @@ namespace Org.BouncyCastle.Math.EC.Rfc8032.Tests for (int i = 0; i < 10; ++i) { Random.NextBytes(sk); - Ed448.GeneratePublicKey(sk, 0, out var publicPoint); + var publicPoint = Ed448.GeneratePublicKey(sk, 0); Ed448.EncodePublicPoint(publicPoint, pk, 0); { @@ -95,7 +95,7 @@ namespace Org.BouncyCastle.Math.EC.Rfc8032.Tests for (int i = 0; i < 10; ++i) { Random.NextBytes(sk); - Ed448.GeneratePublicKey(sk, 0, out var publicPoint); + var publicPoint = Ed448.GeneratePublicKey(sk, 0); Ed448.EncodePublicPoint(publicPoint, pk, 0); { |