Mattes, David wrote: >> -----Original Message----- >> From: Mattes, David >> Sent: Tuesday, November 13, 2007 11:16 AM >> To: 'Ludovic Rousseau'; [email protected] >> Subject: RE: [opensc-devel] GemSafe driver >> >>> -----Original Message----- >>> From: Ludovic Rousseau [mailto:[EMAIL PROTECTED] >>> Sent: Tuesday, November 13, 2007 1:16 AM >>> To: [email protected] >>> Cc: Mattes, David >>> Subject: Re: [opensc-devel] GemSafe driver >>> >>> 2007/11/12, Douglas E. Engert <[EMAIL PROTECTED]>: >>> >>>> Can the card do RAW RSA? i.e. CKM_RSA_X_509. If so the libopensc > could >>>> do the padding. >>> I am not sure the applet supports raw RSA. Hash can be performed >>> outside of the card but a padding is added by the card in all cases >>> (pkcs#1 v2, ISO 9796-2 or RFC 2409) >>> >> I'm not sure either about raw RSA, nor am I sure how to tell. What > should >> I be looking for? > > I looked through the documents I have and it looks like only > CKM_RSA_PKCS is permitted. Does that make sense?
Yes, and that is good enough, as with the previous note, I can get the sign an decrypt to work, as PKCS1 padding is used in both. So RAW is not needed. Nice work! > > Thanks! > David > _______________________________________________ > opensc-devel mailing list > [email protected] > http://www.opensc-project.org/mailman/listinfo/opensc-devel > > -- Douglas E. Engert <[EMAIL PROTECTED]> Argonne National Laboratory 9700 South Cass Avenue Argonne, Illinois 60439 (630) 252-5444 _______________________________________________ opensc-devel mailing list [email protected] http://www.opensc-project.org/mailman/listinfo/opensc-devel
