aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/development/test-vectors.rst1
-rw-r--r--vectors/cryptography_vectors/ciphers/SEED/rfc-4269.txt22
2 files changed, 23 insertions, 0 deletions
diff --git a/docs/development/test-vectors.rst b/docs/development/test-vectors.rst
index 484d06bd..b5808558 100644
--- a/docs/development/test-vectors.rst
+++ b/docs/development/test-vectors.rst
@@ -77,6 +77,7 @@ Symmetric ciphers
* IDEA (ECB) from the `NESSIE IDEA vectors`_ created by `NESSIE`_.
* IDEA (CBC, CFB, OFB) generated by this project.
See: :doc:`/development/custom-vectors/idea`
+* SEED (ECB) from :rfc:`4269`.
Two factor authentication
~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/vectors/cryptography_vectors/ciphers/SEED/rfc-4269.txt b/vectors/cryptography_vectors/ciphers/SEED/rfc-4269.txt
new file mode 100644
index 00000000..d94bb787
--- /dev/null
+++ b/vectors/cryptography_vectors/ciphers/SEED/rfc-4269.txt
@@ -0,0 +1,22 @@
+# Vectors from RFC 4269. Reformatted to work with the NIST loader
+[ENCRYPT]
+
+COUNT = 0
+KEY = 00000000000000000000000000000000
+PLAINTEXT = 000102030405060708090A0B0C0D0E0F
+CIPHERTEXT = 5EBAC6E0054E166819AFF1CC6D346CDB
+
+COUNT = 1
+KEY = 000102030405060708090A0B0C0D0E0F
+PLAINTEXT = 00000000000000000000000000000000
+CIPHERTEXT = C11F22F20140505084483597E4370F43
+
+COUNT = 2
+KEY = 4706480851E61BE85D74BFB3FD956185
+PLAINTEXT = 83A2F8A288641FB9A4E9A5CC2F131C7D
+CIPHERTEXT = EE54D13EBCAE706D226BC3142CD40D4A
+
+COUNT = 3
+KEY = 28DBC3BC49FFD87DCFA509B11D422BE7
+PLAINTEXT = B41E6BE2EBA84A148E2EED84593C5EC7
+CIPHERTEXT = 9B9B7BFCD1813CB95D0B3618F40F5122