Taken verbatim from https://github.com/BLAKE2/BLAKE2/commit/5cbb39c9ef8007f0b63723e3aea06cd0887e36ad

Sources are in the public domain.
