Merge pull request #3920 from gilles-peskine-arm/sha512-doc-internal-fix-2.7

Backport 2.7: Move "internal use" sentence attached to the wrong function