Lines Matching refs:SHA1
1 //====- SHA1.cpp - Private copy of the SHA1 implementation ---*- C++ -* ======//
17 #include "llvm/Support/SHA1.h"
81 void SHA1::init() {
91 void SHA1::hashBlock() {
190 void SHA1::addUncounted(uint8_t Data) {
203 void SHA1::writebyte(uint8_t Data) {
208 void SHA1::update(ArrayRef<uint8_t> Data) {
236 void SHA1::update(StringRef Str) {
241 void SHA1::pad() {
261 void SHA1::final(std::array<uint32_t, HASH_LENGTH / 4> &HashResult) {
278 std::array<uint8_t, 20> SHA1::final() {
288 std::array<uint8_t, 20> SHA1::result() {
300 std::array<uint8_t, 20> SHA1::hash(ArrayRef<uint8_t> Data) {
301 SHA1 Hash;