Hacker News (curated)new | past | comments | ask | show | jobs| show hidden

I'm reminded of LUKS Argon2 implementation, which is much slower than userspace. Therefore a sufficiently difficult challenge that may take less than a second in userspace Linux can take 20 or more seconds at boot.


Huh? Are you saying there's an Argon2 implementation in the kernel?

Its not in the kernel but in the userspace tool that goes from password to key (the key is handed to the kernel).

You can see the implementation here: https://gitlab.com/cryptsetup/cryptsetup/-/blob/main/lib/cry...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact | github