I couldn't find the twrp but people here suggested to decrypt by formatting and wiping all data along with internal storage in the twrp menu or via cmd through a pc. I used the second option via pc and That decrypted my device successfully.
Not sure I understand.
Wouldn't wipe completely destroy your data and disable encryption ?
Or that after you did that and encrypted the device again it worked with TWRP ?
I have a fresh Install on my phone but I'm pretty sure I wiped everything with TWRP before enabling encryption in Lineange.
From the recovery.log it seems like the KDF is failing. I'll try to dig a bit more when I'll have the time but I don't have a lot of experience with TWRP internals