diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-01-28 11:31:34 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-01-28 11:55:08 +0100 |
commit | 7fa5ff32419bbddf8e981686596c30b3821ccad3 (patch) | |
tree | 0bd077856b2ed3ac5f11999e19f3ab5b1adfb940 /lib/crypto-backend.h | |
parent | a5a56bedb8d2c1f060011532d876e58bdd7dc776 (diff) | |
download | gnutls-7fa5ff32419bbddf8e981686596c30b3821ccad3.tar.gz |
Allow verification of public and private parameters.
Diffstat (limited to 'lib/crypto-backend.h')
-rw-r--r-- | lib/crypto-backend.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/crypto-backend.h b/lib/crypto-backend.h index f7267c827c..7f4e1b61c6 100644 --- a/lib/crypto-backend.h +++ b/lib/crypto-backend.h @@ -320,7 +320,9 @@ typedef struct gnutls_crypto_pk { gnutls_pk_params_st * issuer_params, gnutls_digest_algorithm_t *); /* sanity checks the public key parameters */ - int (*verify_params) (gnutls_pk_algorithm_t, + int (*verify_priv_params) (gnutls_pk_algorithm_t, + const gnutls_pk_params_st * priv); + int (*verify_pub_params) (gnutls_pk_algorithm_t, const gnutls_pk_params_st * pub); int (*generate_keys) (gnutls_pk_algorithm_t, unsigned int nbits, gnutls_pk_params_st *); |