blob: f0d7a50e84f052e249f370e0974203b4145f87d3 [file] [log] [blame]
[email protected]48b581d2013-02-23 06:47:221// Copyright (c) 2013 The Chromium 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 CRYPTO_HKDF_H_
6#define CRYPTO_HKDF_H_
7
avidd373b8b2015-12-21 21:34:438#include <stddef.h>
avidd373b8b2015-12-21 21:34:439
Victor Vasiliev01cb1c82018-07-09 19:30:2510#include <string>
[email protected]48b581d2013-02-23 06:47:2211
[email protected]daf079a2013-04-17 21:42:4012#include "base/strings/string_piece.h"
[email protected]48b581d2013-02-23 06:47:2213#include "crypto/crypto_export.h"
14
15namespace crypto {
16
Victor Vasiliev01cb1c82018-07-09 19:30:2517CRYPTO_EXPORT
18std::string HkdfSha256(base::StringPiece secret,
19 base::StringPiece salt,
20 base::StringPiece info,
21 size_t derived_key_size);
[email protected]48b581d2013-02-23 06:47:2222
23} // namespace crypto
24
25#endif // CRYPTO_HKDF_H_