diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-11-20 19:04:43 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-11-27 11:41:43 +0100 |
commit | 561a2dfe7433b322ccf608786c753c9071e150d4 (patch) | |
tree | b7f1e0e5ff5065a16613a447b35d7853d5fc7876 /lib/gnutls_pk.h | |
parent | 91371f925be73cfb1ecb130efbe16ed17cd64f87 (diff) | |
download | gnutls-561a2dfe7433b322ccf608786c753c9071e150d4.tar.gz |
Separated pk_generate to pk_generate_params() and pk_generate_keys().
This allows using the pk_generate interface to get DH parameters
and DH keys.
Diffstat (limited to 'lib/gnutls_pk.h')
-rw-r--r-- | lib/gnutls_pk.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gnutls_pk.h b/lib/gnutls_pk.h index 22ff54a08d..46eb3d4f7a 100644 --- a/lib/gnutls_pk.h +++ b/lib/gnutls_pk.h @@ -32,7 +32,8 @@ extern gnutls_crypto_pk_st _gnutls_pk_ops; #define _gnutls_pk_verify( algo, data, sig, params) _gnutls_pk_ops.verify( algo, data, sig, params) #define _gnutls_pk_verify_params( algo, params) _gnutls_pk_ops.verify_params( algo, params) #define _gnutls_pk_derive( algo, out, pub, priv) _gnutls_pk_ops.derive( algo, out, pub, priv) -#define _gnutls_pk_generate( algo, bits, priv) _gnutls_pk_ops.generate( algo, bits, priv) +#define _gnutls_pk_generate_keys( algo, bits, priv) _gnutls_pk_ops.generate_keys( algo, bits, priv) +#define _gnutls_pk_generate_params( algo, bits, priv) _gnutls_pk_ops.generate_params( algo, bits, priv) #define _gnutls_pk_hash_algorithm( pk, sig, params, hash) _gnutls_pk_ops.hash_algorithm(pk, sig, params, hash) inline static int |