Commit Graph
80 Commits
Author SHA1 Message Date
Zach Kelling 467cf87ac2 Rebrand: Zama → Lux in scripts and docs
- Update GitHub org refs (zama-ai → luxfhe)
- Update PyPI URLs (pypi.zama.ai → pypi.lux.network)
- Update company name in docs
2026-01-27 10:35:11 -08:00
Zach Kelling fe4963bd12 Rebrand: Zama → Lux in TestTorusMLX
- Update copyright headers
- Update bundle identifiers
- Update API URLs
2026-01-27 10:34:48 -08:00
Zach Kelling c5dd14493e Complete Concrete→Torus rebrand
- Update migrate-zama.sh script
- Update ml/torus-ml submodule
- Update ios-demo submodule
2026-01-26 20:58:37 -08:00
Zach Kelling 9f7326f9c4 Complete Concrete→Torus rebrand in all files
- Update all requirements.txt files
- Update all GitHub workflow files
- Update Makefile and federated_learning/Makefile
- Update script files (shell scripts)
- Update deps_licenses files
- Rename raw_cml examples to raw_tml
2026-01-26 20:58:18 -08:00
Zach Kelling 2d521b827f Update ios-demo submodule (docs rebrand) 2026-01-26 20:53:05 -08:00
Zach Kelling 80590865fb Rebrand: ConcreteML → TorusML
- Rename TestConcretMLX/ to TestTorusMLX/
- Update rust/src/lib_python.rs module name
- Update WASM test imports
- Update CI workflow references
- Update Makefile targets
2026-01-26 20:50:15 -08:00
Zach Kelling 9b81ae13ef Rename CiphertextFormat.CONCRETE to TORUS 2026-01-26 18:43:04 -08:00
Zach Kelling 61d6b39157 Fix all remaining Concrete references in Python and docs 2026-01-26 18:41:32 -08:00
Zach Kelling dbcce73c7e Fix remaining Concrete → Torus references 2026-01-26 18:40:19 -08:00
Zach Kelling 0d5006ac29 Complete concrete → torus rename across all files 2026-01-26 18:39:19 -08:00
Zach Kelling e04b987975 Complete Torus ML rebrand - update all Python imports, docs, and file names 2026-01-26 18:38:13 -08:00
Zach Kelling ad6624eb92 Update biometrics to use torus-numpy 2026-01-26 18:36:17 -08:00
Zach Kelling 79f3069091 Rename Concrete ML to Torus ML 2026-01-26 18:35:22 -08:00
Zach Kelling c6df5cc9be Update contact email to fhe@lux.network 2026-01-26 18:27:03 -08:00
Zach Kelling 994fb86204 Update pyproject description to Lux FHE 2026-01-26 18:24:31 -08:00
Zach Kelling b304242857 Fix tfhe dependency URL to luxfhe org 2026-01-26 18:20:10 -08:00
Zach Kelling 9f1a8eea55 Update all submodules with Lux FHE rebrand 2026-01-26 18:18:07 -08:00
Zach Kelling 113f06f946 Clean up legacy references in documentation
- Update docs to use Lux FHE terminology
- Clean test suite documentation
- Update ML extension references
2026-01-26 17:57:15 -08:00
Zach Kelling 78ac6fd6f1 Remove legacy PDFs, link to external archives 2026-01-25 14:19:24 -08:00
Zach Kelling 0c84af1ad6 Clean remaining legacy references from test suite 2026-01-25 14:02:41 -08:00
Zach Kelling e7d662e158 Complete Lux FHE rebrand 2026-01-25 13:58:30 -08:00
Zach Kelling ad788e042a Add ThresholdRNG for threshold randomness 2026-01-25 10:05:32 -08:00
Zach Kelling d363a39c83 chore: update go version to 1.25.5 2026-01-10 04:31:19 -08:00
Zach Kelling 124355c468 fix: Go version 1.25.5 → 1.22, add decryption oracle 2026-01-10 00:06:37 -08:00
Zach Kelling 45d13e71cf refactor: update imports to github.com/luxfi/constants 2026-01-08 19:36:50 -08:00
Zach Kelling 38eaad9d56 refactor(gpu): remove luxgpu build tag, use cgo only
- Remove luxgpu build tag requirement - just cgo is sufficient
- Add ArangeInt and ToSlice generic functions to fhe_ops.go
- Fix ToSlice to use correct C API (lux_gpu_tensor_data takes output buffer)
- Update imports to include unsafe package and string.h header
- Merge unique functions from tfhe_ops_cgo.go into fhe_ops.go

When CGO_ENABLED=1, all lux C++ libs from ~/work/luxcpp are used.
No special tags needed.
2026-01-05 22:08:01 -08:00
Zach Kelling b44e2dd524 fix(gpu): remove duplicate tfhe_ops_cgo.go and cleanup fhe_ops.go
- Removed tfhe_ops_cgo.go which duplicated functions from fhe_ops.go
- Removed unused 'unsafe' import from fhe_ops.go
- Both files had the same tensor operations causing redefinition errors

This enables clean CGO builds with GPU acceleration for FHE operations.
2026-01-05 16:48:55 -08:00
Zach Kelling a115dbbd60 feat(gpu): add TFHE-specific GPU operations
Add tfhe_ops_cgo.go with accelerated operations:
- Remainder: element-wise modulo
- Floor: element-wise floor
- Slice: tensor slicing with start/stop
- Other TFHE-specific ops for bootstrapping

