| 160 | } |
| 161 | |
| 162 | Session |
| 163 | Session::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 | |
| 174 | Session |
| 175 | Session::Inner::join(const HPKEPrivateKey& init_priv, |
no test coverage detected