1

(3 replies, posted in wolfCrypt)

Hi Anthony,

Thanks for your information.

I would like to use stream call API for modes as CBC and CCM which are quite popular in TLS communication.

Best Regards,

Dien

2

(3 replies, posted in wolfCrypt)

Hi,

I am using wolfssl's AES encryption API.  Sometimes I don't have memory enough to buffer all incoming chunks of data, so I would like to use APIs that enable to update data chunks in multiple times.
I think it might look like Sha APIs:

wc_InitSha
wc_ShaUpdate
wc_ShaFinal

In theory, AES processes block by block, so in my opinion it is possible to provide some APIs to allow user updating multiple times.
However, after investigating, I see wolfssl has such APIs for only ECB and GCM modes.

wc_AesGcmEncryptInit
wc_AesGcmEncryptUpdate
wc_AesGcmEncryptFinal

wolfssl has not supported stream call for other AES modes, isn't it?

Could you help to confirm?

Thank you.