Documentation
¶
Overview ¶
Copyright (c) 2026 Lux Industries Inc. SPDX-License-Identifier: BSD-3-Clause
emit_codec_kat — produces the canonical cross-runtime KAT bundle for luxfi/math/codec. The C++ side at luxcpp/crypto/math/test/ codec_cross_runtime_test.cpp reads the same JSON and asserts byte-equal Reader behavior on every entry.
LP-107 Phase 7: Go emits → C++ verifies. This is the first cross-runtime release gate for the math substrate.
Usage:
go run ./cmd/emit_codec_kat --out testdata/codec_kat.json
Click to show internal directories.
Click to hide internal directories.