On Wed, Mar 10, 2004, mateus wrote: > Hi Steve, > > 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. > >
The look like the standard CRT components. So: a = iqmp c = dmp1 f = dmq1 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]