Hi I try to implement simple message support in compatible with pkcs#7 standard. I use OpenSSL ver 0.9.6g. I encrypt data with PKCS7_encrypt and decrypt with PKCS7_decrypt functions and i've got a little problem. The length of the data to be encrypted is 2951B . I encrypt this data and next decrypt it , but the length of decrypted data is 2962B. The flags parameter i n both functions I pass 0 (zero). I dont know why do I get this length difrence. Does anybody have any suggestion to resolve my problem ?
Regards JM ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]