Implement the fixed output size versions of the SHA-2 digest functions.