>
> 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