Taken verbatim from https://github.com/BLAKE2/BLAKE2/commit/997fa5ba1e14b52c554fb03ce39e579e6f27b90c

Sources are in the public domain.
