summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
authorDavid Hook <dgh@bouncycastle.org>2015-12-19 10:36:47 +1100
committerDavid Hook <dgh@bouncycastle.org>2015-12-19 10:36:47 +1100
commit0b4afcc3e4f3804562294b71265edd2ac2f00f9c (patch)
treecbcb89985a7c0ce08433f104da46771e5cdd1012 /crypto/src
parentAdded support for fixed salt. (diff)
downloadBouncyCastle.NET-ed25519-0b4afcc3e4f3804562294b71265edd2ac2f00f9c.tar.xz
Added test against fixed salt.
Diffstat (limited to 'crypto/src')
-rw-r--r--crypto/src/crypto/signers/PssSigner.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/crypto/src/crypto/signers/PssSigner.cs b/crypto/src/crypto/signers/PssSigner.cs

index 61e7dae01..23b7c0f49 100644 --- a/crypto/src/crypto/signers/PssSigner.cs +++ b/crypto/src/crypto/signers/PssSigner.cs
@@ -89,7 +89,16 @@ namespace Org.BouncyCastle.Crypto.Signers { } - public PssSigner( + public PssSigner( + IAsymmetricBlockCipher cipher, + IDigest contentDigest, + IDigest mgfDigest, + byte[] salt) + : this(cipher, contentDigest, contentDigest, mgfDigest, salt.Length, salt, TrailerImplicit) + { + } + + public PssSigner( IAsymmetricBlockCipher cipher, IDigest digest, int saltLen,