summaryrefslogtreecommitdiffstats
path: root/chrome/installer/mac/third_party/bsdiff/sha1_adapter.cc
blob: aa628611ffd341358bad74581911a2e96c240700 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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 "chrome/installer/mac/third_party/bsdiff/sha1_adapter.h"

#include "base/sha1.h"

void SHA1(const unsigned char* data, size_t len, unsigned char* hash) {
  base::SHA1HashBytes(data, len, hash);
}