prf_tls_functions.hpp
Go to the documentation of this file.
36 template<std::size_t Version, typename MessageAuthenticationCode1, typename MessageAuthenticationCode2>
39 typedef prf_tls_policy<Version, MessageAuthenticationCode1, MessageAuthenticationCode2> policy_type;
constexpr T min(const vector< T, N > &v)
computes the minimum valued element
Definition: algebra/include/nil/crypto3/algebra/vector/math.hpp:135
boost::mpl::apply< AccumulatorSet, tag::mac< ProcessingPolicy > >::type::result_type mac(const AccumulatorSet &acc)
Definition: accumulators/mac.hpp:99
boost::mpl::apply< AccumulatorSet, tag::kdf< Mode > >::type::result_type kdf(const AccumulatorSet &acc)
Definition: kdf.hpp:177
void xor_buf(uint8_t out[], const uint8_t in[], size_t length)
Definition: memory_operations.hpp:245
Definition: pair.hpp:31
Definition: prf_tls_functions.hpp:38
constexpr static const std::size_t version
Definition: prf_tls_functions.hpp:41
prf_tls_policy< Version, MessageAuthenticationCode1, MessageAuthenticationCode2 > policy_type
Definition: prf_tls_functions.hpp:39
policy_type::mac_type1 mac_type1
Definition: prf_tls_functions.hpp:42
policy_type::mac_type2 mac_type2
Definition: prf_tls_functions.hpp:43
static void p_hash(uint8_t out[], size_t out_len, MessageAuthenticationCode &mac, const uint8_t salt[], size_t salt_len)
Definition: prf_tls_functions.hpp:46
Definition: prf_tls_policy.hpp:33
MessageAuthenticationCode2 mac_type2
Definition: prf_tls_policy.hpp:36
MessageAuthenticationCode1 mac_type1
Definition: prf_tls_policy.hpp:35
constexpr static const std::size_t version
Definition: prf_tls_policy.hpp:34