chromium/base/hash/sha1_boringssl.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/hash/sha1_boringssl.h"

#include <stdint.h>

#include <cstddef>
#include <string>
#include <string_view>

#include "base/containers/span.h"
#include "base/hash/sha1.h"
#include "third_party/boringssl/src/include/openssl/sha.h"

namespace base {
static_assert;

SHA1Digest SHA1Hash(span<const uint8_t> data) {}

std::string SHA1HashString(std::string_view str) {}

// These functions allow streaming SHA-1 operations.
void SHA1Init(SHA1Context& context) {}

void SHA1Update(const std::string_view data, SHA1Context& context) {}

void SHA1Final(SHA1Context& context, SHA1Digest& digest) {}

}  // namespace base