//==- SHA1.h - SHA1 implementation for LLVM --*- C++ -*-==// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // This code is taken from public domain // (http://oauth.googlecode.com/svn/code/c/liboauth/src/sha1.c) // and modified by wrapping it in a C++ interface for LLVM, // and removing unnecessary code. // //===----------------------------------------------------------------------===// #ifndef LLVM_SUPPORT_SHA1_H #define LLVM_SUPPORT_SHA1_H #include <array> #include <cstdint> namespace llvm { template <typename T> class ArrayRef; class StringRef; /// A class that wrap the SHA1 algorithm. class SHA1 { … }; } // end llvm namespace #endif