blob: 587b60c34cd7e14ef081b6ca38fc6d830a993f7b [file] [log] [blame]
Vitaly Buka7ce499f2015-06-09 08:04:11 -07001// Copyright 2014 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef BUFFET_PRIVET_OPENSSL_UTILS_H_
6#define BUFFET_PRIVET_OPENSSL_UTILS_H_
7
8#include <string>
9#include <vector>
10
11#include <chromeos/secure_blob.h>
12
13namespace privetd {
14
15const size_t kSha256OutputSize = 32;
16
17chromeos::Blob HmacSha256(const chromeos::SecureBlob& key,
18 const chromeos::Blob& data);
19
20} // namespace privetd
21
22#endif // BUFFET_PRIVET_OPENSSL_UTILS_H_