Searched defs:SHA256_DIGEST_LENGTH (Results 1 – 2 of 2) sorted by relevance
22 pub(crate) const SHA256_DIGEST_LENGTH: usize = bssl_sys::SHA256_DIGEST_LENGTH as usize; constant25 pub fn sha256(data: &[u8]) -> Result<[u8; SHA256_DIGEST_LENGTH]> { in sha256()
24 pub fn hmac_sha256(key: &[u8], data: &[u8]) -> Result<[u8; SHA256_DIGEST_LENGTH]> { in hmac_sha256()