blob: bd7e6379e900cb40bd7370707aadc113a139d27d [file] [log] [blame]
// Copyright 2014 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef LIBWEAVE_SRC_PRIVET_OPENSSL_UTILS_H_
#define LIBWEAVE_SRC_PRIVET_OPENSSL_UTILS_H_
#include <string>
#include <vector>
#include <chromeos/secure_blob.h>
namespace weave {
namespace privet {
const size_t kSha256OutputSize = 32;
chromeos::Blob HmacSha256(const chromeos::SecureBlob& key,
const chromeos::Blob& data);
} // namespace privet
} // namespace weave
#endif // LIBWEAVE_SRC_PRIVET_OPENSSL_UTILS_H_