[PATCH 1/2] lib: add BLAKE2 hash support