I must admit that my question was quite imprecise.

What I wanted to ask is if it is possible to encrypt large file reading it by parts and using Cbc functions like this:

wc_Des3_SetKey(&enc, key, iv, DES_ENCRYPTION);
wc_Des3_CbcEncrypt(&enc, cipher, plain, sizeof(plain));
//read another part of plaintext and write cipher to file
wc_Des3_CbcEncrypt(&enc, cipher, plain, sizeof(plain));

And if it is about ECB - does wolfSSL support this mode?

Hi,

I am looking for library which allows to do des encryption in cbc mode block by block. Is it possible to do this using wolfCrypt? I have been trying to find anything about this, but without any success.