use ;
use ;
/// # Parent hash extension
///
/// The parent_hash extension serves to bind a KeyPackage to all the nodes
/// above it in the group's ratchet tree. This enforces the tree invariant,
/// meaning that malicious members can't lie about the state of the ratchet
/// tree when they send Welcome messages to new members.
///
/// This extension is present in all updates that are sent as part of a
/// commit message. If the extension is present, OpenMLS verifies that the
/// parent hash matches the hash of the leaf's parent node.