PROVENANCE.json
cdk-rsx/crates/crypto/mlkem/PROVENANCE.json
1{2 "crate": "fips203",3 "version": "0.5.0",4 "source_commit": "5564559d13accac0a428adc496186d072aa61c58",5 "crate_sha256": "602e37d80ffd53e1b6037a91bbc471d94bd18a6d1f86493b721b7ef4609a013c",6 "source": "https://github.com/integritychain/fips203",7 "files": {8 "tests/vectors/keygen.json": {9 "source": "fips203-0.5.0/tests/nist_vectors/ML-KEM-keyGen-FIPS203/internalProjection.json.gz",10 "source_sha256": "d7a62a2c3476957f56dd8d24f9004ea6776ccfe995ffe71a65bb9506dc9c7b1b",11 "change": "retain all512/768 groups; omit1024; compactJSON"12 },13 "tests/vectors/mlkem768-k.bin": {14 "source": "/srv/shared/code/showtime/crypto/mlkem/fixtures/mlkem768-k.bin",15 "sha256": "112e96545282948046d8bbd675b5554d0343999ba3d9c73de2a25f7fd9adbe60"16 },17 "tests/vectors/mlkem768-ek.bin": {18 "source": "/srv/shared/code/showtime/crypto/mlkem/fixtures/mlkem768-ek.bin",19 "sha256": "2d50c6c9908667afe27abe147d0f5277af75512a39024edc1bf893369ac69bca"20 },21 "tests/vectors/mlkem768-c.bin": {22 "source": "/srv/shared/code/showtime/crypto/mlkem/fixtures/mlkem768-c.bin",23 "sha256": "ac57163b80ead205b8323e1402b8ca66bece40d8df9994b12d43bbb4f6e19bf4"24 },25 "tests/vectors/mlkem512-c.bin": {26 "source": "/srv/shared/code/showtime/crypto/mlkem/fixtures/mlkem512-c.bin",27 "sha256": "dfbfda1e0c6dcb366f1acf1759d61f78e62ca4ec66014095867b4b053e58de35"28 },29 "tests/vectors/mlkem512-k.bin": {30 "source": "/srv/shared/code/showtime/crypto/mlkem/fixtures/mlkem512-k.bin",31 "sha256": "bc64db913f4317ae433f4540322f2aa86b7df664be957ffcdad6d6d3d3fb88ed"32 },33 "tests/vectors/mlkem512-ek.bin": {34 "source": "/srv/shared/code/showtime/crypto/mlkem/fixtures/mlkem512-ek.bin",35 "sha256": "63e127c0f7d1cc890c1ddaee2a66029efb92f3633615fa4f3c16fd1ccd69848a"36 },37 "tests/vectors/mlkem512-m.bin": {38 "source": "/srv/shared/code/showtime/crypto/mlkem/fixtures/mlkem512-m.bin",39 "sha256": "90b2c111cb448de6df6dc0717f338616a056490e7c814325aff2d80abac96551"40 },41 "tests/vectors/mlkem512-dk.bin": {42 "source": "/srv/shared/code/showtime/crypto/mlkem/fixtures/mlkem512-dk.bin",43 "sha256": "e1b2192a45dbdd970133362931cfbec466500833cab7b122c281740a20ed0868"44 },45 "tests/vectors/mlkem768-m.bin": {46 "source": "/srv/shared/code/showtime/crypto/mlkem/fixtures/mlkem768-m.bin",47 "sha256": "54693dfd19711b800b28fd993e010f388ffc77ab9b51c12118f699ab7e500c6b"48 },49 "tests/vectors/mlkem768-dk.bin": {50 "source": "/srv/shared/code/showtime/crypto/mlkem/fixtures/mlkem768-dk.bin",51 "sha256": "1d23c2c1d42c3b423b95f0ac134eba3d7cc6ef46a413d5af9ff354d24178921d"52 },53 "tests/vectors/encap-decap.json": {54 "source": "https://raw.githubusercontent.com/integritychain/fips203/51a74b57e92f4444790ba72f305eae7b7038d959/tests/nist_vectors/ML-KEM-encapDecap-FIPS203/internalProjection.json",55 "source_sha256": "4b5afd6c7075b1ffebc099a70dcf907b189daadd42921223127732e3ec83c333",56 "change": "all512/768 groups, omit1024, compactJSON"57 }58 },59 "local_package": "cdk-rsx-crypto-mlkem-portable",60 "vendor_directory": "vendor/fips203",61 "upstream_source_sha256": {62 "src/byte_fns.rs": "d9b9b3a6ae62d93af08d763cd64be04208659cb0d78a607507540350b90f0afa",63 "src/helpers.rs": "84408d018dda0f9416a8565fe2f4f7c0900b2936b5c467cf7c5396f27bb6ae9c",64 "src/k_pke.rs": "0a7d2f2d740d7ea95d867de64b2b8bf2924bdd0f99b1ed19dd4130f83912dbd4",65 "src/lib.rs": "38e44c15d74c84224ad3c718fca1fb41631c725f8b22f08025f631d0630648ec",66 "src/ml_kem.rs": "ba4cfdf5d08ba836385c391e044fe6f79b5a69b1eee72e0be30656bf6efe3c9b",67 "src/ntt.rs": "d9e3a23ef5453b71409eeba2776505056dc61a3adea1f4cd8e422244c5fa7d50",68 "src/sampling.rs": "39aafae581ddcc66f3c5c0a6619d0774b4e05347c488f02179602803c685271e",69 "src/traits.rs": "19ff8c6148c05b49f03b19218686b1c3381808d595d9b01bfd6d965cd1345155",70 "src/types.rs": "f8a795681e3fcb7080563216d3df19fadfbce097aba8c320010065cb3ea48745"71 },72 "local_changes": [73 "Cargo.toml: rename the copied package; default features remain disabled by its consumer.",74 "src/types.rs: compute base_mul via the existing canonical mul and base_mul2 primitives, avoiding software-wide u128 multiplication; arithmetic ranges, secret-independent control flow and canonical output are preserved.",75 "src/types.rs: add read-only AsRef array access for encoded keys and ciphertext; preserve zeroization on drop.",76 "Wrapper: borrow public/ciphertext encodings, and copy explicit exports directly without cloning a zeroizing upstream object first.",77 "Tests: retain untouched crates.io fips203 0.5.0 as a dev-only differential oracle.",78 "src/k_pke.rs and src/helpers.rs: generate the same public A matrix one polynomial at a time and immediately use existing MultiplyNTTs accumulation, replacing K*K*512 bytes of source-level matrix storage with a single 512-byte polynomial; each output keeps its original accumulation order.",79 "src/lib.rs: share the unchanged ByteDecode12 public-key validation through a borrowed-array helper so secret-key import does not copy, construct and zeroize a temporary embedded EncapsKey; validation order and acceptance remain the same.",80 "src/prepared.rs and src/lib.rs: add opaque explicitly prepared key contexts using unchanged FIPS203 G/J, noise, NTT, encoding and constant-time implicit-rejection selection; cache the checked public polynomial, public matrix and hash, and decoded secret vector only in caller-owned contexts. All context fields zeroize on drop.",81 "src/k_pke.rs: share the existing encryption and decryption bodies between fresh encoded keys and checked expanded contexts. The expanded matrix path performs the same per-output ascending MultiplyNTTs accumulation. The fresh path continues streaming public matrix polynomials.",82 "Wrapper and cases: expose explicit preparation and measure it once inside each expanded-same-call-key cohort; no prepared context is retained between benchmark run invocations. Fresh-key contexts have no expanded scratch reservation. Test all NIST operations and byte-exact differential valid/arbitrary/corrupted ciphertexts through expanded contexts as well.",83 "Integration: allow the SDK-injected nightly must_not_suspend feature attribute by dropping only the blanket unstable_features lint; all arithmetic, unsafe-code and other semantic lints remain.",84 "src/helpers.rs and src/ntt/simd128.rs: reuse the existing eight-lane canonical add_mod for whole-polynomial addition under the SIMD feature; inputs remain below q and secret-independent correction/zeroization are unchanged."85 ],86 "integrated_source_files": {87 "vendor/fips203/Cargo.toml": "65e7112af572f6d7fbb94b5ff41f5810c78d0002ec4b5e4be8402cab83a2ea20",88 "vendor/fips203/LICENSE-APACHE": "a9040321c3712d8fd0b09cf52b17445de04a23a10165049ae187cd39e5c86be5",89 "vendor/fips203/LICENSE-MIT": "d27687b51f2874822c1530976b7e837eac4f308d94bf3dd42047011b7d437b47",90 "vendor/fips203/benches/benchmark.rs": "5de81530c84e7b035231cc59cb717997d069808f697569b441ec3c81b736db16",91 "vendor/fips203/src/byte_fns.rs": "d9b9b3a6ae62d93af08d763cd64be04208659cb0d78a607507540350b90f0afa",92 "vendor/fips203/src/helpers.rs": "f23b46e4838b95244a4cb5444945dc4ca28dbf688ec7821ca2a6c402f7d46030",93 "vendor/fips203/src/k_pke.rs": "d3851007272ab1803abf084f896e8133494bb26bcd0562195431813feedc5f25",94 "vendor/fips203/src/lib.rs": "956d2d7a275ca2f90816635ca0d1b54df62cee702f9afbdc79088fb95c05e4e1",95 "vendor/fips203/src/ml_kem.rs": "ba4cfdf5d08ba836385c391e044fe6f79b5a69b1eee72e0be30656bf6efe3c9b",96 "vendor/fips203/src/ntt.rs": "a0f1d1b94e5d6878b10604d04b8f4617c75df0b013d4eefdc63d5764cce99c0a",97 "vendor/fips203/src/prepared.rs": "f40a6d7159a5393d70992a4153c479a781df08efab75602e34e115afa2810c80",98 "vendor/fips203/src/sampling.rs": "39aafae581ddcc66f3c5c0a6619d0774b4e05347c488f02179602803c685271e",99 "vendor/fips203/src/traits.rs": "19ff8c6148c05b49f03b19218686b1c3381808d595d9b01bfd6d965cd1345155",100 "vendor/fips203/src/types.rs": "73fa61823ad2796e6e131559734def9ad5180895600f2b28ccd0e7a5e233fc78",101 "vendor/fips203/tests/accumulated.rs": "a13c1ed1f442dab49ec6de8d711a07ee65f46945241a2d7291ac40097a4e10b3",102 "vendor/fips203/tests/fails.rs": "6e49daf610791a67fde18d26608d266870211a062eff88e5dbc3e96dc5627737",103 "vendor/fips203/tests/integration.rs": "c0596c98595e00b0d726e9c1c333d43985833d8eb5fbc5f2e012915f028c6a13",104 "vendor/fips203/tests/native.rs": "96e9e2659aef56ea003c5c647e2dd32904049745575c2577839d8c3551d289e6",105 "vendor/fips203/tests/negative.rs": "9d982a7f4d34f700ea40b6330d7d62a11934a707b38dc558c6df1b2adfb24cdf",106 "vendor/fips203/tests/regressions.rs": "4b354547304a78cfdc741e35a1ef4861b0252dc32a218cdaeffa0f0db5ba2132"107 }108}