ref: 234137bce39a03eab02044234c8f970498ccc5b0
parent: f3feafc476ff108231dd6e0e3ac3cd420a62a81c
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Oct 24 16:56:11 EDT 2016
fix bugs and cleanup cryptsetup code devfs: - fix memory leak in devfs leaking the aes key - allocate aes-xts cipher state in secure memory - actually check if the hexkey got fully parsed cryptsetup: - get rid of stupid "type YES" prompt - use genrandom() to generate salts and keys - rewrite cryptsetup to use common pbkdf2 and readcons routines - fix alot of error handling and simplify the code - move cryptsetup command to disk/cryptsetup - update cryptsetup(8) manual page