2019-07-12 14:48:12 +02:00
|
|
|
ARC4 Decrypt empty buffer
|
|
|
|
depends_on:MBEDTLS_ARC4_C
|
2019-07-29 17:46:29 +02:00
|
|
|
dec_empty_buf:MBEDTLS_CIPHER_ARC4_128:0:0
|
2019-07-12 14:48:12 +02:00
|
|
|
|
2013-08-28 13:50:42 +02:00
|
|
|
ARC4 Encrypt and decrypt 0 bytes
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
|
|
|
enc_dec_buf:MBEDTLS_CIPHER_ARC4_128:"ARC4-128":128:0:-1
|
2013-08-28 13:50:42 +02:00
|
|
|
|
|
|
|
ARC4 Encrypt and decrypt 1 byte
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
|
|
|
enc_dec_buf:MBEDTLS_CIPHER_ARC4_128:"ARC4-128":128:1:-1
|
2013-08-28 13:50:42 +02:00
|
|
|
|
|
|
|
ARC4 Encrypt and decrypt 2 bytes
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
|
|
|
enc_dec_buf:MBEDTLS_CIPHER_ARC4_128:"ARC4-128":128:2:-1
|
2013-08-28 13:50:42 +02:00
|
|
|
|
|
|
|
ARC4 Encrypt and decrypt 7 bytes
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
|
|
|
enc_dec_buf:MBEDTLS_CIPHER_ARC4_128:"ARC4-128":128:7:-1
|
2013-08-28 13:50:42 +02:00
|
|
|
|
|
|
|
ARC4 Encrypt and decrypt 8 bytes
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
|
|
|
enc_dec_buf:MBEDTLS_CIPHER_ARC4_128:"ARC4-128":128:8:-1
|
2013-08-28 13:50:42 +02:00
|
|
|
|
|
|
|
ARC4 Encrypt and decrypt 9 bytes
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
|
|
|
enc_dec_buf:MBEDTLS_CIPHER_ARC4_128:"ARC4-128":128:9:-1
|
2013-08-28 13:50:42 +02:00
|
|
|
|
|
|
|
ARC4 Encrypt and decrypt 15 bytes
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
|
|
|
enc_dec_buf:MBEDTLS_CIPHER_ARC4_128:"ARC4-128":128:15:-1
|
2013-08-28 13:50:42 +02:00
|
|
|
|
|
|
|
ARC4 Encrypt and decrypt 16 bytes
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
|
|
|
enc_dec_buf:MBEDTLS_CIPHER_ARC4_128:"ARC4-128":128:16:-1
|
2013-08-28 13:50:42 +02:00
|
|
|
|
|
|
|
ARC4 Encrypt and decrypt 17 bytes
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
|
|
|
enc_dec_buf:MBEDTLS_CIPHER_ARC4_128:"ARC4-128":128:17:-1
|
2013-08-28 13:50:42 +02:00
|
|
|
|
|
|
|
ARC4 Encrypt and decrypt 31 bytes
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
|
|
|
enc_dec_buf:MBEDTLS_CIPHER_ARC4_128:"ARC4-128":128:31:-1
|
2013-08-28 13:50:42 +02:00
|
|
|
|
Uniquify test case descriptions
Make check-test-cases.py pass.
Prior to this commit, there were many repeated test descriptions, but
none with the same test data and dependencies and comments, as checked
with the following command:
for x in tests/suites/*.data; do perl -00 -ne 'warn "$ARGV: $. = $seen{$_}\n" if $seen{$_}; $seen{$_}=$.' $x; done
Wherever a test suite contains multiple test cases with the exact same
description, add " [#1]", " [#2]", etc. to make the descriptions
unique. We don't currently use this particular arrangement of
punctuation, so all occurrences of " [#" were added by this script.
I used the following ad hoc code:
import sys
def fix_test_suite(data_file_name):
in_paragraph = False
total = {}
index = {}
lines = None
with open(data_file_name) as data_file:
lines = list(data_file.readlines())
for line in lines:
if line == '\n':
in_paragraph = False
continue
if line.startswith('#'):
continue
if not in_paragraph:
# This is a test case description line.
total[line] = total.get(line, 0) + 1
index[line] = 0
in_paragraph = True
with open(data_file_name, 'w') as data_file:
for line in lines:
if line in total and total[line] > 1:
index[line] += 1
line = '%s [#%d]\n' % (line[:-1], index[line])
data_file.write(line)
for data_file_name in sys.argv[1:]:
fix_test_suite(data_file_name)
2019-09-19 21:20:26 +02:00
|
|
|
ARC4 Encrypt and decrypt 32 bytes [#1]
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
|
|
|
enc_dec_buf:MBEDTLS_CIPHER_ARC4_128:"ARC4-128":128:32:-1
|
2013-08-28 13:50:42 +02:00
|
|
|
|
Uniquify test case descriptions
Make check-test-cases.py pass.
Prior to this commit, there were many repeated test descriptions, but
none with the same test data and dependencies and comments, as checked
with the following command:
for x in tests/suites/*.data; do perl -00 -ne 'warn "$ARGV: $. = $seen{$_}\n" if $seen{$_}; $seen{$_}=$.' $x; done
Wherever a test suite contains multiple test cases with the exact same
description, add " [#1]", " [#2]", etc. to make the descriptions
unique. We don't currently use this particular arrangement of
punctuation, so all occurrences of " [#" were added by this script.
I used the following ad hoc code:
import sys
def fix_test_suite(data_file_name):
in_paragraph = False
total = {}
index = {}
lines = None
with open(data_file_name) as data_file:
lines = list(data_file.readlines())
for line in lines:
if line == '\n':
in_paragraph = False
continue
if line.startswith('#'):
continue
if not in_paragraph:
# This is a test case description line.
total[line] = total.get(line, 0) + 1
index[line] = 0
in_paragraph = True
with open(data_file_name, 'w') as data_file:
for line in lines:
if line in total and total[line] > 1:
index[line] += 1
line = '%s [#%d]\n' % (line[:-1], index[line])
data_file.write(line)
for data_file_name in sys.argv[1:]:
fix_test_suite(data_file_name)
2019-09-19 21:20:26 +02:00
|
|
|
ARC4 Encrypt and decrypt 32 bytes [#2]
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
|
|
|
enc_dec_buf:MBEDTLS_CIPHER_ARC4_128:"ARC4-128":128:33:-1
|
2013-08-28 13:50:42 +02:00
|
|
|
|
|
|
|
ARC4 Encrypt and decrypt 47 bytes
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
|
|
|
enc_dec_buf:MBEDTLS_CIPHER_ARC4_128:"ARC4-128":128:47:-1
|
2013-08-28 13:50:42 +02:00
|
|
|
|
|
|
|
ARC4 Encrypt and decrypt 48 bytes
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
|
|
|
enc_dec_buf:MBEDTLS_CIPHER_ARC4_128:"ARC4-128":128:48:-1
|
2013-08-28 13:50:42 +02:00
|
|
|
|
|
|
|
ARC4 Encrypt and decrypt 49 bytes
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
|
|
|
enc_dec_buf:MBEDTLS_CIPHER_ARC4_128:"ARC4-128":128:49:-1
|
2013-08-28 13:50:42 +02:00
|
|
|
|
|
|
|
ARC4 Encrypt and decrypt 0 bytes in multiple parts
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
2018-03-28 04:16:17 +02:00
|
|
|
enc_dec_buf_multipart:MBEDTLS_CIPHER_ARC4_128:128:0:0:-1:0:0:0:0
|
2013-08-28 13:50:42 +02:00
|
|
|
|
|
|
|
ARC4 Encrypt and decrypt 1 bytes in multiple parts 1
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
2018-03-28 04:16:17 +02:00
|
|
|
enc_dec_buf_multipart:MBEDTLS_CIPHER_ARC4_128:128:1:0:-1:1:0:1:0
|
2013-08-28 13:50:42 +02:00
|
|
|
|
|
|
|
ARC4 Encrypt and decrypt 1 bytes in multiple parts 2
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
2018-03-28 04:16:17 +02:00
|
|
|
enc_dec_buf_multipart:MBEDTLS_CIPHER_ARC4_128:128:0:1:-1:0:1:0:1
|
2013-08-28 13:50:42 +02:00
|
|
|
|
|
|
|
ARC4 Encrypt and decrypt 16 bytes in multiple parts 1
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
2018-03-28 04:16:17 +02:00
|
|
|
enc_dec_buf_multipart:MBEDTLS_CIPHER_ARC4_128:128:16:0:-1:16:0:16:0
|
2013-08-28 13:50:42 +02:00
|
|
|
|
|
|
|
ARC4 Encrypt and decrypt 16 bytes in multiple parts 2
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
2018-03-28 04:16:17 +02:00
|
|
|
enc_dec_buf_multipart:MBEDTLS_CIPHER_ARC4_128:128:0:16:-1:0:16:0:16
|
2013-08-28 13:50:42 +02:00
|
|
|
|
|
|
|
ARC4 Encrypt and decrypt 16 bytes in multiple parts 3
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
2018-03-28 04:16:17 +02:00
|
|
|
enc_dec_buf_multipart:MBEDTLS_CIPHER_ARC4_128:128:1:15:-1:1:15:1:15
|
2013-08-28 13:50:42 +02:00
|
|
|
|
|
|
|
ARC4 Encrypt and decrypt 16 bytes in multiple parts 4
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
2018-03-28 04:16:17 +02:00
|
|
|
enc_dec_buf_multipart:MBEDTLS_CIPHER_ARC4_128:128:15:1:-1:15:1:15:1
|
2013-08-28 13:50:42 +02:00
|
|
|
|
Uniquify test case descriptions
Make check-test-cases.py pass.
Prior to this commit, there were many repeated test descriptions, but
none with the same test data and dependencies and comments, as checked
with the following command:
for x in tests/suites/*.data; do perl -00 -ne 'warn "$ARGV: $. = $seen{$_}\n" if $seen{$_}; $seen{$_}=$.' $x; done
Wherever a test suite contains multiple test cases with the exact same
description, add " [#1]", " [#2]", etc. to make the descriptions
unique. We don't currently use this particular arrangement of
punctuation, so all occurrences of " [#" were added by this script.
I used the following ad hoc code:
import sys
def fix_test_suite(data_file_name):
in_paragraph = False
total = {}
index = {}
lines = None
with open(data_file_name) as data_file:
lines = list(data_file.readlines())
for line in lines:
if line == '\n':
in_paragraph = False
continue
if line.startswith('#'):
continue
if not in_paragraph:
# This is a test case description line.
total[line] = total.get(line, 0) + 1
index[line] = 0
in_paragraph = True
with open(data_file_name, 'w') as data_file:
for line in lines:
if line in total and total[line] > 1:
index[line] += 1
line = '%s [#%d]\n' % (line[:-1], index[line])
data_file.write(line)
for data_file_name in sys.argv[1:]:
fix_test_suite(data_file_name)
2019-09-19 21:20:26 +02:00
|
|
|
ARC4 Encrypt and decrypt 22 bytes in multiple parts 1 [#1]
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
2018-03-28 04:16:17 +02:00
|
|
|
enc_dec_buf_multipart:MBEDTLS_CIPHER_ARC4_128:128:15:7:-1:15:7:15:7
|
2013-08-28 13:50:42 +02:00
|
|
|
|
Uniquify test case descriptions
Make check-test-cases.py pass.
Prior to this commit, there were many repeated test descriptions, but
none with the same test data and dependencies and comments, as checked
with the following command:
for x in tests/suites/*.data; do perl -00 -ne 'warn "$ARGV: $. = $seen{$_}\n" if $seen{$_}; $seen{$_}=$.' $x; done
Wherever a test suite contains multiple test cases with the exact same
description, add " [#1]", " [#2]", etc. to make the descriptions
unique. We don't currently use this particular arrangement of
punctuation, so all occurrences of " [#" were added by this script.
I used the following ad hoc code:
import sys
def fix_test_suite(data_file_name):
in_paragraph = False
total = {}
index = {}
lines = None
with open(data_file_name) as data_file:
lines = list(data_file.readlines())
for line in lines:
if line == '\n':
in_paragraph = False
continue
if line.startswith('#'):
continue
if not in_paragraph:
# This is a test case description line.
total[line] = total.get(line, 0) + 1
index[line] = 0
in_paragraph = True
with open(data_file_name, 'w') as data_file:
for line in lines:
if line in total and total[line] > 1:
index[line] += 1
line = '%s [#%d]\n' % (line[:-1], index[line])
data_file.write(line)
for data_file_name in sys.argv[1:]:
fix_test_suite(data_file_name)
2019-09-19 21:20:26 +02:00
|
|
|
ARC4 Encrypt and decrypt 22 bytes in multiple parts 1 [#2]
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
2018-03-28 04:16:17 +02:00
|
|
|
enc_dec_buf_multipart:MBEDTLS_CIPHER_ARC4_128:128:16:6:-1:16:6:16:6
|
2013-08-28 13:50:42 +02:00
|
|
|
|
Uniquify test case descriptions
Make check-test-cases.py pass.
Prior to this commit, there were many repeated test descriptions, but
none with the same test data and dependencies and comments, as checked
with the following command:
for x in tests/suites/*.data; do perl -00 -ne 'warn "$ARGV: $. = $seen{$_}\n" if $seen{$_}; $seen{$_}=$.' $x; done
Wherever a test suite contains multiple test cases with the exact same
description, add " [#1]", " [#2]", etc. to make the descriptions
unique. We don't currently use this particular arrangement of
punctuation, so all occurrences of " [#" were added by this script.
I used the following ad hoc code:
import sys
def fix_test_suite(data_file_name):
in_paragraph = False
total = {}
index = {}
lines = None
with open(data_file_name) as data_file:
lines = list(data_file.readlines())
for line in lines:
if line == '\n':
in_paragraph = False
continue
if line.startswith('#'):
continue
if not in_paragraph:
# This is a test case description line.
total[line] = total.get(line, 0) + 1
index[line] = 0
in_paragraph = True
with open(data_file_name, 'w') as data_file:
for line in lines:
if line in total and total[line] > 1:
index[line] += 1
line = '%s [#%d]\n' % (line[:-1], index[line])
data_file.write(line)
for data_file_name in sys.argv[1:]:
fix_test_suite(data_file_name)
2019-09-19 21:20:26 +02:00
|
|
|
ARC4 Encrypt and decrypt 22 bytes in multiple parts 1 [#3]
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
2018-03-28 04:16:17 +02:00
|
|
|
enc_dec_buf_multipart:MBEDTLS_CIPHER_ARC4_128:128:17:6:-1:17:6:17:6
|
2013-08-28 13:50:42 +02:00
|
|
|
|
|
|
|
ARC4 Encrypt and decrypt 32 bytes in multiple parts 1
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_ARC4_C
|
2018-03-28 04:16:17 +02:00
|
|
|
enc_dec_buf_multipart:MBEDTLS_CIPHER_ARC4_128:128:16:16:-1:16:16:16:16
|