Promblems with decryption of large Strings with highlevel routines for PRIVACY-ENHANCED MESSAGE

2005-10-24 Thread Martin
Hi everyone, I have promblems with decrypting of large Strings. the following code works fine with little data (<= 743 Byte). // Encrypt ... PEM_ENCODE_SEAL_CTX ctx; PEM_SealInit(& ctx,EVP_des_cbc(),EVP_md5(),ekey,ekeylen,iv,pubKey,pubkeyscount); ... PEM_SealUpdate(& ctx,outbuf,& outlen,intext,i

Promblems with decryption of large Strings.

2005-10-23 Thread Martin
Hi all, I have promblems with decrypting of large Strings. the following code works fine with little data. // Encrypt ... PEM_SealInit(& ctx,EVP_des_cbc(),EVP_md5(),ekey,ekeylen,iv,pubKey,pubkeyscount); ... PEM_SealUpdate(& ctx,outbuf,& outlen,intext,intextlen); ... PEM_SealFinal(& ctx,outbufs