| 626 | } |
| 627 | |
| 628 | std::optional<LeafNode> |
| 629 | TreeKEMPublicKey::leaf_node(LeafIndex index) const |
| 630 | { |
| 631 | const auto& node = node_at(index); |
| 632 | if (node.blank()) { |
| 633 | return std::nullopt; |
| 634 | } |
| 635 | |
| 636 | return node.leaf_node(); |
| 637 | } |
| 638 | |
| 639 | TreeKEMPrivateKey |
| 640 | TreeKEMPublicKey::update(LeafIndex from, |
no test coverage detected