chromium/third_party/angle/src/common/base/anglebase/sha1.cc

// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "anglebase/sha1.h"

#include <stddef.h>
#include <stdint.h>
#include <string.h>

#include "anglebase/sys_byteorder.h"

namespace angle
{

namespace base
{

static inline uint32_t f(uint32_t t, uint32_t B, uint32_t C, uint32_t D)
{}

static inline uint32_t S(uint32_t n, uint32_t X)
{}

static inline uint32_t K(uint32_t t)
{}

const int SecureHashAlgorithm::kDigestSizeBytes =;

void SecureHashAlgorithm::Init()
{}

void SecureHashAlgorithm::Final()
{}

void SecureHashAlgorithm::Update(const void *data, size_t nbytes)
{}

void SecureHashAlgorithm::Pad()
{}

void SecureHashAlgorithm::Process()
{}

std::array<uint8_t, kSHA1Length> SecureHashAlgorithm::DigestAsArray() const
{}

std::string SHA1HashString(const std::string &str)
{}

void SHA1HashBytes(const unsigned char *data, size_t len, unsigned char *hash)
{}

}  // namespace base

}  // namespace angle