Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
decdde0
Refactor the whole lock script
xxuejie Feb 21, 2025
f1bce35
Make script-merge-tool more generic to be reused in other scripts
xxuejie Feb 21, 2025
065729d
Update doc
xxuejie Feb 21, 2025
dd5766a
Fix c tests
xxuejie Feb 24, 2025
9e02bb4
Fix existing tests so CI can resume running
xxuejie Feb 24, 2025
77d3a6b
[CRITICAL CHANGE] Remove message at the end of signature
xxuejie Feb 24, 2025
4fec432
Fix all utilities
xxuejie Feb 25, 2025
946fde6
Fix sphincs signing in ckb-sphincs-tools
xxuejie Feb 25, 2025
1d6f91c
Fix zero escape bugs
xxuejie Feb 25, 2025
6157707
Update sphincsplus to upstream latest version
xxuejie Feb 25, 2025
ec47b5d
Update sphincsplus to the version which is compatible with NIST FIPS 205
xxuejie Feb 26, 2025
198e030
Multiple changes
xxuejie Feb 26, 2025
6255b52
Fix test failure due to FFI differences
xxuejie Feb 26, 2025
3717312
Add a simple performance tip
xxuejie Feb 26, 2025
7cf4dbe
Update readme
xxuejie Feb 26, 2025
2175111
Remove unneeded if
xxuejie Feb 26, 2025
1b5f6f6
Leaf lock now accepts a variable length of message
xxuejie Feb 26, 2025
6162c65
Root lock should take charge of FIPS 205 context prepending work
xxuejie Feb 27, 2025
599e6ca
Fix tests
xxuejie Feb 27, 2025
d39d54d
Add negative(meaning verification is expected to fail) validation tests
xxuejie Feb 27, 2025
7aedba0
Add tests to C implementation using NIST test vectors
xxuejie Feb 27, 2025
b30f917
Fix clippy
xxuejie Feb 27, 2025
d02ac85
Rename tests so one can still issue a single command to compare perfo…
xxuejie Feb 27, 2025
e9ac72a
Add ballpark cycle estimations for different setup
xxuejie Feb 27, 2025
2cf8be7
Spawn mode implementation in C based lock
xxuejie Feb 28, 2025
d36f983
Refactor scripts to use more aligned data layout
xxuejie Feb 28, 2025
b4532b9
Structure change so ckb-fips205-utils becomes single truth of param i…
xxuejie Feb 28, 2025
fe57acc
CI fixes
xxuejie Feb 28, 2025
7e65edc
Also test Rust script using signatures generated from C signer
xxuejie Feb 28, 2025
d5038f6
Remove unused files
xxuejie Feb 28, 2025
6990bef
Leverage IntEnum so we only maintain param ID mappings once
xxuejie Feb 28, 2025
88b1ed9
Add hybrid lock
xxuejie Mar 3, 2025
310f908
Fix build on latest stable Rust
xxuejie Mar 3, 2025
5a32b0f
Add multisig tests
xxuejie Mar 4, 2025
aa9b37e
Upgrade CKB-related dependencies
xxuejie Mar 4, 2025
83f4744
Review fixes
xxuejie Mar 5, 2025
85a700a
Change param IDs to 48 - 59, change leaf response to 3 bytes
xxuejie Mar 5, 2025
6ac0a89
Remove comment in shell lines to fix mac build
xxuejie Mar 6, 2025
490cbe0
Add macos to CI
xxuejie Mar 6, 2025
bd5f76e
C tests should find clang binary using utility script
xxuejie Mar 6, 2025
1a5dec8
Test against latest LLVM on mac
xxuejie Mar 7, 2025
4ad1524
Install lld in macos CI as well
xxuejie Mar 7, 2025
bf2ab2a
Generate different error codes when Rust assertions fail
xxuejie Mar 12, 2025
edc0155
Add fuzzing setup to quantum resistant lock
xxuejie Apr 11, 2025
969c7bc
Fix clippy error
xxuejie Apr 11, 2025
e629623
Add precise fuzzing workflow, where 2 impls are compared for results …
xxuejie May 21, 2025
5bd4e8f
Fix ci
xxuejie May 21, 2025
d1a99b4
Review fixes
xxuejie Jun 27, 2025
9debd2b
Fix clippy
xxuejie Jun 27, 2025
81f8b02
Add note referencing RFCs
xxuejie Jun 27, 2025
27041c7
Fix script locating bug when called via spawn / exec as a callee
xxuejie Aug 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .github/workflows/rust-with-clang.yml

This file was deleted.

41 changes: 31 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,36 @@ on: [push, pull_request]
jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, ubuntu-24.04-arm]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
with:
submodules: "true"
- name: Install llvm
run: sudo apt update && sudo apt install -y clang llvm clang-format lld
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Prepare, build, test, clippy, format
run: make prepare build test clippy fmt
- name: git diff
run: git diff --exit-code

macos-build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v1
- name: Update submodules
run: git submodule update --init
- name: Run sphincs+ tests
run: ./tests/sphincsplus/all_run.sh
- name: Run sphincs+ rust tests
run: ./tests/sphincsplus_rust/run_rust.sh
- name: Run Tools tests
run: cd tools/ckb-sphincs-tools && cargo test
- uses: actions/checkout@v4
with:
submodules: true
- name: Install latest llvm & lld
run: brew install llvm lld
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Prepare, build, test, clippy, format
run: make prepare build test clippy fmt
- name: git diff
run: git diff --exit-code
70 changes: 15 additions & 55 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,56 +1,16 @@
# Prerequisites
*.d

# Object files
*.o
*.ko
*.obj
*.elf

# Linker output
*.ilk
*.map
*.exp

# Precompiled Headers
*.gch
*.pch

# Libraries
*.lib
*.a
*.la
*.lo

# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib

# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex

# Debug files
*.dSYM/
*.su
*.idb
*.pdb

# Kernel Module Compile Results
*.mod*
*.cmd
.tmp_versions/
modules.order
Module.symvers
Mkfile.old
dkms.conf

.DS_Store
build/
.vscode/
/target
/tests/failed_txs
/test-vector*

/corpus*
/hfuzz_target
/hfuzz_workspace
/fuzzing/fuzzing_syscalls_all_in_one.h
/fuzzing/dumps
/fuzzing/corpus*
/fuzzing/*.o
/fuzzing/leaf*.complete
/fuzzing/leaf*intermediate/
/fuzzing/*_fuzzer
/fuzzing/binary_to_text_converter
Loading
Loading