Skip to content

refactor(kryzhovnik): C-only integration - #2

Merged
cherninkiy merged 13 commits into
mainfrom
dev
Apr 6, 2026
Merged

refactor(kryzhovnik): C-only integration #2
cherninkiy merged 13 commits into
mainfrom
dev

Conversation

@cherninkiy

Copy link
Copy Markdown
Owner

No description provided.

- Add public batch_bench API with algorithm metadata

- Add adapter function contracts for three PQC schemes

- Add algorithm registry and lookup by stable names
- Add Hypericum adapter with sig||msg pack and unpack logic

- Add Shipovnik adapter for keygen, sign, and verify

- Add Kryzhovnik adapter over wrapper byte API
- Add monotonic high-resolution timer utilities

- Add deterministic 1KB-friendly message generator

- Add src CMake target entries for adapter library
- Bump third_party/kryzhovnik to strict wrapper API commit

- Align superproject pointer with latest fork changes
- Add src and bench subdirectories to top-level build

- Register tests subdirectory under BUILD_TESTING guard

- Add initial CMake targets for benchmark and smoke tests
- Add CLI benchmark tool for unified adapter API

- Export CSV and JSON with stage-ready metric columns

- Measure keygen, sequential sign, verify, and serialization
- Add --params flow from benchmark script to bench_seq

- Export params field in CSV and JSON result artifacts

- Add smoke test target source and linker workaround for third-party collisions
- Namespace Shipovnik randombytes and secure_erase symbols

- Remove temporary allow-multiple-definition linker flags

- Keep benchmark script executable mode for direct runs
- Use stable registry name hypericum for adapter lookup

- Remove hypericum_<params> script remapping logic

- Keep params as explicit output field in CSV and JSON
- Skip already completed csv and json outputs by default

- Write through temporary files and move on success

- Clean zero-byte partial files after interrupted runs
- Remove CXX-only compile settings for kryzhovnik targets

- Keep kryzhovnik and tests on C compiler and C99 standard

- Update kryzhovnik submodule pointer to C-only migration commit
- Add KRYZHOVNIK_PARAMSET support in third_party CMake

- Update benchmark script for per-algorithm paramset routing

- Document kryzhovnik debug paramset usage in README files

- Add security.sage helper script and update submodule pointer
@cherninkiy
cherninkiy merged commit 685d52b into main Apr 6, 2026
@cherninkiy
cherninkiy deleted the dev branch April 6, 2026 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant