[PATCH 1/5] lib: add crypt subsystem