protocol/

directory
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2026 License: MIT

Directories

Path Synopsis
code-link-v1
ref
Package codelinkv1ref is the reference implementation of the hotline code-link-v1 crypto core (protocol/code-link-v1/SPEC.md): CPace over ristretto255 (CPACE-RISTRETTO255-SHA512, draft-irtf-cfrg-cpace), the hotline HKDF-SHA256 key schedule, the SHA-256/HMAC transcript-confirmation MACs, the XChaCha20-Poly1305 payload wrap, and Crockford base32 code normalization.
Package codelinkv1ref is the reference implementation of the hotline code-link-v1 crypto core (protocol/code-link-v1/SPEC.md): CPace over ristretto255 (CPACE-RISTRETTO255-SHA512, draft-irtf-cfrg-cpace), the hotline HKDF-SHA256 key schedule, the SHA-256/HMAC transcript-confirmation MACs, the XChaCha20-Poly1305 payload wrap, and Crockford base32 code normalization.
ref/gen command
Command gen regenerates the code-link-v1 golden fixtures under protocol/code-link-v1/fixtures/ from the reference implementation.
Command gen regenerates the code-link-v1 golden fixtures under protocol/code-link-v1/fixtures/ from the reference implementation.
core-v1
ref
Package corev1ref is the reference implementation of the hotline core-v1 protocol primitives (protocol/core-v1/SPEC.md): the e1 E2E envelope (HKDF-SHA256 key derivation + XChaCha20-Poly1305 AEAD) and the signed control-plane header scheme (P-256 ECDSA / SHA-256, canonical string, mandatory low-S).
Package corev1ref is the reference implementation of the hotline core-v1 protocol primitives (protocol/core-v1/SPEC.md): the e1 E2E envelope (HKDF-SHA256 key derivation + XChaCha20-Poly1305 AEAD) and the signed control-plane header scheme (P-256 ECDSA / SHA-256, canonical string, mandatory low-S).
ref/gen command
Command gen regenerates the cryptographic golden fixtures for core-v1: fixtures/envelope-e1.json and fixtures/signing-core.json.
Command gen regenerates the cryptographic golden fixtures for core-v1: fixtures/envelope-e1.json and fixtures/signing-core.json.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL