From 6c2c423ce929c361940e9aebe1b6ec1098e628e1 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 24 Oct 2015 06:02:02 +0300 Subject: test/file.py: more tests --- test/file/aes256/ctr/blocksize-1.cipher | 1 + test/file/aes256/ctr/blocksize-1.iv | 1 + test/file/aes256/ctr/blocksize-1.key | 1 + test/file/aes256/ctr/blocksize-1.plain | 1 + test/file/aes256/ctr/blocksize.cipher | 1 + test/file/aes256/ctr/blocksize.iv | 1 + test/file/aes256/ctr/blocksize.key | 1 + test/file/aes256/ctr/blocksize.plain | 1 + test/file/aes256/ctr/empty1.cipher | 0 test/file/aes256/ctr/empty1.iv | 1 + test/file/aes256/ctr/empty1.key | 1 + test/file/aes256/ctr/empty1.plain | 0 test/file/aes256/ctr/empty2.cipher | 0 test/file/aes256/ctr/empty2.iv | 1 + test/file/aes256/ctr/empty2.key | 1 + test/file/aes256/ctr/empty2.plain | 0 test/file/aes256/ctr/random64k.cipher | Bin 0 -> 65536 bytes test/file/aes256/ctr/random64k.iv | 1 + test/file/aes256/ctr/random64k.key | 1 + test/file/aes256/ctr/random64k.plain | Bin 0 -> 65536 bytes test/file/aes256/ctr/singlechar.cipher | 1 + test/file/aes256/ctr/singlechar.iv | 1 + test/file/aes256/ctr/singlechar.key | 1 + test/file/aes256/ctr/singlechar.plain | 1 + 24 files changed, 18 insertions(+) create mode 100644 test/file/aes256/ctr/blocksize-1.cipher create mode 100644 test/file/aes256/ctr/blocksize-1.iv create mode 100644 test/file/aes256/ctr/blocksize-1.key create mode 100644 test/file/aes256/ctr/blocksize-1.plain create mode 100644 test/file/aes256/ctr/blocksize.cipher create mode 100644 test/file/aes256/ctr/blocksize.iv create mode 100644 test/file/aes256/ctr/blocksize.key create mode 100644 test/file/aes256/ctr/blocksize.plain create mode 100644 test/file/aes256/ctr/empty1.cipher create mode 100644 test/file/aes256/ctr/empty1.iv create mode 100644 test/file/aes256/ctr/empty1.key create mode 100644 test/file/aes256/ctr/empty1.plain create mode 100644 test/file/aes256/ctr/empty2.cipher create mode 100644 test/file/aes256/ctr/empty2.iv create mode 100644 test/file/aes256/ctr/empty2.key create mode 100644 test/file/aes256/ctr/empty2.plain create mode 100644 test/file/aes256/ctr/random64k.cipher create mode 100644 test/file/aes256/ctr/random64k.iv create mode 100644 test/file/aes256/ctr/random64k.key create mode 100644 test/file/aes256/ctr/random64k.plain create mode 100644 test/file/aes256/ctr/singlechar.cipher create mode 100644 test/file/aes256/ctr/singlechar.iv create mode 100644 test/file/aes256/ctr/singlechar.key create mode 100644 test/file/aes256/ctr/singlechar.plain (limited to 'test/file/aes256/ctr') diff --git a/test/file/aes256/ctr/blocksize-1.cipher b/test/file/aes256/ctr/blocksize-1.cipher new file mode 100644 index 0000000..946e96f --- /dev/null +++ b/test/file/aes256/ctr/blocksize-1.cipher @@ -0,0 +1 @@ +wi%E  \ No newline at end of file diff --git a/test/file/aes256/ctr/blocksize-1.iv b/test/file/aes256/ctr/blocksize-1.iv new file mode 100644 index 0000000..62499bf --- /dev/null +++ b/test/file/aes256/ctr/blocksize-1.iv @@ -0,0 +1 @@ +cccccccccccccccccccccccccccccccc \ No newline at end of file diff --git a/test/file/aes256/ctr/blocksize-1.key b/test/file/aes256/ctr/blocksize-1.key new file mode 100644 index 0000000..fd3177c --- /dev/null +++ b/test/file/aes256/ctr/blocksize-1.key @@ -0,0 +1 @@ +000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f \ No newline at end of file diff --git a/test/file/aes256/ctr/blocksize-1.plain b/test/file/aes256/ctr/blocksize-1.plain new file mode 100644 index 0000000..13592ee --- /dev/null +++ b/test/file/aes256/ctr/blocksize-1.plain @@ -0,0 +1 @@ +abcdefghijklmno \ No newline at end of file diff --git a/test/file/aes256/ctr/blocksize.cipher b/test/file/aes256/ctr/blocksize.cipher new file mode 100644 index 0000000..c8a5846 --- /dev/null +++ b/test/file/aes256/ctr/blocksize.cipher @@ -0,0 +1 @@ +"N?%Ξ \ No newline at end of file diff --git a/test/file/aes256/ctr/blocksize.iv b/test/file/aes256/ctr/blocksize.iv new file mode 100644 index 0000000..65aef92 --- /dev/null +++ b/test/file/aes256/ctr/blocksize.iv @@ -0,0 +1 @@ +00112233445566778899aabbccddeeff \ No newline at end of file diff --git a/test/file/aes256/ctr/blocksize.key b/test/file/aes256/ctr/blocksize.key new file mode 100644 index 0000000..0e7479b --- /dev/null +++ b/test/file/aes256/ctr/blocksize.key @@ -0,0 +1 @@ +aaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb \ No newline at end of file diff --git a/test/file/aes256/ctr/blocksize.plain b/test/file/aes256/ctr/blocksize.plain new file mode 100644 index 0000000..454f6b3 --- /dev/null +++ b/test/file/aes256/ctr/blocksize.plain @@ -0,0 +1 @@ +0123456789abcdef \ No newline at end of file diff --git a/test/file/aes256/ctr/empty1.cipher b/test/file/aes256/ctr/empty1.cipher new file mode 100644 index 0000000..e69de29 diff --git a/test/file/aes256/ctr/empty1.iv b/test/file/aes256/ctr/empty1.iv new file mode 100644 index 0000000..445c724 --- /dev/null +++ b/test/file/aes256/ctr/empty1.iv @@ -0,0 +1 @@ +00000000000000000000000000000000 \ No newline at end of file diff --git a/test/file/aes256/ctr/empty1.key b/test/file/aes256/ctr/empty1.key new file mode 100644 index 0000000..9c7bc66 --- /dev/null +++ b/test/file/aes256/ctr/empty1.key @@ -0,0 +1 @@ +0000000000000000000000000000000000000000000000000000000000000000 \ No newline at end of file diff --git a/test/file/aes256/ctr/empty1.plain b/test/file/aes256/ctr/empty1.plain new file mode 100644 index 0000000..e69de29 diff --git a/test/file/aes256/ctr/empty2.cipher b/test/file/aes256/ctr/empty2.cipher new file mode 100644 index 0000000..e69de29 diff --git a/test/file/aes256/ctr/empty2.iv b/test/file/aes256/ctr/empty2.iv new file mode 100644 index 0000000..65aef92 --- /dev/null +++ b/test/file/aes256/ctr/empty2.iv @@ -0,0 +1 @@ +00112233445566778899aabbccddeeff \ No newline at end of file diff --git a/test/file/aes256/ctr/empty2.key b/test/file/aes256/ctr/empty2.key new file mode 100644 index 0000000..fd3177c --- /dev/null +++ b/test/file/aes256/ctr/empty2.key @@ -0,0 +1 @@ +000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f \ No newline at end of file diff --git a/test/file/aes256/ctr/empty2.plain b/test/file/aes256/ctr/empty2.plain new file mode 100644 index 0000000..e69de29 diff --git a/test/file/aes256/ctr/random64k.cipher b/test/file/aes256/ctr/random64k.cipher new file mode 100644 index 0000000..e71b2ad Binary files /dev/null and b/test/file/aes256/ctr/random64k.cipher differ diff --git a/test/file/aes256/ctr/random64k.iv b/test/file/aes256/ctr/random64k.iv new file mode 100644 index 0000000..80328dc --- /dev/null +++ b/test/file/aes256/ctr/random64k.iv @@ -0,0 +1 @@ +eeeeeeeeeeeeeeeeeeeeeeeeeecccccc \ No newline at end of file diff --git a/test/file/aes256/ctr/random64k.key b/test/file/aes256/ctr/random64k.key new file mode 100644 index 0000000..c70339d --- /dev/null +++ b/test/file/aes256/ctr/random64k.key @@ -0,0 +1 @@ +ffffffffffffffffffffeeffffffffffffffffffffffffffffffffffffffffee \ No newline at end of file diff --git a/test/file/aes256/ctr/random64k.plain b/test/file/aes256/ctr/random64k.plain new file mode 100644 index 0000000..1918417 Binary files /dev/null and b/test/file/aes256/ctr/random64k.plain differ diff --git a/test/file/aes256/ctr/singlechar.cipher b/test/file/aes256/ctr/singlechar.cipher new file mode 100644 index 0000000..883ad6e --- /dev/null +++ b/test/file/aes256/ctr/singlechar.cipher @@ -0,0 +1 @@ +o \ No newline at end of file diff --git a/test/file/aes256/ctr/singlechar.iv b/test/file/aes256/ctr/singlechar.iv new file mode 100644 index 0000000..ca437db --- /dev/null +++ b/test/file/aes256/ctr/singlechar.iv @@ -0,0 +1 @@ +addddddddddddddddddddddddddddeee \ No newline at end of file diff --git a/test/file/aes256/ctr/singlechar.key b/test/file/aes256/ctr/singlechar.key new file mode 100644 index 0000000..b9badf0 --- /dev/null +++ b/test/file/aes256/ctr/singlechar.key @@ -0,0 +1 @@ +1111111111111111222222222222222222222222222222222222222222222222 \ No newline at end of file diff --git a/test/file/aes256/ctr/singlechar.plain b/test/file/aes256/ctr/singlechar.plain new file mode 100644 index 0000000..2e65efe --- /dev/null +++ b/test/file/aes256/ctr/singlechar.plain @@ -0,0 +1 @@ +a \ No newline at end of file -- cgit v1.2.3