Cryptographic Token Interface Standard

PKCS#11


SHA-256 digest

The SHA-256 mechanism, denoted CKM_SHA256, is a mechanism for message digesting, following the Secure Hash Algorithm with a 256-bit message digest defined in FIPS PUB 180-2.

It does not have a parameter.

Constraints on the length of input and output data are summarized in the following table. For single-part digesting, the data and the digest may begin at the same location in memory.

Table 132, SHA-256: Data Length
Function
Input length
Digest length
C_Digest
any
32


RSA Security Inc. Public-Key Cryptography Standards - PKCS#11 - v220