Searched refs:sha_context (Results 1 – 1 of 1) sorted by relevance
21 SHA256_CTX sha_context; in SHA256HashString() local22 SHA256_Init(&sha_context); in SHA256HashString()23 SHA256_Update(&sha_context, str.data(), str.size()); in SHA256HashString()26 SHA256_Final(reinterpret_cast<uint8_t*>(&hash[0]), &sha_context); in SHA256HashString()