pub fn derive_wrap_key(
our_secret: &[u8; 32],
their_pubkey: &[u8; 32],
our_pubkey: &[u8; 32],
) -> Zeroizing<[u8; 32]>Expand description
Derive a wrap key from DH shared secret + pubkey XOR salt.
Follows the derive_notification_keys() convention:
- IKM: shared_secret || salt (where salt = XOR of our_pubkey and their_pubkey)
- Context: event-transport-specific domain separation string