how to use gnutls_privkey_import_ext

Nikos Mavrogiannopoulos nmav at
Sun Jun 10 17:25:23 CEST 2012

On 06/10/2012 05:08 PM, Carolin Latze wrote:

> shy question: what type of hashes will be delivered with RSA-SHA1? I get
> a hash of 35 bytes length, which is a bit too long for a standard SHA1.
> And it is too short for the old SHA1+MD5 hash that used to used in TLS.

It should be the PKCS #1 encoding applied after hashing. It includes an
algorithm identifier.

More information about the Gnutls-help mailing list