Lines Matching refs:SHA1
1 //====- SHA1.cpp - Private copy of the SHA1 implementation ---*- C++ -* ======//
17 #include "llvm/Support/SHA1.h"
85 void SHA1::init() {
95 void SHA1::hashBlock() {
194 void SHA1::addUncounted(uint8_t Data) {
208 void SHA1::writebyte(uint8_t Data) {
213 void SHA1::update(ArrayRef<uint8_t> Data) {
241 void SHA1::update(StringRef Str) {
246 void SHA1::pad() {
266 StringRef SHA1::final() {
289 StringRef SHA1::result() {
301 std::array<uint8_t, 20> SHA1::hash(ArrayRef<uint8_t> Data) {
302 SHA1 Hash;