diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-10-24 06:02:02 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-10-24 06:02:02 +0300 |
commit | 6c2c423ce929c361940e9aebe1b6ec1098e628e1 (patch) | |
tree | d7441c97c77d051144243eadf98f50587c032318 /test/file/aes256/cbc | |
parent | test: bugfix & refactoring (diff) | |
download | aes-tools-6c2c423ce929c361940e9aebe1b6ec1098e628e1.tar.gz aes-tools-6c2c423ce929c361940e9aebe1b6ec1098e628e1.zip |
test/file.py: more tests
Diffstat (limited to '')
24 files changed, 18 insertions, 0 deletions
diff --git a/test/file/aes256/cbc/blocksize-1.cipher b/test/file/aes256/cbc/blocksize-1.cipher new file mode 100644 index 0000000..7cb4030 --- /dev/null +++ b/test/file/aes256/cbc/blocksize-1.cipher @@ -0,0 +1 @@ +S鼊!hcy
\ No newline at end of file diff --git a/test/file/aes256/cbc/blocksize-1.iv b/test/file/aes256/cbc/blocksize-1.iv new file mode 100644 index 0000000..62499bf --- /dev/null +++ b/test/file/aes256/cbc/blocksize-1.iv @@ -0,0 +1 @@ +cccccccccccccccccccccccccccccccc
\ No newline at end of file diff --git a/test/file/aes256/cbc/blocksize-1.key b/test/file/aes256/cbc/blocksize-1.key new file mode 100644 index 0000000..fd3177c --- /dev/null +++ b/test/file/aes256/cbc/blocksize-1.key @@ -0,0 +1 @@ +000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
\ No newline at end of file diff --git a/test/file/aes256/cbc/blocksize-1.plain b/test/file/aes256/cbc/blocksize-1.plain new file mode 100644 index 0000000..13592ee --- /dev/null +++ b/test/file/aes256/cbc/blocksize-1.plain @@ -0,0 +1 @@ +abcdefghijklmno
\ No newline at end of file diff --git a/test/file/aes256/cbc/blocksize.cipher b/test/file/aes256/cbc/blocksize.cipher new file mode 100644 index 0000000..d5fe6e0 --- /dev/null +++ b/test/file/aes256/cbc/blocksize.cipher @@ -0,0 +1 @@ +w,
0EUE".:d8
\ No newline at end of file diff --git a/test/file/aes256/cbc/blocksize.iv b/test/file/aes256/cbc/blocksize.iv new file mode 100644 index 0000000..65aef92 --- /dev/null +++ b/test/file/aes256/cbc/blocksize.iv @@ -0,0 +1 @@ +00112233445566778899aabbccddeeff
\ No newline at end of file diff --git a/test/file/aes256/cbc/blocksize.key b/test/file/aes256/cbc/blocksize.key new file mode 100644 index 0000000..0e7479b --- /dev/null +++ b/test/file/aes256/cbc/blocksize.key @@ -0,0 +1 @@ +aaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
\ No newline at end of file diff --git a/test/file/aes256/cbc/blocksize.plain b/test/file/aes256/cbc/blocksize.plain new file mode 100644 index 0000000..454f6b3 --- /dev/null +++ b/test/file/aes256/cbc/blocksize.plain @@ -0,0 +1 @@ +0123456789abcdef
\ No newline at end of file diff --git a/test/file/aes256/ecb/0.cipher b/test/file/aes256/cbc/empty1.cipher index fd6ec3b..fd6ec3b 100644 --- a/test/file/aes256/ecb/0.cipher +++ b/test/file/aes256/cbc/empty1.cipher diff --git a/test/file/aes256/cbc/empty1.iv b/test/file/aes256/cbc/empty1.iv new file mode 100644 index 0000000..445c724 --- /dev/null +++ b/test/file/aes256/cbc/empty1.iv @@ -0,0 +1 @@ +00000000000000000000000000000000
\ No newline at end of file diff --git a/test/file/aes256/ecb/0.key b/test/file/aes256/cbc/empty1.key index 9c7bc66..9c7bc66 100644 --- a/test/file/aes256/ecb/0.key +++ b/test/file/aes256/cbc/empty1.key diff --git a/test/file/aes256/cbc/empty1.plain b/test/file/aes256/cbc/empty1.plain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/file/aes256/cbc/empty1.plain diff --git a/test/file/aes256/cbc/empty2.cipher b/test/file/aes256/cbc/empty2.cipher new file mode 100644 index 0000000..6e3f6f7 --- /dev/null +++ b/test/file/aes256/cbc/empty2.cipher @@ -0,0 +1 @@ +DFG*4.
\ No newline at end of file diff --git a/test/file/aes256/cbc/empty2.iv b/test/file/aes256/cbc/empty2.iv new file mode 100644 index 0000000..65aef92 --- /dev/null +++ b/test/file/aes256/cbc/empty2.iv @@ -0,0 +1 @@ +00112233445566778899aabbccddeeff
\ No newline at end of file diff --git a/test/file/aes256/cbc/empty2.key b/test/file/aes256/cbc/empty2.key new file mode 100644 index 0000000..fd3177c --- /dev/null +++ b/test/file/aes256/cbc/empty2.key @@ -0,0 +1 @@ +000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
\ No newline at end of file diff --git a/test/file/aes256/cbc/empty2.plain b/test/file/aes256/cbc/empty2.plain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/file/aes256/cbc/empty2.plain diff --git a/test/file/aes256/cbc/random64k.cipher b/test/file/aes256/cbc/random64k.cipher Binary files differnew file mode 100644 index 0000000..eb670be --- /dev/null +++ b/test/file/aes256/cbc/random64k.cipher diff --git a/test/file/aes256/cbc/random64k.iv b/test/file/aes256/cbc/random64k.iv new file mode 100644 index 0000000..80328dc --- /dev/null +++ b/test/file/aes256/cbc/random64k.iv @@ -0,0 +1 @@ +eeeeeeeeeeeeeeeeeeeeeeeeeecccccc
\ No newline at end of file diff --git a/test/file/aes256/cbc/random64k.key b/test/file/aes256/cbc/random64k.key new file mode 100644 index 0000000..c70339d --- /dev/null +++ b/test/file/aes256/cbc/random64k.key @@ -0,0 +1 @@ +ffffffffffffffffffffeeffffffffffffffffffffffffffffffffffffffffee
\ No newline at end of file diff --git a/test/file/aes256/cbc/random64k.plain b/test/file/aes256/cbc/random64k.plain Binary files differnew file mode 100644 index 0000000..1918417 --- /dev/null +++ b/test/file/aes256/cbc/random64k.plain diff --git a/test/file/aes256/cbc/singlechar.cipher b/test/file/aes256/cbc/singlechar.cipher new file mode 100644 index 0000000..a11347b --- /dev/null +++ b/test/file/aes256/cbc/singlechar.cipher @@ -0,0 +1 @@ +xitfq
\ No newline at end of file diff --git a/test/file/aes256/cbc/singlechar.iv b/test/file/aes256/cbc/singlechar.iv new file mode 100644 index 0000000..ca437db --- /dev/null +++ b/test/file/aes256/cbc/singlechar.iv @@ -0,0 +1 @@ +addddddddddddddddddddddddddddeee
\ No newline at end of file diff --git a/test/file/aes256/cbc/singlechar.key b/test/file/aes256/cbc/singlechar.key new file mode 100644 index 0000000..b9badf0 --- /dev/null +++ b/test/file/aes256/cbc/singlechar.key @@ -0,0 +1 @@ +1111111111111111222222222222222222222222222222222222222222222222
\ No newline at end of file diff --git a/test/file/aes256/cbc/singlechar.plain b/test/file/aes256/cbc/singlechar.plain new file mode 100644 index 0000000..2e65efe --- /dev/null +++ b/test/file/aes256/cbc/singlechar.plain @@ -0,0 +1 @@ +a
\ No newline at end of file |