mirror of
https://github.com/luxfi/mpcvm.git
synced 2026-10-30 15:24:33 +00:00
Per the canonical-name rename of the lattice-based threshold signature
primitive from Ringtail to Corona. Coordinated with lux-private/gpu-
kernels and luxcpp/gpu so the byte-equal cross-tree ABI stays in lockstep.
Renamed:
* RingtailDkg / RingtailSign (ceremony-kind enum values 4u/5u)
→ CoronaDkg / CoronaSign
* SchemeRingtail = 2u → SchemeCorona = 2u (value preserved)
* kRingtailDkgRounds / kRingtailSignRounds → kCoronaDkgRounds / kCoronaSignRounds
* mpcvm_ringtail.{cu,metal,wgsl} → mpcvm_corona.{cu,metal,wgsl}
(filename refs in CMakeLists)
* "Ringtail" / "Ringtail R-LWE" comments → "Corona"
Updated:
* include/lux/mpcvm/mpcvm_gpu_layout.hpp — enum + scheme + rounds + comments
* src/mpcvm_cpu_reference.cpp — kind dispatch table
* src/mpcvm_gpu_engine.mm — comment
* test/mpcvm_benchmark.cpp — fixture enum refs
* test/mpcvm_layout_test.cpp — fixture enum refs
* CMakeLists.txt — Metal/CUDA/WGSL kernel filenames
No numeric on-wire constants changed — pure naming rename:
* RingtailDkg = 4u stays 4u (now spelled CoronaDkg)
* RingtailSign = 5u stays 5u (now spelled CoronaSign)
* SchemeRingtail = 2u stays 2u (now spelled SchemeCorona)
The deterministic share envelope (24-byte hash digest at ceremony-finalize
time, mpcvm_state_root composition) is byte-identical post-rename — only
the C++ identifier strings change.
Refs: corona v0.7.6 wire codec ; luxfi/threshold v1.9.4 mldsa-tee +
slhdsa-tee + rlwe-tee TEE-only extensions ; magnetar GPU-port v1.3
(SLH-DSA hash-tree kernels — separate work landing alongside this rename).