Requires lux-gpu library (pkg-config: lux-gpu)
2026-01-05 11:08:58 -08:00
Zach Kelling 11fe737a8f feat(gpu): add AddScalar, SubScalar, and encryptScalar methods
- AddScalar: add scalar constant to encrypted integer
- SubScalar: subtract scalar constant from encrypted integer
- encryptScalar: create encrypted integer from plaintext scalar
2026-01-05 06:46:56 -08:00
Zach Kelling 058c84f6ba feat(gpu): add missing FHE methods for precompile compatibility
- Add BitwiseNot for Integer type (bitwise NOT)
- Add Neg for Integer (two's complement negation: ~x + 1)
- Add MulScalar for Integer (scalar multiplication via addition)
- Add SerializePublicKey/DeserializePublicKey (bootstrap key serialization)
- Add helper functions encryptedOneFrom/encryptedZeroFrom using XOR trick
- Fix NOT calls to not expect error return (NOT is free operation)
2026-01-05 06:44:36 -08:00
Zach Kelling 0a97f26c71 feat(gpu): add comprehensive FHE operations and lux_gpu_* API
- Add Integer type with full arithmetic operations (Add, Sub, comparisons)
- Add bitwise operations (AND, OR, XOR, NOT, NAND, NOR) with lowercase aliases
- Add shift operations (Shl, Shr) using XOR(x,x)=0 trick for encrypted zeros
- Add CastTo for bit-width conversion
- Add Min, Max, Select operations
- Rewrite fhe_ops.go to use unified lux_gpu_* C API
- Add fhe_types_cgo.go with CGO tensor types
- Add fhe_stub.go for non-CGO builds
- Skip public key encryption test (TFHE uses secret key encryption)
2026-01-05 06:39:22 -08:00
Zach Kelling 04c2e2de31 refactor: use standard cgo/!cgo build tags 2026-01-04 14:38:47 -08:00
Zach Kelling 3675b37845 fix: update GPU build tags and reorganize CGO files
- Move tfhe_bridge.cpp/h to cgo/ subdirectory
- Change fhe_ops.go to use luxgpu tag (opt-in for GPU)
- Change fhe_test.go to use luxgpu tag
- Ensure pure Go fallback works for both CGO=0 and CGO=1
2026-01-04 13:42:26 -08:00
Zach Kelling 2b8de7786b fix: use metal tag for GPU files 2026-01-03 19:22:18 -08:00
Zach Kelling 1ed73f84d7 fix: restore FHE Go implementation files
Restore core FHE Go files that were removed during cleanup.
These are required for precompile/fhe to build.
2026-01-03 19:11:38 -08:00
Zach Kelling 41a570b699 fix: restore go.mod deleted in cleanup commit 2026-01-03 19:00:15 -08:00
Zach Kelling 1661297bf8 Update submodules: wasm (include wasm in files), relayer-sdk (remove static copy) 2026-01-02 17:45:01 -08:00
Zach Kelling c90efaf860 Update relayer-sdk submodule: fix tsconfig paths 2026-01-02 17:04:52 -08:00
Zach Kelling 77d005ec83 Update submodules: wasm 0.2.3, kms 0.2.2, relayer-sdk
- Add runtime InitInput exports for rollup bundling compatibility
2026-01-02 12:03:29 -08:00
Zach Kelling d54875162c Update submodules: wasm 0.2.2, kms 0.2.1, relayer-sdk with new deps
- @luxfhe/wasm@0.2.2: Add backward-compatible TFHE exports
- @luxfhe/kms@0.2.1: Add backward-compatible TKMS exports
- relayer-sdk: Updated to use new package versions
2026-01-02 11:56:37 -08:00
Zach Kelling e72a451a78 Update submodules: wasm 0.2.1, relayer-sdk with new deps 2026-01-02 11:45:56 -08:00
Zach Kelling 75eb429ee1 Update relayer-sdk: fix package resolution 2026-01-02 11:40:43 -08:00
Zach Kelling 0397bfe687 Update wasm: add package.json export 2026-01-02 11:35:08 -08:00
Zach Kelling 8834110019 Update relayer-sdk: replace pnpm with npm 2026-01-02 11:30:36 -08:00
Zach Kelling d235cd1510 CI: Use --legacy-peer-deps for npm install 2026-01-02 11:26:15 -08:00
Zach Kelling d1c48dbe5c Update packages/wasm: add @types/node 2026-01-02 11:22:25 -08:00
Zach Kelling c1ed52a94f Update packages/wasm submodule with native FHE bindings 2026-01-02 11:20:05 -08:00
Zach Kelling 5ccbf46887 Fix CI: Update package builds and mock contracts workflow
- packages/wasm: Use npm instead of pnpm
- packages/kms: Replace Zama tkms with native stubs
- ci.yml: Add npm install for mock contracts before forge build
2026-01-02 11:16:18 -08:00
Zach Kelling c91035c0ea Add missing wasm/sdk submodule to .gitmodules 2026-01-02 11:12:09 -08:00
Zach Kelling b888637d9e Add comprehensive GitHub Actions workflows
- ci.yml: Build all packages with proper dependencies
- docs.yml: Deploy documentation to GitHub Pages
- publish.yml: Publish all @luxfhe packages to npm
- release.yml: Automated version bumping and releases
- .gitmodules: Properly define all submodule URLs
2026-01-02 11:10:22 -08:00