Re: kernel tainted while exporting shash context using af_alg interface

2015-10-25 Thread Harsh Jain
Hi Stephan, I also tried test program in libkcapi and it works. libkcapi opens socket of type "hmac(sha1)" .Openssl opens multiple "sha1" type socket and uses the partial results to calculate hmac. "crypto_ahash_init()" function initialises the *tfm variable in crypto_shash structure.It gets cal

Re: kernel tainted while exporting shash context using af_alg interface

2015-10-25 Thread Stephan Mueller
Am Sonntag, 25. Oktober 2015, 11:56:27 schrieb Harsh Jain: Hi Harsh, >Hi, > > >When trying to calculate HMAC(SHA1) with openssl using af-alg engine >kernel crashes.Find below the command used and kernel. I have added >some debug print in logs. > >Command used : ./openssl dgst -engine af_alg -sha1