On 02/19/2012 11:34 AM, Frank wrote:

>> Hello,
>>  (note that the main mailing list is cryptodev-linux-devel@gna.org)
> I was first thinking about sending my report there, but then I read that 
> bug-reports should be send to cryptodev-linux-com...@gna.org on the following 
> page: http://home.gna.org/cryptodev-linux/lists.html
> I'm sorry about not sticking to my initial idea of sending it to -devel.


That's a typo, thanks for letting me know. I've corrected it.

>> What is the output you get from "make check" in the cryptodev
>> distribution? 
> I've attached to this mail the output of 'make check' both when mv_cesa is 
> loaded and when it is not loaded (which doesn't affect the segfault in 
> gnutls, nor the nginx behaviour).
>> Could you provide a backtrace of the gnutls-cli segfault?
> This is the backtrace without mv_cesa loaded:
> 
> #0  0x00000000 in ?? ()
> #1  0xb6f13cf4 in _gnutls_hmac_fast (algorithm=GNUTLS_MAC_SHA1, key=0x6cb98, 
> keylen=20, text=0x20738, textlen=16384, digest=0x6cb98) at 
> gnutls_hash_int.c:191
> #2  0xb6f2d6d0 in gnutls_hmac_fast (algorithm=<optimized out>, key=<optimized 
> out>, keylen=<optimized out>, text=<optimized out>, textlen=16384, 
> digest=0x6cb98) at crypto-api.c:394
> #3  0x0000ff44 in mac_bench (algo=3, size=16) at benchmark-cipher.c:195
> #4  0x000102ec in benchmark_cipher (init=1, debug_level=0) at 
> benchmark-cipher.c:219
> #5  0x000127dc in gaa_try (gaa_num=<optimized out>, gaa_index=<optimized 
> out>, gaaval=<optimized out>, opt_list=<optimized out>) at cli.gaa:102
> #6  0x000130d8 in gaa (argc=2, argv=<optimized out>, gaaval=0x201f0) at 
> gaa.skel:464
> #7  0x0000c658 in gaa_parser (argv=0xbefff824, argc=2) at cli.c:1014
> #8  main (argc=2, argv=0xbefff824) at cli.c:750

Ok it seems that is unrelated with the cesa and it is a bug in the
gnutls cryptodev code. Could you try replacing gnutls' cryptodev.c with
the file from the repository?

http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=blob;f=lib/accelerated/cryptodev.c;hb=HEAD

regards,
Nikos

_______________________________________________
Cryptodev-linux-devel mailing list
Cryptodev-linux-devel@gna.org
https://mail.gna.org/listinfo/cryptodev-linux-devel

Reply via email to