crypto-profile.json
cdk-rsx/crates/crypto/garbled-circuit/crypto-profile.json
1{2 "profile_version": 1,3 "ot": {4 "status": "blocked",5 "production_ready": false,6 "target": "Rust wasm64 Internet Computer; native C++ and wasm32-WASI probes are separate scopes",7 "construction": "Chou-Orlandi uniform base random OT followed by malicious SoftSpoken random OT and upstream chosen-message conversion",8 "security_scope": "Malicious OT does not provide malicious garbling security. The surrounding garbling experiment assumes honest garbling.",9 "backend": {10 "repository": "https://github.com/osu-crypto/libOTe",11 "commit": "5d419c34a3847515fac7572e7275a0aa20cf1159",12 "commit_date": "2026-10-26T22:03:22Z",13 "license": "MIT; retain file-level public-domain notices where applicable",14 "license_path": "LICENSE",15 "local_algorithm_changes": [],16 "base_sender": "osuCrypto::SimplestOT",17 "base_receiver": "osuCrypto::SimplestOT",18 "extension_sender": "osuCrypto::SoftSpokenMalOtSender",19 "extension_receiver": "osuCrypto::SoftSpokenMalOtReceiver",20 "chosen_sender": "osuCrypto::OtSender::sendChosen",21 "chosen_receiver": "osuCrypto::OtReceiver::receiveChosen",22 "local_portability_patches": [23 {24 "path": "crypto/bench/garbled-circuit/ot-reference/patches/macoro-portability.patch",25 "sha256": "eed7e2dddf1ab18b6b6a7a9f2c66e6b498263255090e1a548d89ebff1b85feb3"26 },27 {28 "path": "crypto/bench/garbled-circuit/ot-reference/patches/coproto-portability.patch",29 "sha256": "4317ffba125e55a5babe073d54efed95f346c1f694c56e6a51c3bc873b97355c"30 },31 {32 "path": "crypto/bench/garbled-circuit/ot-reference/patches/cryptotools-portability.patch",33 "sha256": "60a655fe920397275e265d0f9a45e2b337744bf77c0bdc01263dff662061ea9b"34 },35 {36 "path": "crypto/bench/garbled-circuit/ot-reference/patches/libote-portability.patch",37 "sha256": "72f8fef294ce8a34fa5085c37e156619b8dfa631e2262a506c1f93d05b2c7645"38 }39 ],40 "portability_changes": "Missing standard C++ includes and a checked u64-to-size_t storage/span boundary; no primitive, PRG, transcript, parameter or malicious-check change."41 },42 "dependencies": [43 {44 "name": "cryptoTools",45 "repository": "https://github.com/ladnir/cryptoTools",46 "commit": "12fa6f985918b038cf1be111e52a050b5c871af4",47 "pin_source": "libOTe cryptoTools gitlink",48 "license": "MIT OR Unlicense; Edwards25519 arithmetic retains its upstream public-domain notices",49 "license_path": "LICENSE"50 },51 {52 "name": "coproto",53 "repository": "https://github.com/ladnir/coproto",54 "commit": "ded64cbc51c041ee534e5c34a5a81135af455ce7",55 "pin_source": "cryptoTools/thirdparty/getCoproto.cmake",56 "license": "MIT",57 "license_path": "LICENSE"58 },59 {60 "name": "macoro",61 "repository": "https://github.com/ladnir/macoro",62 "commit": "91fc6b42ff719c681713c6d9f7476b94fd822983",63 "pin_source": "coproto/thirdparty/getMacoro.cmake",64 "license": "File-level MIT notices on cppcoro-derived code; no repository-level license file at this commit",65 "license_path": "macoro/task.h, macoro/when_all.h and other source-file notices",66 "redistribution_review": "Open: obtain complete license coverage before vendoring or redistribution"67 },68 {69 "name": "function2",70 "repository": "https://github.com/Naios/function2",71 "commit": "02ca99831de59c7c3a4b834789260253cace0ced",72 "pin_source": "coproto/thirdparty/getFunction2.cmake",73 "license": "BSL-1.0",74 "license_path": "LICENSE.txt"75 },76 {77 "name": "libdivide",78 "repository": "https://github.com/ridiculousfish/libdivide",79 "commit": "66190e9daa603cabe95d99f09fb79b5c186d0417",80 "tag": "v5.2.0",81 "pin_source": "cryptoTools/thirdparty/getLibDivide.cmake; resolved tag to exact commit",82 "license": "Zlib OR BSL-1.0",83 "license_path": "LICENSE.txt"84 }85 ],86 "disabled_optional_dependencies": [87 "libsodium",88 "Relic",89 "Boost",90 "OpenSSL",91 "SPIN",92 "Microsoft SEAL",93 "span-lite"94 ],95 "papers": [96 {97 "reference": "R2",98 "title": "The Simplest Protocol for Oblivious Transfer",99 "authors": [100 "Tung Chou",101 "Claudio Orlandi"102 ],103 "url": "https://eprint.iacr.org/2015/267",104 "required_revision_date": "2018-05-29",105 "revision_metadata": "ePrint: last of four revisions; minor revision, LATINCRYPT 2015",106 "license": "CC BY (ePrint metadata)",107 "author_mirror": "https://tungchou.github.io/papers/fastOT.pdf",108 "author_mirror_sha256": "6e9d16dec1169792455140871199e45fad5bc711e43186c05b334a27d989483e",109 "exact_revision_pdf_verified": false,110 "retrieval_note": "Exact dated archive/current/history fetches return HTTP 403. The author mirror has PDF creation date 2015-06-04 and old UC claims, so it is not the required 2018 revision.",111 "required_revision_timestamp": "2018-05-29T13:54:02Z",112 "immutable_archive_url": "https://eprint.iacr.org/archive/2015/267/1527602042.pdf",113 "primary_metadata_sha256": "3902d3b432aa3a83d3234e389c2239392a9d4ac6956305b68d285029ed064d8c"114 },115 {116 "reference": "R3",117 "title": "SoftSpokenOT: Quieter OT Extension From Small-Field Silent VOLE in the Minicrypt Model",118 "authors": [119 "Lawrence Roy"120 ],121 "url": "https://eprint.iacr.org/2022/192",122 "required_revision_date": "2025-11-18",123 "revision_metadata": "ePrint: major revision of CRYPTO 2022 publication",124 "license": "CC BY (ePrint metadata)",125 "exact_revision_pdf_verified": false,126 "retrieval_note": "Exact dated archive/current/history fetches return HTTP 403. Accessible CRYPTO publication PDF is from 2022 and is not the required revised 2025 paper. Author site/repositories provide no revised mirror.",127 "required_revision_timestamp": "2025-11-18T19:57:30Z",128 "immutable_archive_url": "https://eprint.iacr.org/archive/2022/192/1763495850.pdf",129 "primary_metadata_sha256": "79a99d35030773b1bea50b4fb63d7067a90343a9e6a3ff86dc88c54861232e9c"130 }131 ],132 "parameters": {133 "policy": "Preserve upstream malicious defaults; no semi-honest or leaky/correlated mode fallback",134 "field_bits": 2,135 "field": "GF(4), polynomial X^2+X+1; subspace check also uses GF(2^64), polynomial X^64+X^4+X^3+X+1",136 "computational_security_bits": 128,137 "base_ot_count": 128,138 "base_ot_count_rule": "backend baseOtCount(), roundUpTo(128, fieldBits); 128 at k=2",139 "uniform_base_ot": true,140 "random_ot": true,141 "num_threads": 1,142 "statistical_check_bits": 40,143 "final_check_rows": 20,144 "sacrificed_random_choice_bits": 64,145 "internal_chunk_ots": 128,146 "chunk_count_rule": "ceil((logical_count+64)/128)",147 "logical_counts": [148 8,149 80,150 800,151 8000152 ],153 "total_internal_ots": [154 128,155 256,156 896,157 8064158 ],159 "non_output_ots_including_sacrifice": [160 120,161 176,162 96,163 64164 ],165 "chosen_conversion_payload_bytes": [166 256,167 2560,168 25600,169 256000170 ],171 "chosen_conversion": "Unmodified sendChosen/receiveChosen: generate random OT, then sender sends both 16-byte message XOR pads per logical OT; receiver removes only its selected pad. This conversion is additional to all protocol/check traffic.",172 "uniform_seed_commitment_digest_bytes": 20,173 "security_parameter_note": "128 denotes the backend block/base-extension parameter; it is not a fully audited end-to-end security claim. Statistical check is 40 bits; default uniform-base commitment digest is 160 bits."174 },175 "role_reversal": "Extension sender runs SimplestOT.receive and holds one seed per random base choice; extension receiver runs SimplestOT.send and holds both seeds. The primary chosen-message fixture executes both real base-OT methods. Selected upstream lower-level state tests also construct synthetic states for targeted rejection coverage.",176 "primitive_instantiation": {177 "base_group": "cryptoTools Edwards25519 portable C facade; native assembly/IFMA and sodium disabled",178 "base_hash": "cryptoTools RandomOracle = Blake2 (BLAKE2b); base keys are 16 bytes, the default uniform-seed commitment digest is 20 bytes. Preserve the exact upstream domain, point/index/branch transcript and seed commitment.",179 "small_field_seed_expansion": "Upstream RegularPprf and AES-128 PRG; malicious seed consistency uses Blake2 with three-block expansion and two-block per-row hashes",180 "extension_prg": "cryptoTools PRNG seeded through its public block constructor; AES-128 counter mode",181 "random_ot_hash": "Upstream TwoOneRTCR and AESRekeyManager; GF(2^128) doubling polynomial X^128+X^7+X^2+X+1",182 "adapter_private_rng_context": "p2p-gc-bench/v1/private-rng",183 "adapter_private_rng_material": "seed[32] || session_id[32] || LE64(query_index) || purpose[1]",184 "backend_rng_bridge": "Fixture derives 16 private bytes with BLAKE3 and supplies them through the public PRNG(block) seed constructor; backend AES-counter PRNG internals and consumption are unchanged.",185 "portable_aes_side_channel_status": "Not qualified: upstream AES.cpp uses secret-indexed S-box tables. Do not claim constant-time portable secret operations."186 },187 "source_function_map": [188 {189 "repository": "libOTe",190 "path": "libOTe/Base/SimplestOT.cpp",191 "functions": [192 "SimplestOT::send",193 "SimplestOT::receive",194 "makeSenderBatch",195 "makeReceiverBatch",196 "deriveKey"197 ],198 "contract": "Uniform seed commitment/decommitment; canonical/decompressible peer points; cofactor clearing; neutral/small-order sender rejection; derive keys from cleared sender/receiver/shared encodings, LE64 index, branch and committed seed. Receiver response points are cofactor-cleared, with no extra identity rejection added locally."199 },200 {201 "repository": "cryptoTools",202 "path": "cryptoTools/Crypto/Edwards25519/Edwards25519.cpp",203 "functions": [204 "isCanonicalPointEncoding",205 "Point::fromBytes",206 "Point8::fromBytes",207 "Point::clearCofactor",208 "Point::isNeutral"209 ],210 "contract": "Check y<p and unique x=0 sign encoding; decompress and validate curve equation; multiply by cofactor 8; recognize neutral. Portable ge25519_unpack_vartime and arithmetic are in the adjacent portable directory."211 },212 {213 "repository": "libOTe",214 "path": "libOTe/TwoChooseOne/OTExtInterface.cpp",215 "functions": [216 "OtExtSender::genBaseOts",217 "OtExtReceiver::genBaseOts",218 "OtSender::sendChosen",219 "OtReceiver::receiveChosen"220 ],221 "contract": "Base-role reversal and public backend chosen-message conversion; original backend bytes and checks retained."222 },223 {224 "repository": "libOTe",225 "path": "libOTe/TwoChooseOne/SoftSpokenOT/SoftSpokenMalOtExt.h",226 "functions": [227 "SoftSpokenMalOtSender::init",228 "SoftSpokenMalOtReceiver::init",229 "TwoOneRTCR::setKey",230 "TwoOneRTCR::hashBlocks"231 ],232 "contract": "Defaults k=2, randomOt=true, threads=1; malicious subspace types; exact AES/field hash instantiation."233 },234 {235 "repository": "libOTe",236 "path": "libOTe/TwoChooseOne/SoftSpokenOT/SoftSpokenMalOtExt.cpp",237 "functions": [238 "SoftSpokenMalOtSender::send",239 "SoftSpokenMalOtReceiver::receive",240 "SoftSpokenMalOtSender::Hasher::runBatch",241 "SoftSpokenMalOtReceiver::Hasher::runBatch"242 ],243 "contract": "32-byte alignment; positive equal dimensions; full expansion, 64 sacrificed random choices, padded chunks, challenge and RTCR hashing; sender awaits checkResponse before successful return."244 },245 {246 "repository": "libOTe",247 "path": "libOTe/Vole/SoftSpokenOT/SmallFieldVole.cpp",248 "functions": [249 "SmallFieldVoleSender::expand",250 "SmallFieldVoleReceiver::expand"251 ],252 "contract": "Malicious PPRF seed consistency includes every column in every row; secret-position correction; compare full per-row hashes. Deferred failure is retained for folding into final rejection."253 },254 {255 "repository": "libOTe",256 "path": "libOTe/Vole/SoftSpokenOT/SubspaceVoleMaliciousLeaky.h",257 "functions": [258 "SubspaceVoleMaliciousBase::finalHashRows",259 "SubspaceVoleMaliciousBase::getFinalHash",260 "SubspaceVoleMaliciousSender::hash",261 "SubspaceVoleMaliciousSender::sendResponse",262 "SubspaceVoleMaliciousReceiver::sendChallenge",263 "SubspaceVoleMaliciousReceiver::checkResponse"264 ],265 "contract": "Require initialized challenge and hash dimensions; universal GF(2^64) hashing with rekey bound; final GF(4) matrix check covers 40 bits; combine deferred seed-consistency failure; clear seed/challenge/hash state on failure. The internal Leaky filename is a component of the full MalOt wrapper, not the exposed OT mode."266 },267 {268 "repository": "cryptoTools",269 "path": "cryptoTools/Crypto/PRNG.cpp",270 "functions": [271 "PRNG::SetSeed",272 "PRNG::implGet",273 "PRNG::refillBuffer"274 ],275 "contract": "Backend's unchanged public seed interface and AES counter-mode private stream."276 },277 {278 "repository": "cryptoTools",279 "path": "cryptoTools/Crypto/AES.cpp",280 "functions": [281 "details::AES<Portable>::roundFn",282 "details::AES<Portable>::setKey"283 ],284 "contract": "Unmodified portable AES-128; side-channel review remains open because of secret-indexed tables."285 },286 {287 "repository": "libOTe with recorded portability patch",288 "path": "libOTe/Vole/SoftSpokenOT/SubspaceVole.h",289 "functions": [290 "SubspaceVoleReceiver::recv"291 ],292 "contract": "Retain u64 overflow rejection; before mutation/allocation reject total block storage exceeding SIZE_MAX/sizeof(block), then explicitly cast the validated count for storage/span. This portability guard is exercised on native 64-bit and Wasm32 targets."293 }294 ],295 "wire": {296 "status": "not-implemented",297 "contract": "No Rust/application wire adapter is implemented. Standalone benchmark peers exchange exact backend bytes through coproto LocalAsyncSocket. Integration requires a distinct opaque versioned backend profile; no abbreviated-paper protocol is substituted."298 },299 "qualification": {300 "native_portable_library_build": "passed before and after the recorded portability patch",301 "native_behavior": "passed six named test fixtures and logical chosen counts 8/80/800/8000; fresh checkout build and behavior also passed",302 "wasm32_wasi_library_build": "passed with the exact recorded portability patches and official WASI exception flags",303 "wasm32_wasi_behavior": "passed the same six test fixtures and four logical chosen counts, with all cryptography inside Wasm",304 "fresh_checkout_wasm32_reproduction": "passed exact pin checkout, patch, build and ten behavior rows using build_reference.py",305 "wasm64_ic_build": "blocked: official SDK has no memory64 C++ standard-library/sysroot; direct probe fails exception header lookup. A qualified IC ABI, exception/allocator runtime, transport and Rust boundary remain absent.",306 "installed_ic_behavior": "not-run; no native-crypto callback substitute or IC cost estimate",307 "exact_revised_paper_review": "blocked: exact immutable R2/R3 archive PDFs return HTTP 403",308 "portable_constant_time_review": "unqualified: upstream portable AES uses secret-indexed S-box tables",309 "macoro_complete_license_coverage": "unresolved: file-level MIT notices exist, repository-level license absent",310 "source_is_security_audit": false,311 "evidence": "crypto/research/experiments/2026-10-31-garbled-circuit/ot-reference",312 "source_manifest_sha256": "c41c725e5a9a7c6ea16759f2c49336fe97a12a52c397d7bda560442a9175ba0e",313 "isolated_samples_per_cell": 3,314 "isolated_cell_count": 6,315 "isolated_repeat_result": "Fuel, stdout rows and final linear-memory capacity identical across all three fresh stores in every cell",316 "measurement_unit": "wasmtime_fuel; Wasmtime defaults without operator customization; no fuel-to-IC conversion",317 "measurement_scope": "Whole standalone process containing both parties; no control subtraction",318 "machine_rows": "crypto/research/experiments/2026-10-31-garbled-circuit/ot-reference/isolated-rows.jsonl",319 "module": {320 "sha256": "a47b57b288b9473d6ccdf9372e904e996f5492b42d5f5c5b422d5a184433f685",321 "bytes": 5186076,322 "retained_gzip": "gc-ot-probe.wasm.gz",323 "gzip_sha256": "3acd0516358a00f7106d2e28447594564069a58c7dff3864e150595baccc046b"324 },325 "runtime": {326 "name": "wasmtime",327 "version": "50.0.1",328 "wheel": "wasmtime-50.0.1-py3-none-manylinux1_x86_64.whl",329 "wheel_sha256": "cc14c3a17654e0394e0225b11813532ef0cd7bd1e222a0c5494cdedaabeddac4",330 "engine_commit": "c307ec81de02852d815e9849f7c89d955c03c30d",331 "license": "Apache-2.0 WITH LLVM-exception",332 "settings": {333 "wasm_exceptions": true,334 "consume_fuel": true,335 "fuel_limit": 50000000000,336 "operator_costs": "Wasmtime defaults, unmodified",337 "wasi": "preview1 builtin WASI only; no custom native cryptographic functions",338 "fresh_store_and_instance_per_sample": true,339 "ic_fuel_conversion": null340 }341 },342 "toolchain": {343 "name": "wasi-sdk-34",344 "artifact": "wasi-sdk-34.0-x86_64-linux.tar.gz",345 "sha256": "b761e3a0721dbae9c09a0059e5fdb2bf917d1b4a8a7b430fb3b5aafb0984b2c4",346 "clang": "23.1.0-wasi-sdk",347 "llvm_commit": "895aa2c896ada719451be2e3673c83da8ddf1141",348 "wasi_libc_commit": "2e6fb9d8ee0cdf9e431fbcabe8af3115de000a13",349 "target": "wasm32-wasip1",350 "exception_flags": [351 "-fwasm-exceptions",352 "-mllvm",353 "-wasm-use-legacy-eh=false"354 ],355 "link_flags": [356 "-fwasm-exceptions",357 "-lunwind",358 "-Wl,-z,stack-size=2097152",359 "-Wl,--max-memory=134217728"360 ],361 "source_commit": "5a0bf653a1a06e1c18867567c5937006d3394a69"362 }363 },364 "qualified_scope": "Selected native C++ and standalone Wasm32-WASI behavior, including real base OT and chosen-message conversion",365 "blocking_scope": "Rust Wasm64 IC integration and complete security/source qualification",366 "fixture_dependencies": [367 {368 "commit": "f3149ec5bb5449af877ba20377a11008ff499fa2",369 "version": "1.8.7",370 "license": "CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception",371 "source": "../../../algo/hash/vendor/blake3/c",372 "file_hashes": {373 "blake3.c": "b118ddf7cf9e6e5ef3fded72dcb1acf9dfdc4ea923cbe4605900ad6ee9afe1af",374 "blake3.h": "81bbb11ad1909341565dce4914cc0e5c29718eca27e6950b28f9226a91aaf8c5",375 "blake3_dispatch.c": "134f21550138c0af6312925c988aeee35df287e4119e8ad1d206fccdb2238fe3",376 "blake3_impl.h": "d388dca3574602c8849805ea3c8c0a12d082ac0e428756f305e111942f099af4",377 "blake3_portable.c": "2bc25b0dad67b4329d0b49cfa075ab2b0d04e424addbddc4e9c389c52a192524"378 }379 }380 ]381 },382 "schema": "cdk-rsx-garbled-circuit-crypto-profile-v1",383 "status": "IC gate kernels qualified; OT reference runs standalone Wasm32, IC OT integration blocked",384 "scope": "Reusable cryptographic functions and deterministic benchmark fixtures; no game or application",385 "suite": {386 "descriptor": "suite.txt",387 "id_blake3": "c93cec6c2f3fd4e73d9928f5a2634786706b6691feddc055e990e1a6e00f0daf",388 "descriptor_sha256": "f5227928ec08cc6eaf8e66666658d23aadb6b591e40006835409c39f406b0d1d",389 "independent_id_check": "Node @noble/hashes 1.8.0 BLAKE3 matches the native Rust reference"390 },391 "garbling": {392 "construction": "Zahur-Rosulek-Evans Half-Gates, Figure 2; Free-XOR and label-swap NOT",393 "paper": "https://www.cs.virginia.edu/evans/pubs/ec2015/halfgates.pdf",394 "label_bits": 128,395 "permutation_bit": "label[0] & 1",396 "integer_encoding": "little-endian",397 "input_bit_order": "least-significant first",398 "delta": "Fresh per garbling; low bit forced to one; never sent to evaluator",399 "gate_hash": "t = gf128_double(label) XOR LE128(tweak); H = AES128_0(t) XOR t",400 "gf128": "byte0 contains low polynomial coefficients; shift left; mask-reduce with0x87",401 "tweaks": "2*g,2*g+1 calculated in u128; unique g within each garbling",402 "aes_backend": "Featureless control: RustCrypto aes0.8.4 portable constant-time fixslice64 on Wasm64. Optional aes-simd uses Boolean eight-lane AES; preferred aes-narrow uses byte-vector widths 1/2/4 and Boolean width 8 under the supported-engine assumption. No native crypto host calls.",403 "aes_initialization": "Public all-zero key setup occurs outside per-gate bodies and is separately measured. SIMD public-zero owners are zero-sized and borrow immutable public schedules; this is not general secret-key expansion.",404 "aes_internal_width": "Featureless/AES64 control uses four internal lanes; aes-simd uses eight. aes-narrow selects widths 1/2/4 while retaining Boolean width 8. Structural hash counts count logical AES blocks, not spare backend lanes.",405 "table_encoding": "tg[16] || te[16]",406 "garbler_hashes_per_and": 4,407 "evaluator_hashes_per_and": 2,408 "table_bytes_per_and": 32,409 "equality8": {410 "xor_gates": 8,411 "not_gates": 8,412 "and_gates": 7,413 "garbler_hashes": 28,414 "evaluator_hashes": 14,415 "table_bytes": 224,416 "active_alice_labels_bytes": 128,417 "logical_chosen_ots_required": 8,418 "opaque_reply_label_bytes": 16,419 "logical_gc_request_plus_reply_bytes": 368420 },421 "security_boundary": [422 "Honest-execution garbling only; malicious OT does not imply malicious GC",423 "No proof tying a supplied input to external logged state",424 "128-bit labels and fixed-key AES are not an unlimited-query128-bit security claim",425 "No malicious-garbler, selective-failure or flooding resistance claimed"426 ],427 "aes_batching": "batched-aes alone selects the four-lane AES64 control. aes-simd and aes-narrow also enable gate batching, including paired independent gates. Logical hash counts remain four per garbler AND and two per evaluator AND; unused dummy lanes are never logical work."428 },429 "private_randomness": {430 "primitive": "Existing pinned BLAKE3 1.8.7 derive-key/XOF; pure and zeroize features",431 "context": "p2p-gc-bench/v1/private-rng",432 "material": "seed[32] || session[32] || LE64(query) || purpose[1]",433 "purpose_bytes": {434 "garbling": 0,435 "base_ot": 1,436 "ot_extension": 2437 },438 "reader": "Sequential, chunking-equivalent; reject u64 byte-position overflow before writing",439 "required_caller_private_seed_bytes": 32,440 "benchmark_seeds": "Explicit fixed public fixture inputs, not production entropy",441 "garbling_xof_bytes_per_equality": 272,442 "ot_private_rng_expansion_bytes": null,443 "cleanup": "Owned buffers, Hasher and OutputReader explicitly zeroized; compiler/caller copies not guaranteed erased",444 "ot_fixture_scope": "Standalone reference probes use separately named benchmark domains; the normative Rust OT adapter is not implemented",445 "session_preparation": "Compress exact seed32||session32 material prefix once; retain only its secret chaining value and public backend selector; append the nine-byte LE64(query)||purpose suffix and initialize the root XOF reader without a general-purpose Hasher clone.",446 "independent_secret_batches": "Optional wasm-query-batch preserves each query's first 32 stream bytes. Public lengths 1..6 use single-query readers; lengths >=7 use four-query SIMD scheduling. Empty/range checks finish before any output write."447 },448 "core_dependencies": [449 {450 "name": "aes",451 "version": "0.8.4",452 "registry_checksum": "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0"453 },454 {455 "name": "cipher",456 "version": "0.4.4",457 "registry_checksum": "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad"458 },459 {460 "name": "subtle",461 "version": "2.6.1",462 "registry_checksum": "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"463 },464 {465 "name": "zeroize",466 "version": "1.9.1",467 "registry_checksum": "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879"468 }469 ],470 "blake3_source": {471 "version": "1.8.7",472 "path": "../hash/vendor/blake3",473 "features": [474 "pure",475 "zeroize",476 "prepared_prefix64"477 ],478 "note": "Uses the same existing vendor directly, avoiding compilation of unrelated hash-family algorithms",479 "compiled_sources": "Exact canonical source and debug archives are recorded with the IC artifacts",480 "optimized_features": [481 "wasm32_simd",482 "wasm_xof4",483 "prepared_query_batch"484 ],485 "local_changes": "Opt-in four-root-block XOF scheduling, compact exact64-byte derive-key prefix and independent-query batch scheduling; exact measured source inputs remain pinned by each artifact's source receipts."486 },487 "baseline_qualification": {488 "status": "Historical 34-population baseline; retained receipts do not qualify later source revisions.",489 "native_tests": 21,490 "native_instrumented_tests": 22,491 "fresh_native_equality_pairs": 65536,492 "independent_hash_vectors": 12,493 "independent_half_gate_vectors": 8,494 "independent_half_gate_truth_evaluations": 32,495 "actual_wasm_probe_pairs": 1024,496 "separate_instrumented_wasm_probe_pairs": 1024,497 "ic_function_populations": 34,498 "samples_per_body_and_control": 2,499 "ic_meter_unit": "IC instructions",500 "ic_runtime_binary_sha256": "6a9a75ad9b4551d2b0f4a0d954ffb8bd5bbd0ebc44ac00290679b06ad0b2f8e6",501 "primary_artifact_sha256": "56ab2178f86f24bac36cce0ad81d0b63dd1d576324552a2aec8321446d4db189",502 "ot_or_full_protocol_ic_costs": null,503 "evidence": "../../research/experiments/2026-10-31-garbled-circuit/"504 },505 "core_qualification": {506 "status": "Historical 46-population optimized round; current selected qualification is recorded separately below.",507 "native_featureless_tests": 25,508 "native_instrumented_tests": 26,509 "native_all_features_tests": 29,510 "benchmark_native_tests": 4,511 "fresh_native_equality_pairs": 65536,512 "actual_wasm_equality_probe_pairs_per_image": 1024,513 "actual_wasm_xof_cases_per_image": 64,514 "actual_wasm_xof_bytes_compared_per_image": 40875,515 "ic_function_populations_per_primary_image": 46,516 "samples_per_body_and_control": 2,517 "ic_meter_unit": "IC instructions",518 "ic_runtime_binary_sha256": "6a9a75ad9b4551d2b0f4a0d954ffb8bd5bbd0ebc44ac00290679b06ad0b2f8e6",519 "matched_scalar_artifact_sha256": "d8700b83f61ff9b40a7eae581d8a9c0c3a7812662df8bf225d5fc09a5142e858",520 "optimized_artifact_sha256": "d39a7c0bfcc86be1db9dd7f4535e35d6e7eff0582bf4b66c25baa8737d86fcdb",521 "independent_audit": "../../research/experiments/2026-10-31-garbled-circuit/review/audit_final.json",522 "cost_tables": "../../research/benchmarks/2026-10-31-garbled-circuit-optimized.md",523 "ot_or_full_protocol_ic_costs": null,524 "upstream_compact_prefix_tests": 3,525 "development_reference": "../vendor/blake3/reference_impl/UPSTREAM.md"526 },527 "current_qualification": {528 "round": "2026-10-31 round5 narrow AES widths 1/2/4 and BLAKE3 query-batch cutoff",529 "scope": "Actual IC function fixtures with unchanged GC/PRG byte contracts; standalone ChaCha profiles remain separate contracts with null GC suite IDs. This is not an OT or full private-protocol qualification.",530 "cost_tables": "../../research/benchmarks/2026-10-31-garbled-circuit-round5.md",531 "evidence": "../../research/experiments/2026-10-31-garbled-circuit/round5/narrow-aes/README.md",532 "independent_review": "../../research/experiments/2026-10-31-garbled-circuit/round5/narrow-aes/review/IC-REVIEW.txt",533 "engine_source_chain": "../../research/experiments/2026-10-31-garbled-circuit/round5/narrow-aes/review/engine-source-chain.json",534 "ic_function_populations_per_primary_image": 91,535 "empty_harness_populations_per_primary_image": 91,536 "blocked_ot_rows_per_primary_image": 52,537 "samples_per_body_and_control": 2,538 "ic_meter_unit": "IC instructions; body, checked whole update and included page fees remain separate fields; no harness or page subtraction",539 "ic_runtime_binary_sha256": "6a9a75ad9b4551d2b0f4a0d954ffb8bd5bbd0ebc44ac00290679b06ad0b2f8e6",540 "control": {541 "artifact_sha256": "e103f506ce0a99a7dd2e4153ada43a061c3dfd953181bb5bf6a0ff9f6bcaab9e",542 "prepared_wasm_bytes": 574845,543 "actual_benchmark_features": [544 "aes-simd",545 "game-prg-simd",546 "prg-query-batch",547 "prg-simd",548 "prg-xof4"549 ],550 "independent_audit": "../../research/experiments/2026-10-31-garbled-circuit/round5/narrow-aes/review/control-ic-audit.json"551 },552 "selected": {553 "artifact_sha256": "5592aef82ccb81b339a45169986941fbb90f8d41cc5ccf8cea1b8eeea335c558",554 "prepared_wasm_bytes": 543973,555 "actual_benchmark_features": [556 "aes-narrow",557 "aes-simd",558 "game-prg-simd",559 "prg-query-batch",560 "prg-simd",561 "prg-xof4"562 ],563 "independent_audit": "../../research/experiments/2026-10-31-garbled-circuit/round5/narrow-aes/review/selected-ic-audit.json"564 },565 "instrumented_counter": {566 "artifact_sha256": "026678f6b8b5379a1ea6862167a3b651e0ac559cc59b74611ed7acea39edb335",567 "complete_traces": 7,568 "performance_rows": 0,569 "independent_audit": "../../research/experiments/2026-10-31-garbled-circuit/round5/narrow-aes/review/counter-ic-audit.json"570 },571 "fresh_native_equality_pairs": 65536,572 "actual_wasm_equality_probe_pairs_per_image": 1024,573 "actual_wasm_xof_cases_per_image": 64,574 "actual_wasm_standalone_prg_cases_per_image": 50,575 "actual_wasm_aes_cases_per_image": 32,576 "actual_wasm_secret_batch_cases_per_image": 68,577 "generic_aes_block_results_per_image": 1792,578 "generic_aes_distinct_key_input_pairs_per_image": 256,579 "generic_aes_scope": "Repeated borrowed/in-place 1/2/4 and wide API checks, not 1792 unique vectors or generic secret-key performance measurements",580 "complete_primary_traces_per_image": 737,581 "per_output_checksum_items_per_image": 50726,582 "supported_engine_assumption": "aes-narrow requires actual-engine hardware SIMD register-swizzle lowering. The reviewed IC/Wasmtime source chain connects host CPU feature inference to SSSE3/PSHUFB and the local x86_64 host advertises SSSE3. Exact measured PocketIC JIT flags and native assembly were not dumped or proven. Software fallback engines are outside this constant-time execution claim; no universal-host guarantee is established.",583 "ot_or_full_protocol_ic_costs": null,584 "wall_time_statistics": null,585 "peak_live_heap_bytes": null,586 "network_metrics": null587 },588 "preferred_implementation": {589 "core_features": [590 "wasm-xof4",591 "aes-narrow"592 ],593 "benchmark_features": [594 "prg-xof4",595 "prg-query-batch",596 "aes-narrow",597 "game-prg-simd"598 ],599 "independent_secret_batch_core_feature": "wasm-query-batch",600 "default_core_features": [],601 "note": "Featureless remains the readable portable control. Narrow AES is opt-in under current_qualification.supported_engine_assumption; aes-simd is the independent Boolean control. Optional independent-secret batching starts at length seven. game-prg-simd qualifies the benchmark's separately named ChaCha profiles and does not change the frozen BLAKE3 GC suite."602 }603}