Home
last modified time | relevance | path

Searched refs:kFullDigestLen (Results 1 – 1 of 1) sorted by relevance

/external/libweave/third_party/libuweave/src/
Dcrypto_hmac.c33 const size_t kFullDigestLen = (size_t)EVP_MD_size(EVP_sha256()); in uw_crypto_hmac_() local
34 if (truncated_digest_len > kFullDigestLen) { in uw_crypto_hmac_()
38 uint8_t digest[kFullDigestLen]; in uw_crypto_hmac_()
39 uint32_t len = kFullDigestLen; in uw_crypto_hmac_()
41 bool result = HMAC_Final(&context, digest, &len) && kFullDigestLen == len; in uw_crypto_hmac_()