Re: [PATCH v2 5/6] luks2: Discern Argon2i and Argon2id

2020-02-21 Thread Daniel Kiper
On Thu, Feb 20, 2020 at 07:00:53PM +0100, Patrick Steinhardt wrote: > While GRUB is already able to parse both Argon2i and Argon2id parameters > from the LUKS2 header, it doesn't discern both types. This commit > introduces a new KDF type for Argon2id and sets up the parsed KDF's type >

[PATCH v2 5/6] luks2: Discern Argon2i and Argon2id

2020-02-20 Thread Patrick Steinhardt
While GRUB is already able to parse both Argon2i and Argon2id parameters from the LUKS2 header, it doesn't discern both types. This commit introduces a new KDF type for Argon2id and sets up the parsed KDF's type accordingly. Signed-off-by: Patrick Steinhardt --- grub-core/disk/luks2.c | 13