fix: blake2 API does not set errno on error