On Thu, Jun 15, 2017 at 9:53 AM, Mandar Joshi <[email protected]> wrote: > <[email protected]> wrote: >> Check the gnutls_cipher_aead* functions at: >> https://www.gnutls.org/manual/html_node/Symmetric-algorithms.html >> > > I must be missing something very simple. gnutls_aead_cipher_init (...) > is failing.
Unfortuantely there is no AEAD mode involving the existing CBC ciphers. You will have to use GCM or CCM modes. Here is my take on it: https://gitlab.com/gnutls/gnutls/commit/e21b0af8b30e6b62e634bea1ab2b3fcf466c77c6 However, I'd recommend you to consult more sources on crypto primitives usage. regards, Nikos _______________________________________________ Gnutls-help mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnutls-help
