diff options
author | Kai Michaelis <kai@sequoia-pgp.org> | 2019-02-15 19:41:15 +0100 |
---|---|---|
committer | Kai Michaelis <kai@sequoia-pgp.org> | 2019-02-15 19:45:29 +0100 |
commit | 65fb4f13b3595442a8026053b406c2e3eca6e697 (patch) | |
tree | 62abfa0111d5f892ae6a797ff7745ff36fded66f /openpgp/tests | |
parent | 3cacfbc481d10de515bc4236737a916baa42680f (diff) |
openpgp: add NIST ECDH test cases
Diffstat (limited to 'openpgp/tests')
-rw-r--r-- | openpgp/tests/data/keys/testy-nistp256-private.pgp | bin | 0 -> 539 bytes | |||
-rw-r--r-- | openpgp/tests/data/keys/testy-nistp384-private.pgp | bin | 0 -> 693 bytes | |||
-rw-r--r-- | openpgp/tests/data/keys/testy-nistp521-private.pgp | bin | 0 -> 871 bytes | |||
-rw-r--r-- | openpgp/tests/data/messages/encrypted-to-testy-nistp256.pgp | 9 | ||||
-rw-r--r-- | openpgp/tests/data/messages/encrypted-to-testy-nistp384.pgp | 9 | ||||
-rw-r--r-- | openpgp/tests/data/messages/encrypted-to-testy-nistp521.pgp | 10 |
6 files changed, 28 insertions, 0 deletions
diff --git a/openpgp/tests/data/keys/testy-nistp256-private.pgp b/openpgp/tests/data/keys/testy-nistp256-private.pgp Binary files differnew file mode 100644 index 00000000..d6ce19a9 --- /dev/null +++ b/openpgp/tests/data/keys/testy-nistp256-private.pgp diff --git a/openpgp/tests/data/keys/testy-nistp384-private.pgp b/openpgp/tests/data/keys/testy-nistp384-private.pgp Binary files differnew file mode 100644 index 00000000..e323ab42 --- /dev/null +++ b/openpgp/tests/data/keys/testy-nistp384-private.pgp diff --git a/openpgp/tests/data/keys/testy-nistp521-private.pgp b/openpgp/tests/data/keys/testy-nistp521-private.pgp Binary files differnew file mode 100644 index 00000000..3b527fda --- /dev/null +++ b/openpgp/tests/data/keys/testy-nistp521-private.pgp diff --git a/openpgp/tests/data/messages/encrypted-to-testy-nistp256.pgp b/openpgp/tests/data/messages/encrypted-to-testy-nistp256.pgp new file mode 100644 index 00000000..bd7dbd1a --- /dev/null +++ b/openpgp/tests/data/messages/encrypted-to-testy-nistp256.pgp @@ -0,0 +1,9 @@ +-----BEGIN PGP MESSAGE----- + +hH4Dc7lkb6KvbkcSAgMEkyR5vjY8BpCrCGs3WhLh7/PU/yqLk6wPP7LzTjy8RHzQ +2Brk5RGHI6mwW9tWgZIqA2SW0/WjaNOXRe+z5DphJjDo/vlYwJwd1Kb6fM4kHtgb +Sz01fhTSBPWio1j3zXT39OdG4HcU8GkzsA1SUoIypxrSSAEhQNRijO3xkwCaZcr+ +XlrEQvl1c2mY1S3qpVJ+XnNOGEbIwORo7GAE2U6tvYdIQjeBaG7Sj7QOqHzvwB6c +ATZiv5a9251nGg== +=kGY5 +-----END PGP MESSAGE----- diff --git a/openpgp/tests/data/messages/encrypted-to-testy-nistp384.pgp b/openpgp/tests/data/messages/encrypted-to-testy-nistp384.pgp new file mode 100644 index 00000000..a5e1bb1a --- /dev/null +++ b/openpgp/tests/data/messages/encrypted-to-testy-nistp384.pgp @@ -0,0 +1,9 @@ +-----BEGIN PGP MESSAGE----- + +hJ4DtlUdMjdooeESAwME1UPuZZAuG0Yb76EBrDsTXqOMd69NCVSh/bC5iCHzZoih +y2e6sKFSO0HgKuTuU6NjxLZFgcQSh9jf307Xt9PyZm8/swWD/rZeESwjige4GcTo +SjWIxlizEqZsH1VSqMmVMG3TO9rjfkUKwjlIL3Em4LqvUKA87xZwEuxKGqmdbx6f +NB9e47ewVExdflRwKOkpUtJIAVOS6hmlZ/rPWuefm0MDfZLJg9GxP/tuYXYmhXKg +U623N3BvDarghKf+mLn4GNPCrMdUJ1hKSVh6IU18cLlIzUgWHYU/dvtx +=STxP +-----END PGP MESSAGE----- diff --git a/openpgp/tests/data/messages/encrypted-to-testy-nistp521.pgp b/openpgp/tests/data/messages/encrypted-to-testy-nistp521.pgp new file mode 100644 index 00000000..81a9a4cc --- /dev/null +++ b/openpgp/tests/data/messages/encrypted-to-testy-nistp521.pgp @@ -0,0 +1,10 @@ +-----BEGIN PGP MESSAGE----- + +hMIDYWznrtKlRzgSBCMEABQ/GJDUzBndaNZHz8DeBYqlKf98rG5vNvCsvOG0d8dX +PnkzTGUKvEVqNmSm0rgYSeECdKN5BB+xnH80e6XJU54/Adu9BXp4nrfOGkGCIeFw +22Y/uTXb8EdbGWTyDMu3Dkl1cAsX0Vy75mdE7M2s/gk9LfoMgFgxlyYeIa6je2Po +vgDQMLiwbkXWY+l+hpksQ4drhRdOdRCwHUq66QtPgZD5+7TrH/G1qm66dxfPN4h2 +b5twqtJIAdJGgZNvwicsKmwvdDfJM7tBbcnypKO8bUr35J1Tb/UDH5IovEeL5XSA +kPghG20uhqi7RCW+jqGMLFMjfdTUI1zg/ECgr1Va +=KotO +-----END PGP MESSAGE----- |