2014-03-29 16:10:55 +01:00
|
|
|
Cipher list
|
2015-04-08 12:49:31 +02:00
|
|
|
mbedtls_cipher_list:
|
2014-03-29 16:10:55 +01:00
|
|
|
|
2014-06-13 16:08:07 +02:00
|
|
|
Cipher null/uninitialised arguments
|
|
|
|
cipher_null_args:
|
|
|
|
|
2013-07-24 18:05:00 +02:00
|
|
|
Set padding with AES-CBC
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
set_padding:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:0
|
2013-07-24 18:05:00 +02:00
|
|
|
|
|
|
|
Set padding with AES-CFB
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CFB
|
|
|
|
set_padding:MBEDTLS_CIPHER_AES_128_CFB128:MBEDTLS_PADDING_PKCS7:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA
|
2013-07-24 18:05:00 +02:00
|
|
|
|
|
|
|
Set padding with AES-CTR
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CTR
|
|
|
|
set_padding:MBEDTLS_CIPHER_AES_128_CTR:MBEDTLS_PADDING_PKCS7:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA
|
2013-07-24 18:05:00 +02:00
|
|
|
|
|
|
|
Set padding with CAMELLIA-CBC
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CAMELLIA_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
set_padding:MBEDTLS_CIPHER_CAMELLIA_128_CBC:MBEDTLS_PADDING_PKCS7:0
|
2013-07-24 18:05:00 +02:00
|
|
|
|
|
|
|
Set padding with CAMELLIA-CFB
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CAMELLIA_C:MBEDTLS_CIPHER_MODE_CFB
|
|
|
|
set_padding:MBEDTLS_CIPHER_CAMELLIA_128_CFB128:MBEDTLS_PADDING_PKCS7:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA
|
2013-07-24 18:05:00 +02:00
|
|
|
|
|
|
|
Set padding with CAMELLIA-CTR
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CAMELLIA_C:MBEDTLS_CIPHER_MODE_CTR
|
|
|
|
set_padding:MBEDTLS_CIPHER_CAMELLIA_128_CTR:MBEDTLS_PADDING_PKCS7:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA
|
2013-07-24 18:05:00 +02:00
|
|
|
|
|
|
|
Set padding with DES-CBC
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_DES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
set_padding:MBEDTLS_CIPHER_DES_CBC:MBEDTLS_PADDING_PKCS7:0
|
2013-07-24 18:05:00 +02:00
|
|
|
|
|
|
|
Set padding with BLOWFISH-CBC
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_BLOWFISH_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
set_padding:MBEDTLS_CIPHER_BLOWFISH_CBC:MBEDTLS_PADDING_PKCS7:0
|
2013-07-24 18:05:00 +02:00
|
|
|
|
|
|
|
Set padding with BLOWFISH-CFB
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_BLOWFISH_C:MBEDTLS_CIPHER_MODE_CFB
|
|
|
|
set_padding:MBEDTLS_CIPHER_BLOWFISH_CFB64:MBEDTLS_PADDING_PKCS7:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA
|
2013-07-24 18:05:00 +02:00
|
|
|
|
|
|
|
Set padding with BLOWFISH-CTR
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_BLOWFISH_C:MBEDTLS_CIPHER_MODE_CTR
|
|
|
|
set_padding:MBEDTLS_CIPHER_BLOWFISH_CTR:MBEDTLS_PADDING_PKCS7:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA
|
2013-07-24 18:05:00 +02:00
|
|
|
|
|
|
|
Set padding with NULL
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_NULL_CIPHER
|
|
|
|
set_padding:MBEDTLS_CIPHER_NULL:MBEDTLS_PADDING_PKCS7:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA
|
2013-07-24 18:05:00 +02:00
|
|
|
|
|
|
|
Set non-existent padding with AES-CBC
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC
|
|
|
|
set_padding:MBEDTLS_CIPHER_AES_128_CBC:-1:MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE
|
2013-07-24 18:05:00 +02:00
|
|
|
|
|
|
|
Set non-existent padding with CAMELLIA-CBC
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CAMELLIA_C:MBEDTLS_CIPHER_MODE_CBC
|
|
|
|
set_padding:MBEDTLS_CIPHER_CAMELLIA_128_CBC:-1:MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE
|
2013-07-24 18:05:00 +02:00
|
|
|
|
|
|
|
Set non-existent padding with DES-CBC
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_DES_C:MBEDTLS_CIPHER_MODE_CBC
|
|
|
|
set_padding:MBEDTLS_CIPHER_DES_CBC:-1:MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE
|
2013-07-24 18:05:00 +02:00
|
|
|
|
|
|
|
Set non-existent padding with BLOWFISH-CBC
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_BLOWFISH_C:MBEDTLS_CIPHER_MODE_CBC
|
|
|
|
set_padding:MBEDTLS_CIPHER_BLOWFISH_CBC:-1:MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE
|
2013-07-26 10:55:02 +02:00
|
|
|
|
|
|
|
Check PKCS padding #1 (correct)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"DABBAD0004040404":0:4
|
2013-07-26 10:55:02 +02:00
|
|
|
|
|
|
|
Check PKCS padding #2 (correct)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"DABBAD0001":0:4
|
2013-07-26 10:55:02 +02:00
|
|
|
|
|
|
|
Check PKCS padding #3 (correct)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"DABBAD000101":0:5
|
2013-07-26 10:55:02 +02:00
|
|
|
|
|
|
|
Check PKCS padding #4 (correct)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"030303":0:0
|
2013-07-26 10:55:02 +02:00
|
|
|
|
|
|
|
Check PKCS padding #5 (null padding)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"DABBAD0000":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
2013-07-26 10:55:02 +02:00
|
|
|
|
|
|
|
Check PKCS padding #6 (too few padding bytes)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"DABBAD0002":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
2013-07-26 10:55:02 +02:00
|
|
|
|
2013-10-27 17:21:14 +01:00
|
|
|
Check PKCS padding #7 (non-uniform padding bytes #1)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"DABBAD00030203":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
2013-07-26 10:55:02 +02:00
|
|
|
|
2013-10-27 17:21:14 +01:00
|
|
|
Check PKCS padding #7 (non-uniform padding bytes #2)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"DABBAD00030103":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
2013-10-27 17:21:14 +01:00
|
|
|
|
|
|
|
Check PKCS padding #7 (non-uniform padding bytes #3)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"DABBAD00030703":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
2013-10-27 17:21:14 +01:00
|
|
|
|
|
|
|
Check PKCS padding #7 (non-uniform padding bytes #4)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"DABBAD00030b03":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
2013-10-27 17:21:14 +01:00
|
|
|
|
|
|
|
Check PKCS padding #7 (non-uniform padding bytes #5)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"DABBAD00031303":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
2013-10-27 17:21:14 +01:00
|
|
|
|
|
|
|
Check PKCS padding #7 (non-uniform padding bytes #6)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"DABBAD00032303":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
2013-10-27 17:21:14 +01:00
|
|
|
|
|
|
|
Check PKCS padding #7 (non-uniform padding bytes #7)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"DABBAD00034203":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
2013-10-27 17:21:14 +01:00
|
|
|
|
|
|
|
Check PKCS padding #7 (non-uniform padding bytes #8)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"DABBAD00038303":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
2013-10-27 17:21:14 +01:00
|
|
|
|
|
|
|
Check PKCS padding #7 (non-uniform padding bytes #9)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"DABBAD00020303":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
2013-10-27 17:21:14 +01:00
|
|
|
|
|
|
|
Check PKCS padding #7 (non-uniform padding bytes #10)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"DABBAD00010303":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
2013-10-27 17:21:14 +01:00
|
|
|
|
|
|
|
Check PKCS padding #7 (non-uniform padding bytes #11)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"DABBAD00070303":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
2013-10-27 17:21:14 +01:00
|
|
|
|
|
|
|
Check PKCS padding #7 (non-uniform padding bytes #12)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"DABBAD000b0303":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
2013-10-27 17:21:14 +01:00
|
|
|
|
|
|
|
Check PKCS padding #7 (non-uniform padding bytes #13)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"DABBAD00130303":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
2013-10-27 17:21:14 +01:00
|
|
|
|
|
|
|
Check PKCS padding #7 (non-uniform padding bytes #14)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"DABBAD00230303":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
2013-10-27 17:21:14 +01:00
|
|
|
|
|
|
|
Check PKCS padding #7 (non-uniform padding bytes #15)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"DABBAD00420303":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
2013-10-27 17:21:14 +01:00
|
|
|
|
|
|
|
Check PKCS padding #7 (non-uniform padding bytes #16)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"DABBAD00830303":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
2013-10-27 17:21:14 +01:00
|
|
|
|
2013-07-26 10:55:02 +02:00
|
|
|
Check PKCS padding #8 (overlong)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
|
|
check_padding:MBEDTLS_PADDING_PKCS7:"040404":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
2013-07-26 12:46:02 +02:00
|
|
|
|
|
|
|
Check one and zeros padding #1 (correct)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS
|
|
|
|
check_padding:MBEDTLS_PADDING_ONE_AND_ZEROS:"DABBAD0080":0:4
|
2013-07-26 12:46:02 +02:00
|
|
|
|
|
|
|
Check one and zeros padding #2 (correct)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS
|
|
|
|
check_padding:MBEDTLS_PADDING_ONE_AND_ZEROS:"DABBAD008000":0:4
|
2013-07-26 12:46:02 +02:00
|
|
|
|
|
|
|
Check one and zeros padding #3 (correct)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS
|
|
|
|
check_padding:MBEDTLS_PADDING_ONE_AND_ZEROS:"DABBAD00800000":0:4
|
2013-07-26 12:46:02 +02:00
|
|
|
|
|
|
|
Check one and zeros padding #4 (correct)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS
|
|
|
|
check_padding:MBEDTLS_PADDING_ONE_AND_ZEROS:"DABBAD00808000":0:5
|
2013-07-26 12:46:02 +02:00
|
|
|
|
|
|
|
Check one and zeros padding #5 (correct)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS
|
|
|
|
check_padding:MBEDTLS_PADDING_ONE_AND_ZEROS:"800000":0:0
|
2013-07-26 12:46:02 +02:00
|
|
|
|
|
|
|
Check one and zeros padding #6 (missing one)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS
|
|
|
|
check_padding:MBEDTLS_PADDING_ONE_AND_ZEROS:"DABBAD0000":MBEDTLS_ERR_CIPHER_INVALID_PADDING:4
|
2013-07-26 12:46:02 +02:00
|
|
|
|
|
|
|
Check one and zeros padding #7 (overlong)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS
|
|
|
|
check_padding:MBEDTLS_PADDING_ONE_AND_ZEROS:"0000000000":MBEDTLS_ERR_CIPHER_INVALID_PADDING:4
|
2013-07-26 14:55:18 +02:00
|
|
|
|
2017-12-23 23:40:08 +01:00
|
|
|
Check one and zeros padding #8 (last byte 0x80 | x)
|
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS
|
|
|
|
check_padding:MBEDTLS_PADDING_ONE_AND_ZEROS:"0000000082":MBEDTLS_ERR_CIPHER_INVALID_PADDING:4
|
|
|
|
|
2013-07-26 14:55:18 +02:00
|
|
|
Check zeros and len padding #1 (correct)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN
|
|
|
|
check_padding:MBEDTLS_PADDING_ZEROS_AND_LEN:"DABBAD0001":0:4
|
2013-07-26 14:55:18 +02:00
|
|
|
|
|
|
|
Check zeros and len padding #2 (correct)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN
|
|
|
|
check_padding:MBEDTLS_PADDING_ZEROS_AND_LEN:"DABBAD000002":0:4
|
2013-07-26 14:55:18 +02:00
|
|
|
|
|
|
|
Check zeros and len padding #3 (correct)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN
|
|
|
|
check_padding:MBEDTLS_PADDING_ZEROS_AND_LEN:"DABBAD000003":0:3
|
2013-07-26 14:55:18 +02:00
|
|
|
|
|
|
|
Check zeros and len padding #4 (correct)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN
|
|
|
|
check_padding:MBEDTLS_PADDING_ZEROS_AND_LEN:"000003":0:0
|
2013-07-26 14:55:18 +02:00
|
|
|
|
|
|
|
Check zeros and len padding #5 (overlong)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN
|
|
|
|
check_padding:MBEDTLS_PADDING_ZEROS_AND_LEN:"000004":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
2013-07-26 14:55:18 +02:00
|
|
|
|
|
|
|
Check zeros and len padding #6 (not enough zeros)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN
|
|
|
|
check_padding:MBEDTLS_PADDING_ZEROS_AND_LEN:"DABBAD000004":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
2013-07-26 16:05:14 +02:00
|
|
|
|
|
|
|
Check zeros padding #1 (correct)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_ZEROS
|
|
|
|
check_padding:MBEDTLS_PADDING_ZEROS:"DABBAD00":0:3
|
2013-07-26 16:05:14 +02:00
|
|
|
|
|
|
|
Check zeros padding #2 (correct)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_ZEROS
|
|
|
|
check_padding:MBEDTLS_PADDING_ZEROS:"DABBAD0000":0:3
|
2013-07-26 16:05:14 +02:00
|
|
|
|
|
|
|
Check zeros padding #3 (correct)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_ZEROS
|
|
|
|
check_padding:MBEDTLS_PADDING_ZEROS:"DABBAD":0:3
|
2013-07-26 16:05:14 +02:00
|
|
|
|
|
|
|
Check zeros padding #4 (correct)
|
2015-04-08 12:49:31 +02:00
|
|
|
depends_on:MBEDTLS_CIPHER_PADDING_ZEROS
|
|
|
|
check_padding:MBEDTLS_PADDING_ZEROS:"000000":0:0
|
2013-07-26 16:05:14 +02:00
|
|
|
|
|
|
|
Check no padding #1 (correct by definition)
|
2015-04-08 12:49:31 +02:00
|
|
|
check_padding:MBEDTLS_PADDING_NONE:"DABBAD00":0:4
|
2013-07-26 16:05:14 +02:00
|
|
|
|
|
|
|
Check no padding #2 (correct by definition)
|
2015-04-08 12:49:31 +02:00
|
|
|
check_padding:MBEDTLS_PADDING_NONE:"DABBAD0001":0:5
|
2013-07-26 16:05:14 +02:00
|
|
|
|
|
|
|
Check no padding #3 (correct by definition)
|
2015-04-08 12:49:31 +02:00
|
|
|
check_padding:MBEDTLS_PADDING_NONE:"":0:0
|