How it is checked確かめ方
Verification
Say what was measured, say what was only inferred, and keep the record of both.
Third-party security audit: not performed (in preparation).
Everything on this page is the projects' own checking. It is not an independent assessment.
検証
測ったことと、推論しただけのことを分けて書き、どちらも記録に残す。
第三者によるセキュリティ監査:未実施(実施に向けて準備中)
このページに書いてあるのは、すべてプロジェクト自身による検査です。独立した評価ではありません。
No external dependencies in the core
A project that depends on nothing from outside has no upstream to find its faults and fix them: every part it wrote, it keeps.
- ρ's compiler depends on no crate; building it fetches nothing but Rust's standard library.
- The
basiscrate and the Basis PKCS#11 module are built on Rust's standard library alone. A test fails if an outside crate enters either. The rustls provider is a separate adapter and depends on rustls and ring. - Steward depends on nothing but Rust's standard library.
- Occam is different: its chemistry is RDKit, with dependencies pinned. It is not presented as dependency-free.
中核に外部依存を持たない
外部に何も依存しないプロジェクトには、欠陥を見つけて直してくれる上流がありません。自分で書いた部分は、すべて自分で保守します。
- ρ のコンパイラはどのクレートにも依存しません。ビルドで取得するのは Rust の標準ライブラリだけです。
basisクレートと Basis の PKCS#11 モジュールは、Rust の標準ライブラリだけで作っています。外部のクレートがどちらかに入ると、テストが失敗します。rustls プロバイダは別のアダプタで、rustls と ring に依存します。- Steward が依存するのは Rust の標準ライブラリだけです。
- Occam は事情が異なります。化学計算には RDKit を使い、依存はバージョンを固定しています。外部依存がないとは説明していません。
The Steward maintenance ledger
Steward is a maintenance ledger for code you write yourself. A ledger in the project says which files the project owns, which part each belongs to, which standard each part follows, how each is verified and when its standard should be read again. Steward checks the project against the ledger, runs the checks, and records who reviewed what, in plain files committed with the code.
A commercial license includes this ledger and the verification record for the licensed release.
Steward の保守台帳
Steward は、自分で書いたコードのための保守台帳です。プロジェクトの中に置いた台帳に、どのファイルを自分で保守しているか、それがどの部分に属するか、各部分がどの標準に従うか、どう検証するか、その標準をいつ読み直すかを書きます。Steward はプロジェクトを台帳と照合し、検査を実行し、誰が何をレビューしたかを、コードと一緒にコミットするプレーンなファイルに記録します。
商用ライセンスには、対象リリースのこの台帳と検証記録が含まれます。
$ steward verify
2026-12-04T08:16Z
$ rustc --version
rustc 1.99.1 (58cf8f9c3 2026-10-13)
$ clang --version | head -n 1
clang version 19.1.7
$ verilator --version
Verilator 5.050 2026-07-01 rev v5.050
$ yosys -V
Yosys 0.67+post (git sha1 v0.67, Release, GNU /nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/g++ 15.2.0)
$ python3 -c 'import jax; print("jax", jax.__version__)'
jax 0.10.2
fingerprint ed6ab5ee278fed9c
pass language 10.1 s
pass analysis 77.2 s
pass interpreter 23.4 s
pass constant-time 0.8 s
pass llvm-backend 678.6 s
pass circuit 847.8 s
pass lean 0.0 s
pass jax 12.7 s
pass loader-and-cli 3.0 s
pass difftest 22.4 s
steward verify on ρ 1.3.1 (commit 16c216f), 4 December 2026. Exit code 0. The run was made inside the Basis development shell (nix develop), which supplies the tools named in the first lines. The output is shown as printed; only the shell's own greeting line is left out.
ρ 1.3.1(コミット 16c216f)に対する steward verify の記録です。実行日は 2026年12月4日、終了コードは 0 です。Basis の開発シェル(nix develop)の中で実行しており、冒頭に出ている道具はそのシェルのものです。出力は表示されたままで、シェル自身の挨拶の1行だけを省いています。
Test vectors
Basis is run against NIST's ACVP vectors and Wycheproof's vectors for ML-KEM, ML-DSA and ChaCha20-Poly1305 (3188 cases, invalid inputs among them), and tested for interoperability with OpenSSL. Its hand-written primitives are checked against their standards' test vectors.
テストベクタ
Basis は、NIST の ACVP テストベクタと、ML-KEM・ML-DSA・ChaCha20-Poly1305 の Wycheproof テストベクタ(不正な入力を含む 3188 件)で検査し、OpenSSL との相互運用も確かめています。自作のプリミティブは、各標準のテストベクタと照合しています。
Differential tests
ρ has a reference interpreter. A differential test compiles random programs on every push and compares the native kernel with the interpreter bit for bit, at f64 and f32, across threads; a circuit leg runs through Verilator. Basis cross-checks kernel, interpreter, fixed point, circuit and JAX on its recorded ACVP calls.
差動テスト
ρ には参照インタプリタがあります。差動テストが、プッシュのたびにランダムなプログラムをコンパイルし、ネイティブカーネルとインタプリタを、f64 と f32 で、スレッド分割をまたいで、ビット単位で比較します。回路は Verilator を通して比較します。Basis は、記録した ACVP の呼び出しについて、カーネル、インタプリタ、固定小数点、回路、JAX を相互に照合します。
Formal methods
- Lean and Rocq: proofs that the Basis kernels compute the algorithms of FIPS 203 and FIPS 204.
- Z3: proofs that the kernels' floating point computes those integers exactly.
- TLA+: a model of the Basis token's concurrency, checked with TLC.
- SymbiYosys: proofs of the arithmetic of the circuits ρ emits for Basis.
These proofs are about Basis's kernels and token model. For ρ itself the checks are tests and interval arithmetic, not machine-checked proofs.
形式検証
- Lean と Rocq:Basis のカーネルが FIPS 203・FIPS 204 のアルゴリズムを計算することの証明。
- Z3:カーネルの浮動小数点演算が、その整数を正確に計算することの証明。
- TLA+:Basis のトークンの並行動作のモデル。TLC で検査。
- SymbiYosys:ρ が Basis 向けに出力する回路の、算術の証明。
これらの証明の対象は、Basis のカーネルとトークンのモデルです。ρ 自体の検査はテストと区間演算によるもので、機械検証された証明ではありません。
What has not been done
- Third-party security audit: not performed (in preparation).
- Occam: no experiment has been run, and no one outside the project has run it.
まだ行っていないこと
- 第三者によるセキュリティ監査:未実施(実施に向けて準備中)
- Occam:実験は行っておらず、プロジェクトの外の人が実行したこともありません。