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/aes128/ecb | |
parent | test: bugfix & refactoring (diff) | |
download | aes-tools-6c2c423ce929c361940e9aebe1b6ec1098e628e1.tar.gz aes-tools-6c2c423ce929c361940e9aebe1b6ec1098e628e1.zip |
test/file.py: more tests
Diffstat (limited to '')
21 files changed, 14 insertions, 0 deletions
diff --git a/test/file/aes128/ecb/0.cipher b/test/file/aes128/cbc/empty1.cipher index b2e558d..b2e558d 100644 --- a/test/file/aes128/ecb/0.cipher +++ b/test/file/aes128/cbc/empty1.cipher diff --git a/test/file/aes128/ecb/0.key b/test/file/aes128/cbc/empty1.iv index 445c724..445c724 100644 --- a/test/file/aes128/ecb/0.key +++ b/test/file/aes128/cbc/empty1.iv diff --git a/test/file/aes128/ecb/0.plain b/test/file/aes128/cbc/empty1.plain index e69de29..e69de29 100644 --- a/test/file/aes128/ecb/0.plain +++ b/test/file/aes128/cbc/empty1.plain 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 --- /dev/null +++ b/test/file/aes128/ecb/empty1.plain 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 --- /dev/null +++ b/test/file/aes128/ecb/empty2.plain diff --git a/test/file/aes128/ecb/random64k.cipher b/test/file/aes128/ecb/random64k.cipher Binary files differnew file mode 100644 index 0000000..5a97526 --- /dev/null +++ b/test/file/aes128/ecb/random64k.cipher 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 Binary files differnew file mode 100644 index 0000000..1918417 --- /dev/null +++ b/test/file/aes128/ecb/random64k.plain 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 |