Mailing List Archive

MPI structure of data set
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

when making my first successful experiments with libgcrypt I found out that in
my example code the data set of the encrypted data (gcry_ac_data_encrypt)
contains only one MPI value named "a".

Two questions about that: Is there always only one MPI value and is its name
always "a"?

Best regards,
Ralf.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/IRaw7YyyfykA0YkRAq6ZAJ9mMnIDa+DxN1L4dAsOxi6nqIOmGACdHkPJ
YM0+6Lp8JrGFGoqk2EfCXX0=
=JVsF
-----END PGP SIGNATURE-----
Re: MPI structure of data set [ In reply to ]
Ralf Schneider <ralf@tapfere-schneiderleins.de> writes:

> Two questions about that: Is there always only one MPI value and is
> its name always "a"?

Yes - well, that's the case for RSA. This is defined in
cipher/rsa.c:pubkey_spec_rsa.

moritz
--
((gpg-key-id . "6F984199")
(email . "moritz@duesseldorf.ccc.de")
(webpage . "http://duesseldorf.ccc.de/~moritz/"))