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/aes128/ecb/0.cipher | 1 - test/file/aes128/ecb/0.key | 1 - test/file/aes128/ecb/0.plain | 0 test/file/aes128/ecb/blocksize-1.cipher | 1 + test/file/aes128/ecb/blocksize-1.key | 1 + test/file/aes128/ecb/blocksize-1.plain | 1 + test/file/aes128/ecb/blocksize.cipher | 1 + test/file/aes128/ecb/blocksize.key | 1 + test/file/aes128/ecb/blocksize.plain | 1 + test/file/aes128/ecb/empty1.cipher | 1 + test/file/aes128/ecb/empty1.key | 1 + test/file/aes128/ecb/empty1.plain | 0 test/file/aes128/ecb/empty2.cipher | 1 + test/file/aes128/ecb/empty2.key | 1 + test/file/aes128/ecb/empty2.plain | 0 test/file/aes128/ecb/random64k.cipher | Bin 0 -> 65552 bytes test/file/aes128/ecb/random64k.key | 1 + test/file/aes128/ecb/random64k.plain | Bin 0 -> 65536 bytes test/file/aes128/ecb/singlechar.cipher | 1 + test/file/aes128/ecb/singlechar.key | 1 + test/file/aes128/ecb/singlechar.plain | 1 + 21 files changed, 14 insertions(+), 2 deletions(-) delete mode 100644 test/file/aes128/ecb/0.cipher delete mode 100644 test/file/aes128/ecb/0.key delete mode 100644 test/file/aes128/ecb/0.plain create mode 100644 test/file/aes128/ecb/blocksize-1.cipher create mode 100644 test/file/aes128/ecb/blocksize-1.key create mode 100644 test/file/aes128/ecb/blocksize-1.plain create mode 100644 test/file/aes128/ecb/blocksize.cipher create mode 100644 test/file/aes128/ecb/blocksize.key create mode 100644 test/file/aes128/ecb/blocksize.plain create mode 100644 test/file/aes128/ecb/empty1.cipher create mode 100644 test/file/aes128/ecb/empty1.key create mode 100644 test/file/aes128/ecb/empty1.plain create mode 100644 test/file/aes128/ecb/empty2.cipher create mode 100644 test/file/aes128/ecb/empty2.key create mode 100644 test/file/aes128/ecb/empty2.plain create mode 100644 test/file/aes128/ecb/random64k.cipher create mode 100644 test/file/aes128/ecb/random64k.key create mode 100644 test/file/aes128/ecb/random64k.plain create mode 100644 test/file/aes128/ecb/singlechar.cipher create mode 100644 test/file/aes128/ecb/singlechar.key create mode 100644 test/file/aes128/ecb/singlechar.plain (limited to 'test/file/aes128/ecb') diff --git a/test/file/aes128/ecb/0.cipher b/test/file/aes128/ecb/0.cipher deleted file mode 100644 index b2e558d..0000000 --- a/test/file/aes128/ecb/0.cipher +++ /dev/null @@ -1 +0,0 @@ -Ccfiv \ No newline at end of file diff --git a/test/file/aes128/ecb/0.key b/test/file/aes128/ecb/0.key deleted file mode 100644 index 445c724..0000000 --- a/test/file/aes128/ecb/0.key +++ /dev/null @@ -1 +0,0 @@ -00000000000000000000000000000000 \ No newline at end of file diff --git a/test/file/aes128/ecb/0.plain b/test/file/aes128/ecb/0.plain deleted file mode 100644 index e69de29..0000000 diff --git a/test/file/aes128/ecb/blocksize-1.cipher b/test/file/aes128/ecb/blocksize-1.cipher new file mode 100644 index 0000000..7733924 --- /dev/null +++ b/test/file/aes128/ecb/blocksize-1.cipher @@ -0,0 +1 @@ +o?1lؘ.l \ No newline at end of file diff --git a/test/file/aes128/ecb/blocksize-1.key b/test/file/aes128/ecb/blocksize-1.key new file mode 100644 index 0000000..8bf836e --- /dev/null +++ b/test/file/aes128/ecb/blocksize-1.key @@ -0,0 +1 @@ +000102030405060708090a0b0c0d0e0f \ No newline at end of file diff --git a/test/file/aes128/ecb/blocksize-1.plain b/test/file/aes128/ecb/blocksize-1.plain new file mode 100644 index 0000000..13592ee --- /dev/null +++ b/test/file/aes128/ecb/blocksize-1.plain @@ -0,0 +1 @@ +abcdefghijklmno \ No newline at end of file diff --git a/test/file/aes128/ecb/blocksize.cipher b/test/file/aes128/ecb/blocksize.cipher new file mode 100644 index 0000000..d8e4d34 --- /dev/null +++ b/test/file/aes128/ecb/blocksize.cipher @@ -0,0 +1 @@ +{ST14cEM(m= \ No newline at end of file diff --git a/test/file/aes128/ecb/blocksize.key b/test/file/aes128/ecb/blocksize.key new file mode 100644 index 0000000..d107b25 --- /dev/null +++ b/test/file/aes128/ecb/blocksize.key @@ -0,0 +1 @@ +aaaaaaaaaaaaaaaaaaaaaaaabbbbbbbb \ No newline at end of file diff --git a/test/file/aes128/ecb/blocksize.plain b/test/file/aes128/ecb/blocksize.plain new file mode 100644 index 0000000..454f6b3 --- /dev/null +++ b/test/file/aes128/ecb/blocksize.plain @@ -0,0 +1 @@ +0123456789abcdef \ No newline at end of file diff --git a/test/file/aes128/ecb/empty1.cipher b/test/file/aes128/ecb/empty1.cipher new file mode 100644 index 0000000..b2e558d --- /dev/null +++ b/test/file/aes128/ecb/empty1.cipher @@ -0,0 +1 @@ +Ccfiv \ No newline at end of file diff --git a/test/file/aes128/ecb/empty1.key b/test/file/aes128/ecb/empty1.key new file mode 100644 index 0000000..445c724 --- /dev/null +++ b/test/file/aes128/ecb/empty1.key @@ -0,0 +1 @@ +00000000000000000000000000000000 \ No newline at end of file diff --git a/test/file/aes128/ecb/empty1.plain b/test/file/aes128/ecb/empty1.plain new file mode 100644 index 0000000..e69de29 diff --git a/test/file/aes128/ecb/empty2.cipher b/test/file/aes128/ecb/empty2.cipher new file mode 100644 index 0000000..3bd4dc2 --- /dev/null +++ b/test/file/aes128/ecb/empty2.cipher @@ -0,0 +1 @@ +OdnhH \ No newline at end of file diff --git a/test/file/aes128/ecb/empty2.key b/test/file/aes128/ecb/empty2.key new file mode 100644 index 0000000..8bf836e --- /dev/null +++ b/test/file/aes128/ecb/empty2.key @@ -0,0 +1 @@ +000102030405060708090a0b0c0d0e0f \ No newline at end of file diff --git a/test/file/aes128/ecb/empty2.plain b/test/file/aes128/ecb/empty2.plain new file mode 100644 index 0000000..e69de29 diff --git a/test/file/aes128/ecb/random64k.cipher b/test/file/aes128/ecb/random64k.cipher new file mode 100644 index 0000000..5a97526 Binary files /dev/null and b/test/file/aes128/ecb/random64k.cipher differ diff --git a/test/file/aes128/ecb/random64k.key b/test/file/aes128/ecb/random64k.key new file mode 100644 index 0000000..dfb32f9 --- /dev/null +++ b/test/file/aes128/ecb/random64k.key @@ -0,0 +1 @@ +ffffffffffffffffffffeeffffffffff \ No newline at end of file diff --git a/test/file/aes128/ecb/random64k.plain b/test/file/aes128/ecb/random64k.plain new file mode 100644 index 0000000..1918417 Binary files /dev/null and b/test/file/aes128/ecb/random64k.plain differ diff --git a/test/file/aes128/ecb/singlechar.cipher b/test/file/aes128/ecb/singlechar.cipher new file mode 100644 index 0000000..1b2fcef --- /dev/null +++ b/test/file/aes128/ecb/singlechar.cipher @@ -0,0 +1 @@ +߮dk.%` \ No newline at end of file diff --git a/test/file/aes128/ecb/singlechar.key b/test/file/aes128/ecb/singlechar.key new file mode 100644 index 0000000..b1244a6 --- /dev/null +++ b/test/file/aes128/ecb/singlechar.key @@ -0,0 +1 @@ +11111111111111112222222222222222 \ No newline at end of file diff --git a/test/file/aes128/ecb/singlechar.plain b/test/file/aes128/ecb/singlechar.plain new file mode 100644 index 0000000..2e65efe --- /dev/null +++ b/test/file/aes128/ecb/singlechar.plain @@ -0,0 +1 @@ +a \ No newline at end of file -- cgit v1.2.3