diff options
author | lloyd <[email protected]> | 2014-03-27 14:12:25 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-03-27 14:12:25 +0000 |
commit | e5bf2f0b5c177c4bea8983b552106e90efb79083 (patch) | |
tree | a2711e933058ea6680b8e0679cfd95c0f51669cb /src/lib/pk_pad/emsa_pssr/pssr.h | |
parent | eb0e85280e1feb4eaa66847fe60f9f6c713a8d4e (diff) |
Support 0 length salts in PSSR. Bugzilla 268
Diffstat (limited to 'src/lib/pk_pad/emsa_pssr/pssr.h')
-rw-r--r-- | src/lib/pk_pad/emsa_pssr/pssr.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/pk_pad/emsa_pssr/pssr.h b/src/lib/pk_pad/emsa_pssr/pssr.h index 7693518f9..688fd2114 100644 --- a/src/lib/pk_pad/emsa_pssr/pssr.h +++ b/src/lib/pk_pad/emsa_pssr/pssr.h @@ -22,10 +22,14 @@ class BOTAN_DLL PSSR : public EMSA /** * @param hash the hash object to use + */ + PSSR(HashFunction* hash); + + /** + * @param hash the hash object to use * @param salt_size the size of the salt to use in bytes - * or zero to use the default */ - PSSR(HashFunction* hash, size_t salt_size = 0); + PSSR(HashFunction* hash, size_t salt_size); private: void update(const byte input[], size_t length); |