| 83 | /// |
| 84 | |
| 85 | SecretTree::SecretTree(CipherSuite suite_in, |
| 86 | LeafCount group_size_in, |
| 87 | bytes encryption_secret_in) |
| 88 | : suite(suite_in) |
| 89 | , group_size(LeafCount::full(group_size_in)) |
| 90 | , root(NodeIndex::root(group_size)) |
| 91 | , secret_size(suite_in.secret_size()) |
| 92 | { |
| 93 | secrets.emplace(root, std::move(encryption_secret_in)); |
| 94 | } |
| 95 | |
| 96 | bytes |
| 97 | SecretTree::get(LeafIndex sender) |
nothing calls this directly
no test coverage detected