Check the gnutls_cipher_aead* functions at:
https://www.gnutls.org/manual/html_node/Symmetric-algorithms.html

On Fri, Jun 9, 2017 at 10:24 AM, Mandar Joshi <[email protected]> wrote:
>>
>> I see that you are using strlen() on the input data. CBC mode is a
>> block mode, which means you cannot encrypt data of arbitrary size. Any
>> data you encrypt must be a multiple of the block size. I'd recommend
>> to switch to the authenticated encryption API and use that, due to its
>> simplicity.
>>
> I wasn't aware of any other API.
> Which are the authenticated encryption API functions?
> Can you please point me to their documentation?
>
> Thanks
> Mandar Joshi

_______________________________________________
Gnutls-help mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-help

Reply via email to