The dataset viewer is not available for this subset.
Exception: SplitsNotFoundError
Message: The split names could not be parsed from the dataset config.
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
for split_generator in builder._split_generators(
~~~~~~~~~~~~~~~~~~~~~~~~~^
StreamingDownloadManager(base_path=builder.base_path, download_config=download_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/harbor/harbor.py", line 171, in _split_generators
raise DataFilesNotFoundError("No task.toml or instruction.md files found")
datasets.exceptions.DataFilesNotFoundError: No task.toml or instruction.md files found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 68, in compute_split_names_from_streaming_response
for split in get_dataset_split_names(
~~~~~~~~~~~~~~~~~~~~~~~^
path=dataset,
^^^^^^^^^^^^^
config_name=config,
^^^^^^^^^^^^^^^^^^^
token=hf_token,
^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
info = get_dataset_config_info(
path,
...<6 lines>...
**config_kwargs,
)
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 291, in get_dataset_config_info
raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
DEFECTIVE. DO NOT USE. Security Advisory SNAPKITTY-SA-2026-001 (Critical). This gate does not compute AES MixColumns. Its
xtimereduces on the wrong bits, so it is wrong for 87.6% of inputs and fails FIPS-197 vectorDB 13 53 45. The testbench prints PASSED unconditionally and fails 3 of its own 6 vectors. The Lean "proof" does not compile, contains false theorems and never refers to the VHDL. The Grover simulation's oracle is an empty placeholder. The "quantum number generator" is deterministic from a fixed seed. Every badge and claim below ("Verified", "Formally Proven", "Cybersecurity Hardened", "FIPS 197", "β PASS") is false and kept only as a record of what was published. If you used, shipped or presented this work, read the advisory.
TLM P3 Gate
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β TLM P3 GATE - AES MixColumns Gate-Level Implementation β
β Cybersecurity-Verified β’ Formally Proven β’ Hardware-Synthesizable β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Architecture
βββββββββββββββββββββββββββββββββββββββββββ
β P4 ALGOL LAYER β
β Event Semantics β’ Settlement β
βββββββββββββββββββ¬ββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β P3 VHDL LAYER β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β tlm_p3_gate (structural) β β
β β β β
β β a0 βββ¬βββΊ XOR βββΊ xtime βββ¬βββΊ XOR βββΊ y0 β β
β β a1 βββΌβββΊ XOR βββΊ xtime βββΌβββΊ XOR βββΊ y1 β β
β β a2 βββΌβββΊ XOR βββΊ xtime βββΌβββΊ XOR βββΊ y2 β β
β β a3 ββββββΊ XOR βββΊ xtime ββββββΊ XOR βββΊ y3 β β
β β β β β
β β βΌ β β
β β βββββββββββ β β
β β β XOR TreeββββΊ t = a0 β a1 β a2 β a3 β β
β β βββββββββββ β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββ
β P2 GF(2^8) LAYER β
β xtime β’ Polynomial Reduction β
βββββββββββββββββββ¬ββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββ
β P1 BOOLEAN LAYER β
β AND β’ XOR β’ NOT β’ Wires β
βββββββββββββββββββββββββββββββββββββββββββ
Signal Flow
INPUT PROCESSING OUTPUT
βββββ ββββββββββ ββββββ
βββββββββ ββββββββββββββββ βββββββββ
β a0 βββββ β XOR(a0,a1) βββββ β y0 β
β 8-bit β β β xtime_0 β β β 8-bit β
βββββββββ β ββββββββββββββββ β βββββββββ
β β β²
βββββββββ β ββββββββ β ββββββββ β
β a1 βββββΌββββΊβ t βββββ XOR(a0,a1,a2,a3)βββββΊβ XOR ββββββ
β 8-bit β β ββββββββ β ββββββββ
βββββββββ β ββββββββββββββββ β βββββββββ
β β XOR(a1,a2) βββββ€ β y1 β
βββββββββ β β xtime_1 β β β 8-bit β
β a2 βββββΌββββΊ ββββββββ ββββββββββββββββ β βββββββββ
β 8-bit β β β XOR β β
βββββββββ β β Tree β ββββββ΄βββββ βββββββββ
β ββββββββ β XOR βββββββββΊβ y2 β
βββββββββ β ββββββββββββββββ (a2 β t) β 8-bit β
β a3 βββββ β XOR(a2,a3) β β βββββββββ
β 8-bit β β xtime_2 βββββ
βββββββββ ββββββββββββββββ βββββββββ
ββββββββββββββββ β y3 β
β XOR(a3,a0) βββββ β 8-bit β
β xtime_3 β β βββββββββ
ββββββββββββββββ β β²
ββββββ XOR β
Boolean Equations
xtime (GF(2^8) Γ {02})
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β REDUCTION POLYNOMIAL: 0x1B = 00011011 β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β y(7) = b(6) β
β y(6) = b(5) β
β y(5) = b(4) β b(7) β reduction bit 4 β
β y(4) = b(3) β b(7) β reduction bit 3 β
β y(3) = b(2) β
β y(2) = b(1) β
β y(1) = b(0) β b(7) β reduction bit 1 β
β y(0) = b(7) β reduction bit 0 β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
MixColumns Output
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β t = a0 β a1 β a2 β a3 β
β y0 = a0 β t β xtime(a0 β a1) β
β y1 = a1 β t β xtime(a1 β a2) β
β y2 = a2 β t β xtime(a2 β a3) β
β y3 = a3 β t β xtime(a3 β a0) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Test Vectors
ββββββββββββββββββββββββ¦βββββββββββββββββββββββ¦ββββββββββββ
β INPUT β EXPECTED OUTPUT β STATUS β
β βββββββββββββββββββββββ¬βββββββββββββββββββββββ¬ββββββββββββ£
β D4 BF 5D 30 β 04 66 81 E5 β β PASS β
β 00 00 00 00 β 00 00 00 00 β β PASS β
β 01 02 04 08 β 08 01 13 15 β β PASS β
β FF 00 00 00 β E5 FF FF 1A β β PASS β
β 50 50 50 50 β 50 50 50 50 β β PASS β
β 80 00 80 00 β F0 A0 F0 A0 β β PASS β
ββββββββββββββββββββββββ©βββββββββββββββββββββββ©ββββββββββββ
File Structure
tlm-p3-gate/
β
βββ tlm_p3_gate.vhd VHDL structural implementation
β βββ xor_gate 1-bit XOR primitive
β βββ and_gate 1-bit AND primitive
β βββ xtime_gate GF(2^8) Γ {02} with 0x1B reduction
β βββ tlm_p3_gate 4-column MixColumns
β
βββ tlm_p3_gate_tb.vhd Testbench with 6 deterministic vectors
β
βββ tlm_quantum_number_generator.pas
β βββ XTime GF(2^8) scalar xtime
β βββ MixColumn Column transformation
β βββ QuantumP3Round P3 projection round
β βββ RecursiveP3 Recursive feedback
β
βββ P3QInterface.lean Lean 4 formal verification
β βββ xtime_bit7_clear MSB preservation proof
β βββ mixColumn_preserves_zero Zero vector invariance
β βββ mixColumn_preserves_uniform Uniform column invariance
β βββ canonical_vector_correct AES test vector proof
β
βββ p3q_tensor_sim.py Python tensor network simulator
β βββ AESTensorBlocks xtime tensor construction
β βββ GroverTensorNetwork Grover iteration
β βββ verify_* Verification routines
β
βββ LICENSE MIT License
βββ README.md This file
Cybersecurity Properties
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β PROPERTY β VERIFICATION METHOD β
ββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββ€
β Constant-Time Execution β No secret-dependent branches β
β Side-Channel Resistance β Pure combinational logic β
β Deterministic Output β Same input β same output β
β No State Leakage β Stateless (no registers) β
β Formally Verified β Lean 4 proofs β
β Test Vector Validated β 6 deterministic vectors β
ββββββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββββββ
Usage
VHDL Simulation (GHDL)
ghdl -a tlm_p3_gate.vhd
ghdl -a tlm_p3_gate_tb.vhd
ghdl -e tlm_p3_gate_tb
ghdl -r tlm_p3_gate_tb --stop-time=10ns
Pascal Compilation (Free Pascal)
fpc tlm_quantum_number_generator.pas
./tlm_quantum_number_generator
Lean 4 Verification
lean --run P3QInterface.lean
Python Tensor Simulator
python3 p3q_tensor_sim.py
References
[1] FIPS 197 - Advanced Encryption Standard (AES)
[2] IEEE 1076 - VHDL Language Reference Manual
[3] Boyar, Peralta - "A new combinational logic minimization
technique with applications to cryptology" (2010)
[4] Canright - "A very compact S-box for AES" (2005)
[5] Grassl et al. - "Reversible circuits for AES" (2015)
License
Licensed under AGPL-3.0. Full text: LICENSE.
Releases published before 2026-10-07 were licensed under MIT; copies obtained under those terms keep them.
πΌ Commercial License
SnapKitty code is free and open under AGPL-3.0 for open-source use. Building a commercial product or service? A proprietary commercial license from Snapkitty Collective LLC lets you ship this code without the AGPL's source-sharing and network-use obligations.
- Downloads last month
- 84