Setting an IV

2003-03-17 Thread Aonzo Emanuele
Hi, I'm using Openssl to perform Encryption / Decryption operations in PKCS#7 format. I use the API set PKCS7_ ... I have to set a particular IV for the interoperability with an external product. What can I do? Can I set an IV in PKCS_encode / decode or I have to use lower level api like EVP_ciphe

Setting an IV

2003-03-17 Thread Aonzo Emanuele
Hi, I'm using Openssl to perform Encryption / Decryption operations in PKCS#7 format. I use the API set PKCS7_ ... I have to set a particular IV for the interoperability with an external product. What can I do? Can I set an IV in PKCS_encode / decode or I have to use lower level api like EVP_ciphe

padding problem

2002-10-24 Thread Aonzo Emanuele
Hi, I have a problem with RSA padding. I'm trying to generate a "low level" signature with a smart card using the functions RSA_private_encrypt. I think the Smart card RSA padding is wrong because the decryption (RSA_public_decrypt() ) not return the exact value of the digest but it returns a buffe

signer certificate self signed

2002-09-27 Thread Aonzo Emanuele
Hi, I'm Emanuele I'd like to know if is possible to sign a PKCS#7 with a self signed CA certificate because the verify fail. I need to sign a document with this kind of certificate. The signature operation is ok but the verify fail. I want the verify return OK also in case of signer certificat