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

Method add

mlspp/src/session.cpp:252–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252bytes
253Session::add(const bytes& key_package_data)
254{
255 auto key_package = tls::get<KeyPackage>(key_package_data);
256 auto proposal = inner->history.front().add(
257 key_package, { inner->encrypt_handshake, {}, 0 });
258 return tls::marshal(proposal);
259}
260
261bytes
262Session::update()

Callers

nothing calls this directly

Calls 1

marshalFunction · 0.50

Tested by

no test coverage detected