Function sgx_tcrypto::rsgx_sha256_slice[][src]

pub fn rsgx_sha256_slice<T>(src: &[T]) -> SgxResult<sgx_sha256_hash_t> where
    T: Copy + ContiguousMemory

The rsgx_sha256_slice function performs a standard SHA256 hash over the input data buffer.