Re: [PATCH] crypto:authencesn: Avoid twice completion call in decrypt path

2019-01-10 Thread Herbert Xu
On Thu, Jan 03, 2019 at 02:21:05PM +0530, Harsh Jain wrote: > Authencesn template in decrypt path unconditionally calls > aead_request_complete > after ahash_verify which leads to following kernel panic in after decryption. > > [ 338.539800] BUG: unable to handle kernel NULL pointer dereference

[PATCH] crypto:authencesn: Avoid twice completion call in decrypt path

2019-01-03 Thread Harsh Jain
Authencesn template in decrypt path unconditionally calls aead_request_complete after ahash_verify which leads to following kernel panic in after decryption. [ 338.539800] BUG: unable to handle kernel NULL pointer dereference at 0004 [ 338.548372] PGD 0 P4D 0 [ 338.551157] Oops: 00