aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/stream/ctr.vec
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-05-13 10:54:51 -0400
committerJack Lloyd <[email protected]>2017-05-13 10:54:51 -0400
commit2914fcfb736b0a156ee14e4775a587ad92171ca3 (patch)
tree272492e1e76cb68d8d08ae425f6a36a5e003c2b7 /src/tests/data/stream/ctr.vec
parent2c5919cd5aa3d7723919f729cab9938df1cc4f94 (diff)
Handle IV carryover in CBC, CFB, and stream ciphers
Allow an empty nonce to mean "continue using the current cipher state". GH #864
Diffstat (limited to 'src/tests/data/stream/ctr.vec')
-rw-r--r--src/tests/data/stream/ctr.vec5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tests/data/stream/ctr.vec b/src/tests/data/stream/ctr.vec
index a7275aa79..9fddf1cfc 100644
--- a/src/tests/data/stream/ctr.vec
+++ b/src/tests/data/stream/ctr.vec
@@ -286,6 +286,11 @@ Nonce = F0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF
In = 6BC1BEE22E409F96E93D7E117393172AAE2D8A571E03AC9C9EB76FAC45AF8E5130C81C46A35CE411E5FBC1191A0A52EFF69F2445DF4F9B17AD2B417BE66C3710
Out = 874D6191B620E3261BEF6864990DB6CE9806F66B7970FDFF8617187BB9FFFDFF5AE4DF3EDBD5D35E5B4F09020DB03EAB1E031DDA2FBE03D1792170A0F3009CEE
+Key = 2B7E151628AED2A6ABF7158809CF4F3C
+Nonce = F0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF
+In = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+Out = EC8CDF7398607CB0F2D21675EA9EA1E4362B7C3C6773516318A077D7FC5073AE6A2CC3787889374FBEB4C81B17BA6C44E89C399FF0F198C6D40A31DB156CABFE
+
Seek = 0
Key = 2B7E151628AED2A6ABF7158809CF4F3C
Nonce = F0F1F2F3F4F5F6F7F8F9FAFBFCFDFF