[gnutls-devel] ccm segv

Nikos Mavrogiannopoulos nmav at gnutls.org
Thu Apr 16 21:26:15 CEST 2015


On Thu, 2015-04-16 at 13:05 -0400, James Cloos wrote:
> >>>>> "NM" == Nikos Mavrogiannopoulos <nmav at gnutls.org> writes:
> 
> NM> Thanks. Are you sure it is the benchmark-tls-ciphers, and not the
> NM> benchmark-ciphers option? If yes, could you please send the output
> NM> of running the command with valgrind?
> 
> Sorry, you are right.
> 
> CPU is a Kavari APU.
> 
> The backtrace shows:
> #0  0x0000000000000000 in ?? ()
> No symbol table info available.
> #1  0x00007fe37f66656d in _gnutls_cipher_init (handle=handle at entry=0x1229a10, e=e at entry=0x7fe37f953620 <algorithms+160>, key=key at entry=0x7ffd0e7647e0, iv=iv at entry=0x7ffd0e7647f0, enc=enc at entry=1) at /usr/src/debug/net-libs/gnutls-3.4.0/gnutls-3.4.0/lib/gnutls_cipher_int.c:101
>         ret = <optimized out>
>         cc = 0x7fe37f955fa0 <_gnutls_aes_ccm_x86_aesni>

Ok. Should be ok now. It was a fault of the benchmark in gnutls-cli. The
CCM cipher only provides the new AEAD API which the benchmark didn't
use.

regards,
Nikos





More information about the Gnutls-devel mailing list