crypto_digest

Function crypto_digest 

Source
pub fn crypto_digest(
    alg: TpmAlgId,
    data_chunks: &[&[u8]],
) -> Result<Vec<u8>, CryptoError>
Expand description

Computes a cryptographic digest over a series of data chunks.

ยงErrors

Returns a CryptoError if the algorithm is unsupported.