CCF
Loading...
Searching...
No Matches
include
ccf
crypto
hkdf.h
Go to the documentation of this file.
1
// Copyright (c) Microsoft Corporation. All rights reserved.
2
// Licensed under the Apache 2.0 License.
3
#pragma once
4
5
#include "
ccf/crypto/md_type.h
"
6
7
#include <span>
8
#include <vector>
9
10
namespace
ccf::crypto
11
{
13
std::vector<uint8_t>
hkdf
(
14
MDType
md_type,
15
size_t
length,
16
const
std::span<const uint8_t>& ikm,
17
const
std::span<const uint8_t>& salt = {},
18
const
std::span<const uint8_t>& info = {});
19
}
md_type.h
ccf::crypto
Definition
base64.h:10
ccf::crypto::hkdf
std::vector< uint8_t > hkdf(MDType md_type, size_t length, const std::span< const uint8_t > &ikm, const std::span< const uint8_t > &salt={}, const std::span< const uint8_t > &info={})
Definition
hash.cpp:51
ccf::crypto::MDType
MDType
Definition
md_type.h:10
Generated by
1.9.8