UPSTREAM.json

cdk-rsx/crates/crypto/prg/UPSTREAM.json

UPSTREAM.json81 lines← SDK documentation
1{2  "chacha20": {3    "version": "0.10.2",4    "commit": "6b236b758a0279f64d777797514813b2cb572c8b",5    "repository": "https://github.com/RustCrypto/stream-ciphers",6    "license": "MIT OR Apache-2.0",7    "source_files": {8      "Cargo.toml.orig": "ce1889452c49e116d1e4e3b1af355947a57852804ec9687220d1e1579983b8c4",9      "src/lib.rs": "b539477230a58abfa2e2ab8dd62c017ffc84f3a7680971c5496973185c543c20",10      "src/chacha.rs": "323b76530ad49db28cb1764dbee7843908af21ae85918e4ade04abad8a4614bb",11      "src/variants.rs": "79bb423dd0ef0ac690334915baea48db17f055797175c22b1bcbed0714dd9f88",12      "src/backends/soft.rs": "120bcf4bc535c3fbcc3b4e2bdc0f021e44fae553bf5bb3a532271b2a08dc2149",13      "LICENSE-MIT": "b8c6939380a400f53e11923d50fcc4dd2fa1ba8339fd9d04cda38a0251b6c9b0",14      "LICENSE-APACHE": "a9040321c3712d8fd0b09cf52b17445de04a23a10165049ae187cd39e5c86be5",15      "CHANGELOG.md": "62b490baa02637dc7810a52716a1b7c2cdbce591fab695df87d843857cdd47cd"16    },17    "release_review": {18      "primary_release_url": "https://github.com/RustCrypto/stream-ciphers/releases/tag/chacha20-v0.10.2",19      "primary_changelog_url": "https://raw.githubusercontent.com/RustCrypto/stream-ciphers/6b236b758a0279f64d777797514813b2cb572c8b/chacha20/CHANGELOG.md",20      "0.10.1": "Adds public legacy-core and nonce aliases.",21      "0.10.2": "Fixes an SSE4.1 intrinsic used in the SSE2 backend of RNG and legacy 64-bit-counter variants.",22      "required_cipher_version": "0.5 (direct pin is 0.5.2 with stream-wrapper and zeroize features).",23      "source_compatibility": "The IETF ChaCha8/12/20 API used here is compatible; src/chacha.rs only changes the visibility of its internal cipher imports. Portable round arithmetic and IETF variant/counter source remain byte-identical. Exact tests still require root execution.",24      "byte_identical_selected_files_since_0.10.0": {25        "src/backends/soft.rs": true,26        "src/variants.rs": true27      },28      "selection": "0.10.0 is yanked and was never resolved for this new crate. Use maintained non-yanked compatible 0.10.2 instead of vendoring the yanked package."29    }30  },31  "cipher": {32    "version": "0.5.2",33    "commit": "f836f71fadb3b975b577a293d57851d044f0a44b",34    "repository": "https://github.com/RustCrypto/traits",35    "license": "MIT OR Apache-2.0",36    "source_files": {37      "Cargo.toml.orig": "75e90eee7bb7c8693451b1ce893104bcf616ed5cf8150e4574d39937768d3f79",38      "src/stream.rs": "9558c02e4e05cc5f26a6d9e4ecae14e188432e0f4e0ef3dab909024a64ac7f09",39      "src/stream/wrapper.rs": "6fcf34c8511f80d46f0c48d5e52e3502641cd3ac8047fcb72336b0ac597e335b",40      "src/stream/core_api.rs": "b79ca50449712d6aae8bc98447f80194217ff34572a225efd0d802cc475f4640",41      "CHANGELOG.md": "a8a99f9731115fa0eb271e2e687bfc580315648c5789b9559ad83e80e591db72",42      "LICENSE-APACHE": "a9040321c3712d8fd0b09cf52b17445de04a23a10165049ae187cd39e5c86be5",43      "LICENSE-MIT": "950d712c518a02fcb7cff96950aee304a1cc5283361712c980ea21e8d6d669a5"44    },45    "release_review": {46      "primary_changelog_url": "https://raw.githubusercontent.com/RustCrypto/traits/f836f71fadb3b975b577a293d57851d044f0a44b/cipher/CHANGELOG.md",47      "0.5.1": "Changes wrapper block-size bounds to block_buffer::BlockSizes and raises block-buffer to 0.12; concrete ChaCha U64 block types remain supported.",48      "0.5.2": "Re-exports SetIvState; stream overwrite API and wrapper buffered-byte behavior used here remain compatible.",49      "selection": "0.5.0 is yanked; root selected and resolved non-yanked 0.5.2. No vendored obsolete version retained.",50      "counter_and_cleanup": "Source inspected: unchecked_write_keystream copies cached bytes and directly writes core blocks, without a zero-fill/XOR pass. Core block writes do not enforce limits; this crate owns the full IETF preflight. zeroize forwards to common and optional block-buffer, preserving buffered keystream cleanup."51    }52  },53  "botan_vectors": {54    "commit": "a1e4a485dfd9415c82677e334031ce6da20e0b1d",55    "url": "https://raw.githubusercontent.com/randombit/botan/a1e4a485dfd9415c82677e334031ce6da20e0b1d/src/tests/data/stream/chacha.vec",56    "sha256": "ee39098430e9f815008c204a23e7744d467e7a5001936467a7efaf921324f36a",57    "license_url": "https://raw.githubusercontent.com/randombit/botan/a1e4a485dfd9415c82677e334031ce6da20e0b1d/license.txt",58    "license_sha256": "758ea6b4a65d5611bf79c24920f92473ef44bdde0b3b97fa578470a0ffc34f14",59    "selected_ietf_records": 88,60    "selection": "ChaCha8/12/20 groups, 256-bit keys, explicit 64-bit or 96-bit nonces, no nonempty plaintext, positions entirely within IETF 2^38-byte domain. For 64-bit source nonces prepend four zero bytes: before counter 2^32 this produces exactly the same initial ChaCha state as the original 64-bit-counter construction. Exact Out bytes retained."61  },62  "bernstein2008": {63    "url": "https://cr.yp.to/chacha/chacha-20080120.pdf",64    "sha256": "5e0f3c929a9307c6d58d470b7c7c168783c8ff290d835c1d9bc3fb7c5c3052bd",65    "bytes": 111286,66    "read": "Author original PDF; introduces ChaCha8/12/20 and diffusion/performance motivation. No new profile security claim inferred."67  },68  "local_simd": {69    "feature": "wasm-simd",70    "source": "src/wasm_simd.rs",71    "source_sha256": "8a9708f54f112533e0ecb9bead91b280269c6456464404ad88cb868f98d89364",72    "scope": "Byte-identical IETF 8/12/20 rounds; complete public stream preflight unchanged; private overwrite/cache owner for Wasm SIMD, upstream wrapper for native.",73    "single_block": "Four state rows, SIMD quarter-rounds and fixed diagonal permutations.",74    "four_blocks": "16 vector words, lanes select four consecutive counters, fixed 4x4 transpose on output.",75    "unsafe_boundary": "Fixed-size unaligned vector loads/stores and volatile wiping of initialized owned vectors; private Wasm-only module.",76    "reference": "Pinned RustCrypto ChaCha quarter-round schedule and IETF encoding; 88 independent Botan vectors.",77    "qualification": "Native scalar reference, actual installed Wasm complete-output probes including final four counter blocks; see round2 report.",78    "bulk_reuse": "Three counter-independent first-column quarters and owned vector scratch reused across all four-counter groups in a fill.",79    "independent_secret_batch": "Four distinct query nonces at counter zero; first 32 bytes exactly match individual streams. Atomic complete query-range preflight; inactive lanes duplicate the last active domain."80  }81}