blake2b: add support for parameter setting and keyed hash