help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Raw RSA encryption


From: Nikos Mavrogiannopoulos
Subject: Re: Raw RSA encryption
Date: Sun, 25 Jul 2010 09:41:40 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100528 Thunderbird/3.0.5

On 07/25/2010 04:33 AM, Mads Kiilerich wrote:

>>> The new gnutls/crypto.h exposes fine functionality for using
>>> stream/block ciphers and hash algorithms directly.
>>> But I also need raw RSA encryption and can't figure out how to do it -
>>> or if it is possible. I just need the basic modulo-exponentiation, for
>>> example with values from gnutls_x509_crt_get_pk_rsa_raw.
>> I question might be, why you want to do that? GnuTLS tries to hide that
>> by providing high level functions to manage certificates and keys.
> 
> I'm trying to use GnuTLS for the MS RDP protocol which both have a TLS
> mode and a homebrew mode where certificates and rc4 and md5 and sha and
> RSA is used in a different way.
> 
> I'm obviously trying to use GnuTLS for something it wasn't intended for.
> I assume that the new crypto.h stuff also don't have any use if GnuTLS
> is used for what it was intended to be used for through high level
> functions. Apparently PK stuff was left out from crypto.h. I wonder why
> you stopped there, but it is fair enough if that is how you want it.

If the internal API is good for you and you send me some wrappers over
that I'll include them.

regards,
Nikos




reply via email to

[Prev in Thread] Current Thread [Next in Thread]