Hi Christian, I have gone through the engine_pkcs11 source code and I was not able to find any RSA encryption and decryption implemented by this engine .
Thanks in advance Samule On Thu, Feb 4, 2010 at 8:39 PM, Christian Hohnstaedt < christ...@hohnstaedt.de> wrote: > Hi Samuel, > > you are aware of the PKCS#11 engine from the OpenSC project ? > http://www.opensc-project.org/engine_pkcs11 > > If this is not already the engine you want to implement, > maybe its sources could give some hints and inspirations. > > Christian > > > On Thu, Feb 04, 2010 at 06:24:13AM -0800, Samuel123smith wrote: > > > > Hi ALL, > > > > I was trying to write openssl pkcs11 engine implementation for RSA . Now > ,I > > am stuck with the implementating RSA padding which is required for RSA > > encryption,decryption ,signing and verifying. > > > > I was trying to find the mechanism which is needed for each padding. > > > > RSA_PKCS1_PADDING ---> Mechanism used is CKM_RSA_PKCS > > RSA_PKCS1_OAEP_PADDING--> Mechanism used is CKM_RSA_PKCS_OAEP (please > > confirm if it is correct) > > > > I was not able to figure out which mechanism to use for > > > > RSA_SSLV23_PADDING > > RSA_NO_PADDING > > > > Do any one knows which pkcs11 mechanism to be used for this padding? > > > > Need your help and assistance to solve this problem > > > > Thanks in advance > > Samuel > > -- > > View this message in context: > http://old.nabble.com/OpenSSL-PKCS11-engine-implementation-tp27452205p27452205.html > > Sent from the OpenSSL - User mailing list archive at Nabble.com. > > > > ______________________________________________________________________ > > OpenSSL Project http://www.openssl.org > > User Support Mailing List openssl-users@openssl.org > > Automated List Manager majord...@openssl.org > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager majord...@openssl.org >