Skip to main content

Module identity

Module identity 

Source
Expand description

UKS, identity misbinding, and X25519 reflection checks.

Functionsยง

identity_binding
SHA-384(initiator || responder). Zero or equal identities are Unauthorized.
reject_reflected_share
Reject a peer X25519 public that equals the local public (reflection).
reject_unknown_key_share
Unknown-key-share: claimed peer must match the transcript-bound peer.
require_bound_identities
Fail closed on zero identities, equal roles, or missing transcript binding.
require_identity_binding
Transcript must already contain both identity digests as 48-byte windows.