From dd0f57f1867a11531d2fc572fe203d742470d820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 16 Sep 2013 11:47:43 +0200 Subject: [PATCH] Check key size in cipher_setkey() --- library/cipher.c | 3 + library/pkcs12.c | 2 +- library/pkcs5.c | 2 +- tests/suites/test_suite_cipher.aes.data | 2 +- tests/suites/test_suite_cipher.des.data | 276 ++++++++++++------------ 5 files changed, 144 insertions(+), 141 deletions(-) diff --git a/library/cipher.c b/library/cipher.c index ee2a1cdf2..c455ff9b7 100644 --- a/library/cipher.c +++ b/library/cipher.c @@ -638,6 +638,9 @@ int cipher_setkey( cipher_context_t *ctx, const unsigned char *key, if( NULL == ctx || NULL == ctx->cipher_info ) return POLARSSL_ERR_CIPHER_BAD_INPUT_DATA; + if( (int) ctx->cipher_info->key_length != key_length ) + return POLARSSL_ERR_CIPHER_BAD_INPUT_DATA; + ctx->key_length = key_length; ctx->operation = operation; diff --git a/library/pkcs12.c b/library/pkcs12.c index 335af7ebf..9ef557cdc 100644 --- a/library/pkcs12.c +++ b/library/pkcs12.c @@ -181,7 +181,7 @@ int pkcs12_pbe( asn1_buf *pbe_params, int mode, if( ( ret = cipher_init_ctx( &cipher_ctx, cipher_info ) ) != 0 ) goto exit; - if( ( ret = cipher_setkey( &cipher_ctx, key, keylen, mode ) ) != 0 ) + if( ( ret = cipher_setkey( &cipher_ctx, key, 8 * keylen, mode ) ) != 0 ) goto exit; if( ( ret = cipher_set_iv( &cipher_ctx, iv, cipher_info->iv_size ) ) != 0 ) diff --git a/library/pkcs5.c b/library/pkcs5.c index 0b9830dc6..c2aa06d6c 100644 --- a/library/pkcs5.c +++ b/library/pkcs5.c @@ -184,7 +184,7 @@ int pkcs5_pbes2( asn1_buf *pbe_params, int mode, if( ( ret = cipher_init_ctx( &cipher_ctx, cipher_info ) ) != 0 ) goto exit; - if( ( ret = cipher_setkey( &cipher_ctx, key, keylen, mode ) ) != 0 ) + if( ( ret = cipher_setkey( &cipher_ctx, key, 8 * keylen, mode ) ) != 0 ) goto exit; if( ( ret = cipher_set_iv( &cipher_ctx, iv, enc_scheme_params.len ) ) != 0 ) diff --git a/tests/suites/test_suite_cipher.aes.data b/tests/suites/test_suite_cipher.aes.data index 94da98e60..fc3113000 100644 --- a/tests/suites/test_suite_cipher.aes.data +++ b/tests/suites/test_suite_cipher.aes.data @@ -788,7 +788,7 @@ decrypt_test_vec:POLARSSL_CIPHER_AES_192_CFB128:-1:"ffffffffffffffffffffffffffff AES Decrypt test vector #6 depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CFB -decrypt_test_vec:POLARSSL_CIPHER_AES_128_CFB128:-1:"ffffffffff800000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"be66cfea2fecd6bf0ec7b4352c99bcaa":"00000000000000000000000000000000":"":"":0:0 +decrypt_test_vec:POLARSSL_CIPHER_AES_256_CFB128:-1:"ffffffffff800000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"be66cfea2fecd6bf0ec7b4352c99bcaa":"00000000000000000000000000000000":"":"":0:0 AES-128-ECB Encrypt NIST KAT #1 depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC diff --git a/tests/suites/test_suite_cipher.des.data b/tests/suites/test_suite_cipher.des.data index ce68a5ced..1ed6a1a65 100644 --- a/tests/suites/test_suite_cipher.des.data +++ b/tests/suites/test_suite_cipher.des.data @@ -1,551 +1,551 @@ DES Encrypt and decrypt 0 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:0:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:0:-1 DES Encrypt and decrypt 1 byte depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:1:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:1:-1 DES Encrypt and decrypt 2 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:2:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:2:-1 DES Encrypt and decrypt 7 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:7:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:7:-1 DES Encrypt and decrypt 8 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:8:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:8:-1 DES Encrypt and decrypt 9 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:9:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:9:-1 DES Encrypt and decrypt 15 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:15:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:15:-1 DES Encrypt and decrypt 16 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:16:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:16:-1 DES Encrypt and decrypt 17 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:17:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:17:-1 DES Encrypt and decrypt 31 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:31:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:31:-1 DES Encrypt and decrypt 32 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:32:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:32:-1 DES Encrypt and decrypt 32 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:33:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:33:-1 DES Encrypt and decrypt 47 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:47:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:47:-1 DES Encrypt and decrypt 48 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:48:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:48:-1 DES Encrypt and decrypt 49 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:49:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:49:-1 DES Encrypt and decrypt 0 bytes with one and zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:0:POLARSSL_PADDING_ONE_AND_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:0:POLARSSL_PADDING_ONE_AND_ZEROS DES Encrypt and decrypt 1 byte with one and zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:1:POLARSSL_PADDING_ONE_AND_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:1:POLARSSL_PADDING_ONE_AND_ZEROS DES Encrypt and decrypt 2 bytes with one and zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:2:POLARSSL_PADDING_ONE_AND_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:2:POLARSSL_PADDING_ONE_AND_ZEROS DES Encrypt and decrypt 7 bytes with one and zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:7:POLARSSL_PADDING_ONE_AND_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:7:POLARSSL_PADDING_ONE_AND_ZEROS DES Encrypt and decrypt 8 bytes with one and zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:8:POLARSSL_PADDING_ONE_AND_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:8:POLARSSL_PADDING_ONE_AND_ZEROS DES Encrypt and decrypt 9 bytes with one and zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:9:POLARSSL_PADDING_ONE_AND_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:9:POLARSSL_PADDING_ONE_AND_ZEROS DES Encrypt and decrypt 15 bytes with one and zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:15:POLARSSL_PADDING_ONE_AND_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:15:POLARSSL_PADDING_ONE_AND_ZEROS DES Encrypt and decrypt 16 bytes with one and zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:16:POLARSSL_PADDING_ONE_AND_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:16:POLARSSL_PADDING_ONE_AND_ZEROS DES Encrypt and decrypt 17 bytes with one and zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:17:POLARSSL_PADDING_ONE_AND_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:17:POLARSSL_PADDING_ONE_AND_ZEROS DES Encrypt and decrypt 31 bytes with one and zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:31:POLARSSL_PADDING_ONE_AND_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:31:POLARSSL_PADDING_ONE_AND_ZEROS DES Encrypt and decrypt 32 bytes with one and zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:32:POLARSSL_PADDING_ONE_AND_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:32:POLARSSL_PADDING_ONE_AND_ZEROS DES Encrypt and decrypt 32 bytes with one and zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:33:POLARSSL_PADDING_ONE_AND_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:33:POLARSSL_PADDING_ONE_AND_ZEROS DES Encrypt and decrypt 47 bytes with one and zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:47:POLARSSL_PADDING_ONE_AND_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:47:POLARSSL_PADDING_ONE_AND_ZEROS DES Encrypt and decrypt 48 bytes with one and zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:48:POLARSSL_PADDING_ONE_AND_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:48:POLARSSL_PADDING_ONE_AND_ZEROS DES Encrypt and decrypt 49 bytes with one and zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:49:POLARSSL_PADDING_ONE_AND_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:49:POLARSSL_PADDING_ONE_AND_ZEROS DES Encrypt and decrypt 0 bytes with zeros and len padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:0:POLARSSL_PADDING_ZEROS_AND_LEN +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:0:POLARSSL_PADDING_ZEROS_AND_LEN DES Encrypt and decrypt 1 byte with zeros and len padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:1:POLARSSL_PADDING_ZEROS_AND_LEN +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:1:POLARSSL_PADDING_ZEROS_AND_LEN DES Encrypt and decrypt 2 bytes with zeros and len padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:2:POLARSSL_PADDING_ZEROS_AND_LEN +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:2:POLARSSL_PADDING_ZEROS_AND_LEN DES Encrypt and decrypt 7 bytes with zeros and len padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:7:POLARSSL_PADDING_ZEROS_AND_LEN +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:7:POLARSSL_PADDING_ZEROS_AND_LEN DES Encrypt and decrypt 8 bytes with zeros and len padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:8:POLARSSL_PADDING_ZEROS_AND_LEN +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:8:POLARSSL_PADDING_ZEROS_AND_LEN DES Encrypt and decrypt 9 bytes with zeros and len padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:9:POLARSSL_PADDING_ZEROS_AND_LEN +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:9:POLARSSL_PADDING_ZEROS_AND_LEN DES Encrypt and decrypt 15 bytes with zeros and len padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:15:POLARSSL_PADDING_ZEROS_AND_LEN +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:15:POLARSSL_PADDING_ZEROS_AND_LEN DES Encrypt and decrypt 16 bytes with zeros and len padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:16:POLARSSL_PADDING_ZEROS_AND_LEN +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:16:POLARSSL_PADDING_ZEROS_AND_LEN DES Encrypt and decrypt 17 bytes with zeros and len padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:17:POLARSSL_PADDING_ZEROS_AND_LEN +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:17:POLARSSL_PADDING_ZEROS_AND_LEN DES Encrypt and decrypt 31 bytes with zeros and len padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:31:POLARSSL_PADDING_ZEROS_AND_LEN +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:31:POLARSSL_PADDING_ZEROS_AND_LEN DES Encrypt and decrypt 32 bytes with zeros and len padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:32:POLARSSL_PADDING_ZEROS_AND_LEN +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:32:POLARSSL_PADDING_ZEROS_AND_LEN DES Encrypt and decrypt 32 bytes with zeros and len padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:33:POLARSSL_PADDING_ZEROS_AND_LEN +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:33:POLARSSL_PADDING_ZEROS_AND_LEN DES Encrypt and decrypt 47 bytes with zeros and len padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:47:POLARSSL_PADDING_ZEROS_AND_LEN +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:47:POLARSSL_PADDING_ZEROS_AND_LEN DES Encrypt and decrypt 48 bytes with zeros and len padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:48:POLARSSL_PADDING_ZEROS_AND_LEN +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:48:POLARSSL_PADDING_ZEROS_AND_LEN DES Encrypt and decrypt 49 bytes with zeros and len padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:49:POLARSSL_PADDING_ZEROS_AND_LEN +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:49:POLARSSL_PADDING_ZEROS_AND_LEN DES Encrypt and decrypt 0 bytes with zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:0:POLARSSL_PADDING_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:0:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 1 byte with zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:1:POLARSSL_PADDING_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:1:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 2 bytes with zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:2:POLARSSL_PADDING_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:2:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 7 bytes with zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:7:POLARSSL_PADDING_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:7:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 8 bytes with zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:8:POLARSSL_PADDING_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:8:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 9 bytes with zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:9:POLARSSL_PADDING_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:9:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 15 bytes with zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:15:POLARSSL_PADDING_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:15:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 16 bytes with zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:16:POLARSSL_PADDING_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:16:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 17 bytes with zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:17:POLARSSL_PADDING_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:17:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 31 bytes with zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:31:POLARSSL_PADDING_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:31:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 32 bytes with zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:32:POLARSSL_PADDING_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:32:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 32 bytes with zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:33:POLARSSL_PADDING_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:33:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 47 bytes with zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:47:POLARSSL_PADDING_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:47:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 48 bytes with zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:48:POLARSSL_PADDING_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:48:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 49 bytes with zeros padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:49:POLARSSL_PADDING_ZEROS +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:49:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 0 bytes with no padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:0:POLARSSL_PADDING_NONE +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:0:POLARSSL_PADDING_NONE DES Encrypt and decrypt 8 bytes with no padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:8:POLARSSL_PADDING_NONE +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:8:POLARSSL_PADDING_NONE DES Encrypt and decrypt 16 bytes with no padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:16:POLARSSL_PADDING_NONE +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:16:POLARSSL_PADDING_NONE DES Encrypt and decrypt 32 bytes with no padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:32:POLARSSL_PADDING_NONE +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:32:POLARSSL_PADDING_NONE DES Encrypt and decrypt 48 bytes with no padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:48:POLARSSL_PADDING_NONE +enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":64:48:POLARSSL_PADDING_NONE DES Try encrypting 1 bytes with no padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_fail:POLARSSL_CIPHER_DES_CBC:POLARSSL_PADDING_NONE:56:1:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED +enc_fail:POLARSSL_CIPHER_DES_CBC:POLARSSL_PADDING_NONE:64:1:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED DES Try encrypting 2 bytes with no padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_fail:POLARSSL_CIPHER_DES_CBC:POLARSSL_PADDING_NONE:56:2:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED +enc_fail:POLARSSL_CIPHER_DES_CBC:POLARSSL_PADDING_NONE:64:2:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED DES Try encrypting 7 bytes with no padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_fail:POLARSSL_CIPHER_DES_CBC:POLARSSL_PADDING_NONE:56:7:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED +enc_fail:POLARSSL_CIPHER_DES_CBC:POLARSSL_PADDING_NONE:64:7:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED DES Try encrypting 9 bytes with no padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_fail:POLARSSL_CIPHER_DES_CBC:POLARSSL_PADDING_NONE:56:9:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED +enc_fail:POLARSSL_CIPHER_DES_CBC:POLARSSL_PADDING_NONE:64:9:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED DES Try encrypting 15 bytes with no padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_fail:POLARSSL_CIPHER_DES_CBC:POLARSSL_PADDING_NONE:56:15:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED +enc_fail:POLARSSL_CIPHER_DES_CBC:POLARSSL_PADDING_NONE:64:15:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED DES Try encrypting 17 bytes with no padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_fail:POLARSSL_CIPHER_DES_CBC:POLARSSL_PADDING_NONE:56:17:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED +enc_fail:POLARSSL_CIPHER_DES_CBC:POLARSSL_PADDING_NONE:64:17:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED DES Try encrypting 31 bytes with no padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_fail:POLARSSL_CIPHER_DES_CBC:POLARSSL_PADDING_NONE:56:31:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED +enc_fail:POLARSSL_CIPHER_DES_CBC:POLARSSL_PADDING_NONE:64:31:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED DES Try encrypting 33 bytes with no padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_fail:POLARSSL_CIPHER_DES_CBC:POLARSSL_PADDING_NONE:56:33:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED +enc_fail:POLARSSL_CIPHER_DES_CBC:POLARSSL_PADDING_NONE:64:33:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED DES Try encrypting 47 bytes with no padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_fail:POLARSSL_CIPHER_DES_CBC:POLARSSL_PADDING_NONE:56:47:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED +enc_fail:POLARSSL_CIPHER_DES_CBC:POLARSSL_PADDING_NONE:64:47:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED DES Try encrypting 49 bytes with no padding depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_fail:POLARSSL_CIPHER_DES_CBC:POLARSSL_PADDING_NONE:56:49:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED +enc_fail:POLARSSL_CIPHER_DES_CBC:POLARSSL_PADDING_NONE:64:49:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED DES Encrypt and decrypt 0 bytes in multiple parts depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:0:0: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:64:0:0: DES Encrypt and decrypt 1 bytes in multiple parts 1 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:1:0: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:64:1:0: DES Encrypt and decrypt 1 bytes in multiple parts 2 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:0:1: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:64:0:1: DES Encrypt and decrypt 16 bytes in multiple parts 1 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:16:0: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:64:16:0: DES Encrypt and decrypt 16 bytes in multiple parts 2 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:0:16: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:64:0:16: DES Encrypt and decrypt 16 bytes in multiple parts 3 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:1:15: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:64:1:15: DES Encrypt and decrypt 16 bytes in multiple parts 4 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:15:1: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:64:15:1: DES Encrypt and decrypt 22 bytes in multiple parts 1 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:15:7: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:64:15:7: DES Encrypt and decrypt 22 bytes in multiple parts 1 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:16:6: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:64:16:6: DES Encrypt and decrypt 22 bytes in multiple parts 1 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:17:6: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:64:17:6: DES Encrypt and decrypt 32 bytes in multiple parts 1 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:16:16: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:64:16:16: DES Encrypt and decrypt 0 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:0:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":128:0:-1 DES3 Encrypt and decrypt 1 byte depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:1:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":128:1:-1 DES3 Encrypt and decrypt 2 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:2:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":128:2:-1 DES3 Encrypt and decrypt 7 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:7:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":128:7:-1 DES3 Encrypt and decrypt 8 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:8:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":128:8:-1 DES3 Encrypt and decrypt 9 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:9:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":128:9:-1 DES3 Encrypt and decrypt 15 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:15:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":128:15:-1 DES3 Encrypt and decrypt 16 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:16:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":128:16:-1 DES3 Encrypt and decrypt 17 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:17:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":128:17:-1 DES3 Encrypt and decrypt 31 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:31:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":128:31:-1 DES3 Encrypt and decrypt 32 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:32:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":128:32:-1 DES3 Encrypt and decrypt 32 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:33:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":128:33:-1 DES3 Encrypt and decrypt 47 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:47:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":128:47:-1 DES3 Encrypt and decrypt 48 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:48:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":128:48:-1 DES3 Encrypt and decrypt 49 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:49:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":128:49:-1 DES3 Encrypt and decrypt 0 bytes in multiple parts depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:0:0: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:128:0:0: DES3 Encrypt and decrypt 1 bytes in multiple parts 1 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:1:0: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:128:1:0: DES3 Encrypt and decrypt 1 bytes in multiple parts 2 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:0:1: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:128:0:1: DES3 Encrypt and decrypt 16 bytes in multiple parts 1 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:16:0: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:128:16:0: DES3 Encrypt and decrypt 16 bytes in multiple parts 2 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:0:16: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:128:0:16: DES3 Encrypt and decrypt 16 bytes in multiple parts 3 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:1:15: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:128:1:15: DES3 Encrypt and decrypt 16 bytes in multiple parts 4 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:15:1: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:128:15:1: DES3 Encrypt and decrypt 22 bytes in multiple parts 1 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:15:7: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:128:15:7: DES3 Encrypt and decrypt 22 bytes in multiple parts 1 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:16:6: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:128:16:6: DES3 Encrypt and decrypt 22 bytes in multiple parts 1 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:17:6: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:128:17:6: DES3 Encrypt and decrypt 32 bytes in multiple parts 1 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:16:16: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:128:16:16: DES3 Encrypt and decrypt 0 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:0:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":192:0:-1 DES3 Encrypt and decrypt 1 byte depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:1:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":192:1:-1 DES3 Encrypt and decrypt 2 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:2:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":192:2:-1 DES3 Encrypt and decrypt 7 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:7:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":192:7:-1 DES3 Encrypt and decrypt 8 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:8:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":192:8:-1 DES3 Encrypt and decrypt 9 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:9:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":192:9:-1 DES3 Encrypt and decrypt 15 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:15:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":192:15:-1 DES3 Encrypt and decrypt 16 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:16:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":192:16:-1 DES3 Encrypt and decrypt 17 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:17:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":192:17:-1 DES3 Encrypt and decrypt 31 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:31:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":192:31:-1 DES3 Encrypt and decrypt 32 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:32:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":192:32:-1 DES3 Encrypt and decrypt 32 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:33:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":192:33:-1 DES3 Encrypt and decrypt 47 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:47:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":192:47:-1 DES3 Encrypt and decrypt 48 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:48:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":192:48:-1 DES3 Encrypt and decrypt 49 bytes depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:49:-1 +enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":192:49:-1 DES3 Encrypt and decrypt 0 bytes in multiple parts depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:0:0: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:192:0:0: DES3 Encrypt and decrypt 1 bytes in multiple parts 1 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:1:0: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:192:1:0: DES3 Encrypt and decrypt 1 bytes in multiple parts 2 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:0:1: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:192:0:1: DES3 Encrypt and decrypt 16 bytes in multiple parts 1 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:16:0: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:192:16:0: DES3 Encrypt and decrypt 16 bytes in multiple parts 2 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:0:16: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:192:0:16: DES3 Encrypt and decrypt 16 bytes in multiple parts 3 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:1:15: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:192:1:15: DES3 Encrypt and decrypt 16 bytes in multiple parts 4 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:15:1: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:192:15:1: DES3 Encrypt and decrypt 22 bytes in multiple parts 1 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:15:7: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:192:15:7: DES3 Encrypt and decrypt 22 bytes in multiple parts 1 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:16:6: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:192:16:6: DES3 Encrypt and decrypt 22 bytes in multiple parts 1 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:17:6: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:192:17:6: DES3 Encrypt and decrypt 32 bytes in multiple parts 1 depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC -enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:16:16: +enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:192:16:16: