Hashing support for SHA2 functions