mirror of
https://github.com/fenleon/open-madrid.git
synced 2026-10-22 16:12:35 +00:00
Direct in-process replay of ValidationCtx::new (two byte-verified runs, no Apple network): pearKey16 = the first RNG16 draw (= init_key input = OAEP msg[0:16]); the post-encrypt 'xor' loops are byte-substitution tables (0x2249f9/0x224af9, appended to PearTablesData); the pear-AES plaintext = substitute(02 ‖ u32be(1) ‖ innerKey16 ‖ zeros(10)); the encrypt_cbc iv rides an in/out 16-B block. NacRequestBlob builds the blob with platform OAEP + HmacSHA1; 4 synthetic-vector tests; :registration:test 213 green. Remaining live-mint gate: C56-c only.