[gnutls-help] GnuTLS on ARMv7 and HardFP

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Thu Jun 15 10:41:41 CEST 2017


On Thu, Jun 15, 2017 at 9:53 AM, Mandar Joshi <emailmandar at gmail.com> wrote:
> <n.mavrogiannopoulos at gmail.com> 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



More information about the Gnutls-help mailing list