Skip to content

Commit

Permalink
[TEMP] add x25519-x448 KEM test
Browse files Browse the repository at this point in the history
  • Loading branch information
paulidale committed Jan 6, 2025
1 parent 917caf7 commit 1b59c95
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/recipes/30-test_evp_data/evppkey_ecx_kem.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,17 @@ Op = DHKEM
EncodedPrivateKey = 7ce94fc6e0bf533c1cb481cf422c1ad9b43ce1e63186726406622a2681227c1a899fd4aa16b3ef1864fcf5cc55c28c06de36dad295b83c8e
Input = 37b7d2a26277d6d00dfcf8c1eaa8d72711e1a9c1a4776625b00d51aaf17b773bb900d9abd1f6385997313f9b6ed9ad85e734134b1e4e7ec3
Output = aa6dd78e6be63b438518da22351e2c60e2caca0725551b0d17a1b0ce8dff6199e9e793518d1264b4074fc0cd9d867bf611456d094c8b4b3f60b3837d174cb8ff

Title = Hybrid ECX/ECX KATs

Kem = X25519-X448
Op = DHKEM
Entropy = 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901
EncodedPublicKey = 000000204a0f10117bc9dfdc30be24223a2f3880ac1dca90102ad1dfe20f9b0495be417600000038105234af034a40fcb64fb79cfaeb45cdb7def886c2dad64260bc644cb225881a25c1d0c66f3d55a90ea86ed5d14f2bf9ec93843461e76d1b
Ciphertext = 3ef57be540018cbef222052346f8b9c570e91bd2027468b89429aea21a993a1037b7d2a26277d6d00dfcf8c1eaa8d72711e1a9c1a4776625b00d51aaf17b773bb900d9abd1f6385997313f9b6ed9ad85e734134b1e4e7ec3

Kem = X25519-X448
Op = DHKEM
EncodedPrivateKey = 00000020b00c4fffc620eb1f7b13b21be44d5251fabd1e3c62faab7422786a31ec82a55e000000387ce94fc6e0bf533c1cb481cf422c1ad9b43ce1e63186726406622a2681227c1a899fd4aa16b3ef1864fcf5cc55c28c06de36dad295b83c8e
Input = 3ef57be540018cbef222052346f8b9c570e91bd2027468b89429aea21a993a1037b7d2a26277d6d00dfcf8c1eaa8d72711e1a9c1a4776625b00d51aaf17b773bb900d9abd1f6385997313f9b6ed9ad85e734134b1e4e7ec3
Output = f64a563e94642c44f616c40865ca1546133136de6b5129f584100a71e60bb013aa6dd78e6be63b438518da22351e2c60e2caca0725551b0d17a1b0ce8dff6199e9e793518d1264b4074fc0cd9d867bf611456d094c8b4b3f60b3837d174cb8ff

0 comments on commit 1b59c95

Please sign in to comment.