Security Advisory SNAPKITTY-SA-2026-001 (Critical): this repository contains a defective AES MixColumns gate. Affected files: vhdl/tlm_p3_gate.vhd, vhdl/tlm_p3_gate_tb.vhd, lean4/P3QInterface.lean, python/p3q_tensor_sim.py. The VHDL xtime reduces on the wrong bits (wrong for 87.6% of inputs; fails FIPS-197 vector DB 13 53 45). The testbench has 5 of 10 wrong expected values and the gate fails 7 of 10. The Lean file does not compile and contains false theorems. The "P3 MixColumns compatibility verified" message below is not true for the VHDL. Do not use these files for AES, cryptography or hardware. Any claim here that they are tested, FIPS-197 or formally verified is withdrawn. Other parts of this repository are not covered by this advisory.

Source: github.com/SNAPKITTYWEST/tlm-jxcl

TLM-JXCL: 主權指令集架構 (بنية مجموعة التعليمات السيادية)

專案概述 (نظرة عامة)

JXCL 為 TLM 主權運算管線定義之 64 位元指令集架構 (بنية 64 بت لخط أنابيب الحوسبة السيادية),整合 GF(2⁸) 有限域運算、對數螺旋記憶體定址與確定性狀態摺疊 (الطي الحالي الحتمي),實現從位元操作到密碼學管線之完整垂直控制。

Authors: Ahmad Ali Parr, Jessica L. Williams (SNAPKITTYWEST)


指令集 (مجموعة التعليمات)

助記符 (الرمز) 寬度 操作 (العملية)
XORB / XORW / XORL / XORQ 8 / 16 / 32 / 64 互斥或 (XOR)
SHLB / SHLW / SHLL / SHLQ 8 / 16 / 32 / 64 左移 (إزاحة يسار)
SHRB / SHRW / SHRL / SHRQ 8 / 16 / 32 / 64 右移 (إزاحة يمين)
ROLB / ROLW / ROLL / ROLQ 8 / 16 / 32 / 64 循環左移 (دوران يسار)
RORB / RORW / RORL / RORQ 8 / 16 / 32 / 64 循環右移 (دوران يمين)
MIX32 32 AES MixColumns
MIX64 64 雙列 MixColumns (عمودان)
XTIME 8 GF(2⁸) 乘以 x (ضرب في x)

架構參數 (معلمات البنية)

參數 (المعلمة) 值 (القيمة)
MACHINE_ID 0x544C4D4A58434C00 (TLMJXCL)
架構寬度 64 bits
暫存器 32 通用 + 10 特殊
記憶體 64 KB 映射陣列
矩陣維度 73 × 23 (1679 cells)
GF 多項式 0x1B (x⁸+x⁴+x³+x+1)
最大遞迴深度 64
螺旋中心 (36, 11)

螺旋記憶體定址 (عنونة الذاكرة الحلزونية)

對數螺旋展開 73×23 矩陣
起點 (36, 11) → 方向循環: E, S, W, N
步長序列: 1, 1, 2, 2, 4, 4, 8, 8, 16, 16, 32, 32, 64, 64...
覆蓋 1679 cells
spiral_key = (angle << 16) | radius_sq

執行 (التشغيل)

python run.py
[*] Initializing JXCL Low-Level Execution Engine...
[+] Self-tests and P3 MixColumns compatibility verified successfully.
[+] Execution completed at EPOCH 1

許可協議與主權聲明 (الترخيص والسيادة)

BSL-1.1 / AGPL-3.0 / MPL-2.0

SnapKitty West / SNAPKITTYWEST — Evidence or Silence — 2026


License

Licensed under SnapKitty Tri-License. Full text: LICENSE.

💼 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.

→ Get a commercial license · [email protected]

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Space using Snapkitty/tlm-jxcl 1

Collection including Snapkitty/tlm-jxcl