diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-07-27 08:14:37 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-08-04 09:38:27 +0200 |
commit | e069ce8d5b8a6a0f65f41647e8f48dd410540258 (patch) | |
tree | 07d770580d89887c1ac56e8c3f4077261cbe0d8d /lib/abstract_int.h | |
parent | d4937660e1ab68264ed020d50ee2131ace5dfc8b (diff) | |
download | gnutls-e069ce8d5b8a6a0f65f41647e8f48dd410540258.tar.gz |
RSA-PSS parameter checking was moved to lower level functions
That way all PKI callers get protected by the checks.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/abstract_int.h')
-rw-r--r-- | lib/abstract_int.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/abstract_int.h b/lib/abstract_int.h index be87039b18..878856782a 100644 --- a/lib/abstract_int.h +++ b/lib/abstract_int.h @@ -91,7 +91,7 @@ privkey_sign_raw_data(gnutls_privkey_t key, gnutls_datum_t * signature, gnutls_x509_spki_st * params); -unsigned pubkey_to_bits(gnutls_pk_params_st * params); +unsigned pubkey_to_bits(const gnutls_pk_params_st * params); int _gnutls_pubkey_compatible_with_sig(gnutls_session_t, gnutls_pubkey_t pubkey, const version_entry_st * ver, @@ -100,6 +100,7 @@ int _gnutls_pubkey_get_mpis(gnutls_pubkey_t key, gnutls_pk_params_st * params); int pubkey_verify_data(const gnutls_sign_entry_st *se, + const mac_entry_st *me, const gnutls_datum_t * data, const gnutls_datum_t * signature, gnutls_pk_params_st * params, |