MCPcopy Create free account
hub / github.com/brainboxdotcc/DPP / begin

Method begin

mlspp/src/session.cpp:162–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162Session
163Session::Inner::begin(CipherSuite suite,
164 const bytes& group_id,
165 const HPKEPrivateKey& leaf_priv,
166 const SignaturePrivateKey& sig_priv,
167 const LeafNode& leaf_node)
168{
169 auto state = State(group_id, suite, leaf_priv, sig_priv, leaf_node, {});
170 auto inner = std::make_unique<Inner>(state);
171 return { inner.release() };
172}
173
174Session
175Session::Inner::join(const HPKEPrivateKey& init_priv,

Callers 14

create_defaultMethod · 0.45
copathMethod · 0.45
remove_leavesFunction · 0.45
resolveMethod · 0.45
TreeHashInputClass · 0.45
getMethod · 0.45
new_reuse_guardFunction · 0.45
transformFunction · 0.45
any_ofFunction · 0.45
all_ofFunction · 0.45
count_ifFunction · 0.45
containsFunction · 0.45

Calls 1

StateClass · 0.50

Tested by

no test coverage detected