[domistream] Tests: fixtures from tools/vectors

Generated by tools/vectors/gen_vectors.py with Python hashlib, OpenSSL 3.5.7
(Git for Windows) and .NET 10 AesGcm. Keys and certificates are TEST-ONLY,
made fresh on this machine for these tests: RSA-2048 host, client and rogue
identities, and an EC certificate for the non-RSA refusal.
This commit is contained in:
2026-11-25 13:08:24 +01:00
parent da1f3afd52
commit b57e97a38b
11 changed files with 392 additions and 0 deletions
+74
View File
@@ -0,0 +1,74 @@
# Generated by tools/vectors/gen_vectors.py. TEST-ONLY values and keys, made for DomiStream's tests.
# Never a real host's or client's key. Do not edit by hand: change the script and run it again.
# Control frames (PROTOCOL.md 3.2): AES-128-GCM by .NET AesGcm
key = f5a83e5684dabb0e7c674717cd69805e
# c_ping_0
c_ping_0_sequence = 00000000
c_ping_0_direction = C
c_ping_0_nonce = 000000000000000000004343
c_ping_0_plain = 00020000
c_ping_0_frame = 0100180000000000bc758312dd6af89c112a8e1671c57118a0a42167
# c_input_1
c_input_1_sequence = 00000001
c_input_1_direction = C
c_input_1_nonce = 010000000000000000004343
c_input_1_plain = 06020c000000000807000000ffff0000
c_input_1_frame = 0100240001000000945d76e7f2792e2e1df2d0b8c98a09366e3234ba5ba2b1fd3ea3b339ec5f6b17
# c_ping_ffff
c_ping_ffff_sequence = 0000ffff
c_ping_ffff_direction = C
c_ping_ffff_nonce = ffff00000000000000004343
c_ping_ffff_plain = 00020000
c_ping_ffff_frame = 01001800ffff000006c5df5c8000b8dff6b6c6f5f60c7fb6417d8c2f
# c_ping_10000
c_ping_10000_sequence = 00010000
c_ping_10000_direction = C
c_ping_10000_nonce = 000001000000000000004343
c_ping_10000_plain = 00020000
c_ping_10000_frame = 01001800000001004f12b2df608fadbc587f1228f4e01e78714eaa59
# c_ping_fffffffe
c_ping_fffffffe_sequence = fffffffe
c_ping_fffffffe_direction = C
c_ping_fffffffe_nonce = feffffff0000000000004343
c_ping_fffffffe_plain = 00020000
c_ping_fffffffe_frame = 01001800feffffffba40d7311e6306d78196235981640015e0d2d244
# c_ping_ffffffff
c_ping_ffffffff_sequence = ffffffff
c_ping_ffffffff_direction = C
c_ping_ffffffff_nonce = ffffffff0000000000004343
c_ping_ffffffff_plain = 00020000
c_ping_ffffffff_frame = 01001800ffffffffa0beeb4b19262485ccd17558f12ecc4c0ebac660
# h_rumble_0
h_rumble_0_sequence = 00000000
h_rumble_0_direction = H
h_rumble_0_nonce = 000000000000000000004843
h_rumble_0_plain = 0b010a00000000000100ff7f0080
h_rumble_0_frame = 0100220000000000d217a640b6e026700af1848ab267de85c4a257fd47db295c80917d5fe1ba
# h_rumble_7
h_rumble_7_sequence = 00000007
h_rumble_7_direction = H
h_rumble_7_nonce = 070000000000000000004843
h_rumble_7_plain = 0b010a00000000000100ff7f0080
h_rumble_7_frame = 01002200070000003e865385552ebe576988fa1c307ad18596efab2054254f247169c571aeed
# h_termination_ffffffff
h_termination_ffffffff_sequence = ffffffff
h_termination_ffffffff_direction = H
h_termination_ffffffff_nonce = ffffffff0000000000004843
h_termination_ffffffff_plain = 0901040080030023
h_termination_ffffffff_frame = 01001c00ffffffff7f93a9df27f4323599666c9ff57ce9fdfdb84ee2a62ce07f
# h_rgb_2a
h_rgb_2a_sequence = 0000002a
h_rgb_2a_direction = H
h_rgb_2a_nonce = 2a0000000000000000004843
h_rgb_2a_plain = 0255050003001020ff
h_rgb_2a_frame = 01001d002a0000004031b5e4d1c986da2e435cbdb35b0534d5283b1ed36d35d93c