]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
doc update
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 22 Mar 2013 17:48:11 +0000 (18:48 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 22 Mar 2013 17:48:11 +0000 (18:48 +0100)
lib/gnutls_privkey.c

index 097916f097c239e040e6843dc94fd34c11d62c4e..22b966ed456ceb478583883e035ebac4b0157c35 100644 (file)
@@ -417,8 +417,7 @@ cleanup:
  * #gnutls_privkey_t structure. At least one of the two callbacks
  * must be non-null.
  *
- * Note that the signing function is supposed to "raw" sign data, i.e.,
- * without any hashing or preprocessing.
+ * See also gnutls_privkey_import_ext2().
  *
  * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a
  *   negative error value.
@@ -453,7 +452,9 @@ gnutls_privkey_import_ext (gnutls_privkey_t pkey,
  * then flags is assumed to contain %GNUTLS_PRIVKEY_IMPORT_AUTO_RELEASE.
  *
  * Note that the signing function is supposed to "raw" sign data, i.e.,
- * without any hashing or preprocessing.
+ * without any hashing or preprocessing. In case of RSA the DigestInfo
+ * will be provided, and the signing function is expected to do the PKCS #1
+ * 1.5 padding and the exponentiation.
  *
  * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a
  *   negative error value.