Stream Encription

Dmitry Belyavsky beldmit at gmail.com
Fri Feb 28 13:55:31 UTC 2020


Hello,

If you mean encryption/decryption only, I strongly suppose you should look
at EVP_CipherInit/Update/Final functions.

On Fri, Feb 28, 2020 at 4:53 PM Илья Юркевич (Ilya Yurkevich) via
openssl-users <openssl-users at openssl.org> wrote:

> Hello,
>
> I have a client, that sends me data, that I need to encrypt, in few steps.
> I can use such functions in PKCS11: C_EncryptInit (...), C_EncryptUpdate
> (...), C_EncryptFinal (...). It allows me add data, that will be encrypted
> at every step, using C_EncryptUpdate  function.
>
>
>
> In OpenSSL I found CMS_encrypt (...) with flag = CMS_STREAM, but I can't
> understand how I can add data as I described above or another way? I get
> data in unsigned char* every time. Any help would be appreciated. Thanks.
>


-- 
SY, Dmitry Belyavsky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20200228/058cc715/attachment.html>


More information about the openssl-users mailing list