pub fn crypto_digest( alg: TpmAlgId, data_chunks: &[&[u8]], ) -> Result<Vec<u8>, CryptoError>
Computes a cryptographic digest over a series of data chunks.
Returns a CryptoError if the algorithm is unsupported.
CryptoError