Expand description
Length-framed application-crypto adapters for iroh SendStream / RecvStream.
Mirrors the TypeScript createCryptoStreams contract: each
write_all produces one encrypted frame; read reassembles framed ciphertext
from arbitrary chunk boundaries before returning plaintext.
Structs§
Enums§
Functions§
- is_
crypto_ auth_ failure - Returns true only when encrypted stream decoding reached AEAD verification and rejected the frame. Transport EOF, connection loss, and incomplete shutdown frames are intentionally distinct so callers do not misreport lifecycle teardown as retired key material.
- peer_
stop_ code - Return the peer-provided QUIC stop code without forcing higher layers to parse a transport error’s display text.
- wrap_
peer_ streams - wrap_
send_ stream