help-gnutls
[Top][All Lists]
Advanced

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

Re: Raw RSA encryption


From: Mads Kiilerich
Subject: Re: Raw RSA encryption
Date: Mon, 26 Jul 2010 01:52:58 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Thunderbird/3.1.1

 Nikos Mavrogiannopoulos wrote, On 07/24/2010 11:05 AM:
On 07/24/2010 03:07 AM, Mads Kiilerich wrote:
(In either case it seems like I need to figure out how the simple
bigendian format of gnutls_datum_t from gnutls_x509_crt_get_pk_rsa_raw
relates to bigint_t?)
The gnutls_datum_t contains the big integer in an unsigned format that
is importable by almost all crypto libraries (and thus libgcrypt). The
bigint_t is the gnutls crypto library's internal representation of that.

Is it correct that there is no simple way to create a gnutls_pk_params_st ? gnutls_pk_params_init and gnutls_pk_params_release is all there is?

gnutls_rsa_params_t and gnutls_x509_privkey_t seems to be very similar to gnutls_pk_params_st, but the types seems be held very separate with no simple conversions?

It seems like it could be nice to use something like a cousin of gnutls_rsa_params_import_raw. Or how could you imagine that gnutls_pk_params_st based RSA keys could be handled?

/Mads



reply via email to

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