diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-05-30 15:39:52 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-06-07 13:04:02 +0200 |
commit | 60c32fd85e3f944a31ba93a368e0dda27ee397c8 (patch) | |
tree | d5286f9bf404d2972e8f85f4f535918fb6a15763 /lib/libgnutls.map | |
parent | 57f45e13eef3629e7384730284dbbc6fef46977e (diff) | |
download | gnutls-60c32fd85e3f944a31ba93a368e0dda27ee397c8.tar.gz |
abstract API: introduced new signing functions
That is, the gnutls_privkey_sign_data2() and gnutls_privkey_sign_hash2().
The new functions perform signing with input the signature algorithm instead
of the hash algorithm; that allows to use algorithms where the hash algorithm
is not used, or the public key algorithm may be different than the key's.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/libgnutls.map')
-rw-r--r-- | lib/libgnutls.map | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libgnutls.map b/lib/libgnutls.map index 672c55bdc1..d32f482e95 100644 --- a/lib/libgnutls.map +++ b/lib/libgnutls.map @@ -1156,6 +1156,8 @@ GNUTLS_3_4 gnutls_x509_crq_set_pk_algorithm; gnutls_x509_privkey_get_pk_algorithm3; gnutls_sign_supports_pk_algorithm; + gnutls_privkey_sign_hash2; + gnutls_privkey_sign_data2; local: *; }; |