Re: Crash when using ahash_request_ctx

2014-06-01 Thread Marek Vasut
On Wednesday, May 28, 2014 at 12:01:09 PM, Corentin LABBE wrote: > Hello > > I have a problem when using a simple md5 tfm. > When I use the data that ahash_request_ctx() give me, it will cause random > crash when removing the module later. I do not understand it, because > .cra_ctxsize seems to be

Crash when using ahash_request_ctx

2014-05-28 Thread Corentin LABBE
Hello I have a problem when using a simple md5 tfm. When I use the data that ahash_request_ctx() give me, it will cause random crash when removing the module later. I do not understand it, because .cra_ctxsize seems to be rightly used. The very simplified POC code will follow, it register a fake