Updated blake2 implementation which uses secure memset implementation provided by platform.