CCA Release 2.54 One_Way_Hash
hash_length
The hash_length parameter is a pointer to an integer variable containing the
number of bytes of data in the hash variable. This value must be at least 16
bytes for MD5, and at least 20 bytes for SHA-1. The maximum length is 128
bytes.
hash
The hash parameter is a pointer to a string variable containing the hash value
returned by the verb. With use of the FIRST or MIDDLE keywords, the hash
variable receives intermediate results.
Required Commands
Calculation of a SHA-1 hash with a text length greater than 8192 bytes requires the
SHA-1 command (command offset X'0107') to be enabled in the hardware.
Chapter 4. Hashing and Digital Signatures 4-15