I understand that I would not have to calculate this to use a private key, but the axalto cryptoflex
smart card I'm using needs the RSA key in the following format to work:
This format I've got in the "Programmer's Guide of Cryptoflex Cards".
The problem is that I don't know how to calculate a, c and f. This same guide
gave me the following formulas:
The problem is that I do not know what is "Ks" and I'm not shure of what is the "mod"
operator. I do know the remainer of interger dividion (%) from C language, but is this the same.
I thought the references to Montgomery constants in the RSA structure would be helpfull, bul I don't know
how to use the either.
So, I'd just like to know how to find a way to put my RSA key in the format above in order to
record it in my smart card.
Thanks,
Mateus.
Dr. Stephen Henson escreveu:
On Wed, Mar 10, 2004, mateus wrote:I'd have to ask you to pardon my ignorance too. In fact I do not know montogomery constants. I'm using cryptoflex smart cards and I'm having problems to find out what are a,c and f that it's Programmer's Guide references. I've found somewhere that this would be some of montgomery constants, but in fact the only thing I need is to insert a Openssl RSA key into one of this cards.If somebody know how to do so, I'd be glad to get this information.You shouldn't need to bother with these because you don't need them in order to use a private key. If you have an existing private key and you want to import it onto a smartcard you just need to convert it into a form the smartcard import function or program can use. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Funding needed! Details on homepage. Homepage: http://www.drh-consultancy.demon.co.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
<<inline: RSA format>>
<<inline: formulas>>