aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-01-05 10:51:00 -0500
committerJack Lloyd <[email protected]>2018-01-05 10:51:51 -0500
commit13d541130c89a8003f152ba6ab7f4e6b4ae0e432 (patch)
treed6aae1f48435d105deab5205f1473f5420b805f0 /src
parent5ac3d723d1be27098bc3a18204a07a5972a0e283 (diff)
Add a test for CTR with 8 byte wide counters
See #1389
Diffstat (limited to 'src')
-rw-r--r--src/tests/data/stream/ctr.vec11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/tests/data/stream/ctr.vec b/src/tests/data/stream/ctr.vec
index 3eccc3cf6..d9626703e 100644
--- a/src/tests/data/stream/ctr.vec
+++ b/src/tests/data/stream/ctr.vec
@@ -283,22 +283,26 @@ Out = 9D
[CTR-BE(AES-128,4)]
Key = 2B7E151628AED2A6ABF7158809CF4F3C
Nonce = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
-In = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Out = 8AF2860142F786F409307C1A3F7EAAAC597D5761063D8BAD232CB0136888AABB90B8CF63F44412CEEE802A522AB6566313C5E10652749056AD2F02CE3BBF5BEC
[CTR-BE(AES-128,5)]
Key = 2B7E151628AED2A6ABF7158809CF4F3C
Nonce = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
-In = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Out = 8AF2860142F786F409307C1A3F7EAAACE0828A20E49595A19191201820125CC1B976913097C4A3245CAB186AE3B581F173DFEE01730EBB880CB63C673CBD4FC1
[CTR-BE(AES-128,6)]
Key = 2B7E151628AED2A6ABF7158809CF4F3C
Nonce = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
-In = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Out = 8AF2860142F786F409307C1A3F7EAAAC33E25A114853DFEA903DB7B182593CB439E12B65EBFE27B2C1557F1EAD7AB52F0D42E2BB9772747085DD8C2AF5F357BB
+[CTR-BE(AES-128,8)]
+# Generated by PyCrypto
+Key = 00000000000000000000000000000000
+Nonce = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
+Out = 3f5b8cc9ea855a0afa7347d23e8d664ef807c3e7985fe0f5a50e2cdb25c5109edffafbc01de59440e1b410bd993463a03fbdec0cdb5311b5a73338d5abe70962e7d5dcb02ce42e8a8983e0a724d3827cdbe272ccdcd0db452a5df56ea930333d8991a8d562db15034a6ea17eccc662a98a1b2730dfbd805b5fd9b41d7ab7873cd829a2c9044d239c3e26f5a71722f9aca18d7b7c75080839dcf90a7702254439fac0456e662b4ad8b04e657015c6cc16745108185b597b8e1ae00d89899800b2f3995840ea9f7ed2531230da0610bbe46f9c3e68707cd6a0eed749d85734c65a93ca4f99a33cfadb694600d01810e31f73e6cbb39bb5da783568c91f24bd07c1fb5fa2ac5e662ed2a60a8f57766a4de843da20cf31333546bc455bb5e0451821bba771293442a8ad1a1aed2df0b24c9b4c95b6e3b1c10b3aacb71523c4ed53b8a63f3a13c99fc8f96cbef516f0f4d16d8f08171177e740960d8aa95b32b8ba01ed494e8b8c6bbb6c715c7c3c961e61e9574fe384f894e89ef6cca3d9570d3045006dcf21dcb66cdb99250bcdc92779e860f2ea0a4deb0bf42b335bd996c6f2eac5d6163b381aca25096da8044d48fa468310f2d74d3ca3fc0cdcf622d256ca2c216ce73f320ade801be0533618f53593153f3056a46051bf97617a8550714eb6d3afe6b72cace7a531d32c6704cd87f2516df0af87f2b054901c8e1bdb31e961
+
[CTR-BE(AES-128)]
+
Key = 2B7E151628AED2A6ABF7158809CF4F3C
Nonce = F0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF
In = 6BC1BEE22E409F96E93D7E117393172AAE2D8A571E03AC9C9EB76FAC45AF8E5130C81C46A35CE411E5FBC1191A0A52EFF69F2445DF4F9B17AD2B417BE66C3710
@@ -306,7 +310,6 @@ Out = 874D6191B620E3261BEF6864990DB6CE9806F66B7970FDFF8617187BB9FFFDFF5AE4DF3EDB
Key = 2B7E151628AED2A6ABF7158809CF4F3C
Nonce = F0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF
-In = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Out = EC8CDF7398607CB0F2D21675EA9EA1E4362B7C3C6773516318A077D7FC5073AE6A2CC3787889374FBEB4C81B17BA6C44E89C399FF0F198C6D40A31DB156CABFE
Seek = 0