# Cryptography implementation decisions ## Status: selection gate open The target is a maintained Signal-protocol implementation supporting the exact PQXDH suite selected by the project, including ML-KEM where supported by that implementation. Do not assume that a standalone ML-KEM library plus X25519 automatically implements PQXDH. Before selecting a dependency, record: - upstream project and exact version/commit - license and maintenance status - supported Android ABIs and API levels - PQXDH version and exact ML-KEM parameter set - wire-format compatibility and test vectors - security audit history - key storage and zeroization behavior - interoperability test results ## Media Use an RFC 9605-compatible SFrame implementation integrated at the WebRTC encoded-frame boundary. Confirm Android native API support and verify that every audio sender has independently authenticated key material. Do not reuse a symmetric group key as proof of sender identity. ## Key schedule The final protocol document must define domain-separated derivation for call ID, transcript hash, direction, sender/device ID, epoch and SFrame context. It must define rotation, counter/nonce handling, replay windows, teardown and recovery. This scaffold intentionally contains no cryptographic implementation. ## Passwords Use a vetted Argon2id implementation with calibrated parameters and per-user salts. Do not use passwords as encryption keys for call media.