diff options
Diffstat (limited to 'crypto/src/crypto/signers/Ed448phSigner.cs')
-rw-r--r-- | crypto/src/crypto/signers/Ed448phSigner.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/crypto/signers/Ed448phSigner.cs b/crypto/src/crypto/signers/Ed448phSigner.cs index 2600af45f..02d65b6fb 100644 --- a/crypto/src/crypto/signers/Ed448phSigner.cs +++ b/crypto/src/crypto/signers/Ed448phSigner.cs @@ -72,7 +72,7 @@ namespace Org.BouncyCastle.Crypto.Signers byte[] msg = new byte[Ed448.PrehashSize]; if (Ed448.PrehashSize != prehash.OutputFinal(msg, 0, Ed448.PrehashSize)) - throw new InvalidOperationException("Prehash digest failed"); + throw new InvalidOperationException("Prehash calculation failed"); byte[] signature = new byte[Ed448PrivateKeyParameters.SignatureSize]; privateKey.Sign(Ed448.Algorithm.Ed448ph, context, msg, 0, Ed448.PrehashSize, signature, 0); @@ -91,7 +91,7 @@ namespace Org.BouncyCastle.Crypto.Signers byte[] msg = new byte[Ed448.PrehashSize]; if (Ed448.PrehashSize != prehash.OutputFinal(msg, 0, Ed448.PrehashSize)) - throw new InvalidOperationException("Prehash digest failed"); + throw new InvalidOperationException("Prehash calculation failed"); return publicKey.Verify(Ed448.Algorithm.Ed448ph, context, msg, 0, Ed448.PrehashSize, signature, 0); } |