-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #174 from martinthomson/wrap-vectors
Make the test vectors present more neatly
- Loading branch information
Showing
5 changed files
with
404 additions
and
321 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,42 @@ | ||
~~~ | ||
cipher_suite: 0x0001 | ||
key: 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f | ||
enc_key: 000102030405060708090a0b0c0d0e0f | ||
auth_key: 101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f | ||
nonce: 101112131415161718191a1b | ||
aad: 4945544620534672616d65205747 | ||
pt: 64726166742d696574662d736672616d652d656e63 | ||
ct: 6339af04ada1d064688a442b8dc69d5b6bfa40f4bef0583e8081069cc60705 | ||
key: 0001020304050607 08090a0b0c0d0e0f 1011121314151617 | ||
18191a1b1c1d1e1f 2021222324252627 28292a2b2c2d2e2f | ||
enc_key: 0001020304050607 08090a0b0c0d0e0f | ||
auth_key: 1011121314151617 18191a1b1c1d1e1f 2021222324252627 | ||
28292a2b2c2d2e2f | ||
nonce: 1011121314151617 18191a1b | ||
aad: 4945544620534672 616d65205747 | ||
pt: 64726166742d6965 74662d736672616d 652d656e63 | ||
ct: 6339af04ada1d064 688a442b8dc69d5b 6bfa40f4bef0583e | ||
8081069cc60705 | ||
~~~ | ||
|
||
~~~ | ||
cipher_suite: 0x0002 | ||
key: 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f | ||
enc_key: 000102030405060708090a0b0c0d0e0f | ||
auth_key: 101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f | ||
nonce: 101112131415161718191a1b | ||
aad: 4945544620534672616d65205747 | ||
pt: 64726166742d696574662d736672616d652d656e63 | ||
ct: 6339af04ada1d064688a442b8dc69d5b6bfa40f4be6e93b7da076927bb | ||
key: 0001020304050607 08090a0b0c0d0e0f 1011121314151617 | ||
18191a1b1c1d1e1f 2021222324252627 28292a2b2c2d2e2f | ||
enc_key: 0001020304050607 08090a0b0c0d0e0f | ||
auth_key: 1011121314151617 18191a1b1c1d1e1f 2021222324252627 | ||
28292a2b2c2d2e2f | ||
nonce: 1011121314151617 18191a1b | ||
aad: 4945544620534672 616d65205747 | ||
pt: 64726166742d6965 74662d736672616d 652d656e63 | ||
ct: 6339af04ada1d064 688a442b8dc69d5b 6bfa40f4be6e93b7 | ||
da076927bb | ||
~~~ | ||
|
||
~~~ | ||
cipher_suite: 0x0003 | ||
key: 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f | ||
enc_key: 000102030405060708090a0b0c0d0e0f | ||
auth_key: 101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f | ||
nonce: 101112131415161718191a1b | ||
aad: 4945544620534672616d65205747 | ||
pt: 64726166742d696574662d736672616d652d656e63 | ||
ct: 6339af04ada1d064688a442b8dc69d5b6bfa40f4be09480509 | ||
key: 0001020304050607 08090a0b0c0d0e0f 1011121314151617 | ||
18191a1b1c1d1e1f 2021222324252627 28292a2b2c2d2e2f | ||
enc_key: 0001020304050607 08090a0b0c0d0e0f | ||
auth_key: 1011121314151617 18191a1b1c1d1e1f 2021222324252627 | ||
28292a2b2c2d2e2f | ||
nonce: 1011121314151617 18191a1b | ||
aad: 4945544620534672 616d65205747 | ||
pt: 64726166742d6965 74662d736672616d 652d656e63 | ||
ct: 6339af04ada1d064 688a442b8dc69d5b 6bfa40f4be094805 | ||
09 | ||
~~~ | ||
|
Oops, something went wrong.