signature-params: Optionally pass a specific salt value when signing
This commit is contained in:
parent
fa7f5e2d0c
commit
c380608a89
|
@ -35,6 +35,8 @@ struct rsa_pss_params_t {
|
|||
hash_algorithm_t mgf1_hash;
|
||||
/** Salt length, use RSA_PSS_SALT_LEN_DEFAULT for length equal to hash */
|
||||
ssize_t salt_len;
|
||||
/** Salt value, for unit tests (not all implementations support this) */
|
||||
chunk_t salt;
|
||||
#define RSA_PSS_SALT_LEN_DEFAULT -1
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue