From 989ed38de25b624b6c48d0f36a033c80f7fd12b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 13 Sep 2013 14:41:45 +0200 Subject: [PATCH] Make CBC an option, step 2: cipher layer --- include/polarssl/cipher.h | 6 + include/polarssl/cipher_wrap.h | 8 + library/cipher.c | 57 ++- library/cipher_wrap.c | 12 + tests/suites/test_suite_cipher.aes.data | 443 +++++++++---------- tests/suites/test_suite_cipher.arc4.data | 7 - tests/suites/test_suite_cipher.blowfish.data | 179 ++++---- tests/suites/test_suite_cipher.camellia.data | 283 ++++++------ tests/suites/test_suite_cipher.des.data | 283 ++++++------ tests/suites/test_suite_cipher.function | 16 +- tests/suites/test_suite_cipher.gcm.data | 7 - tests/suites/test_suite_cipher.null.data | 7 - tests/suites/test_suite_cipher.padding.data | 16 +- tests/suites/test_suite_x509parse.data | 20 +- 14 files changed, 694 insertions(+), 650 deletions(-) diff --git a/include/polarssl/cipher.h b/include/polarssl/cipher.h index e5bde3594..5789f776d 100644 --- a/include/polarssl/cipher.h +++ b/include/polarssl/cipher.h @@ -36,6 +36,10 @@ #define POLARSSL_CIPHER_MODE_AEAD #endif +#if defined(POLARSSL_CIPHER_MODE_CBC) +#define POLARSSL_CIPHER_MODE_WITH_PADDING +#endif + #include #if defined(_MSC_VER) && !defined(inline) @@ -462,6 +466,7 @@ static inline operation_t cipher_get_operation( const cipher_context_t *ctx ) int cipher_setkey( cipher_context_t *ctx, const unsigned char *key, int key_length, const operation_t operation ); +#if defined(POLARSSL_CIPHER_MODE_WITH_PADDING) /** * \brief Set padding mode, for cipher modes that use padding. * (Default: PKCS7 padding.) @@ -475,6 +480,7 @@ int cipher_setkey( cipher_context_t *ctx, const unsigned char *key, int key_leng * does not support padding. */ int cipher_set_padding_mode( cipher_context_t *ctx, cipher_padding_t mode ); +#endif /* POLARSSL_CIPHER_MODE_WITH_PADDING */ /** * \brief Set the initialization vector (IV) or nonce diff --git a/include/polarssl/cipher_wrap.h b/include/polarssl/cipher_wrap.h index 9c26a10c4..fcd226f52 100644 --- a/include/polarssl/cipher_wrap.h +++ b/include/polarssl/cipher_wrap.h @@ -42,9 +42,11 @@ extern const cipher_info_t aes_128_ecb_info; extern const cipher_info_t aes_192_ecb_info; extern const cipher_info_t aes_256_ecb_info; +#if defined(POLARSSL_CIPHER_MODE_CBC) extern const cipher_info_t aes_128_cbc_info; extern const cipher_info_t aes_192_cbc_info; extern const cipher_info_t aes_256_cbc_info; +#endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) extern const cipher_info_t aes_128_cfb128_info; @@ -72,9 +74,11 @@ extern const cipher_info_t camellia_128_ecb_info; extern const cipher_info_t camellia_192_ecb_info; extern const cipher_info_t camellia_256_ecb_info; +#if defined(POLARSSL_CIPHER_MODE_CBC) extern const cipher_info_t camellia_128_cbc_info; extern const cipher_info_t camellia_192_cbc_info; extern const cipher_info_t camellia_256_cbc_info; +#endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) extern const cipher_info_t camellia_128_cfb128_info; @@ -96,15 +100,19 @@ extern const cipher_info_t des_ecb_info; extern const cipher_info_t des_ede_ecb_info; extern const cipher_info_t des_ede3_ecb_info; +#if defined(POLARSSL_CIPHER_MODE_CBC) extern const cipher_info_t des_cbc_info; extern const cipher_info_t des_ede_cbc_info; extern const cipher_info_t des_ede3_cbc_info; +#endif /* POLARSSL_CIPHER_MODE_CBC */ #endif /* defined(POLARSSL_DES_C) */ #if defined(POLARSSL_BLOWFISH_C) extern const cipher_info_t blowfish_ecb_info; +#if defined(POLARSSL_CIPHER_MODE_CBC) extern const cipher_info_t blowfish_cbc_info; +#endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) extern const cipher_info_t blowfish_cfb64_info; diff --git a/library/cipher.c b/library/cipher.c index 8fded8186..ee2a1cdf2 100644 --- a/library/cipher.c +++ b/library/cipher.c @@ -54,9 +54,12 @@ static const int supported_ciphers[] = { POLARSSL_CIPHER_AES_128_ECB, POLARSSL_CIPHER_AES_192_ECB, POLARSSL_CIPHER_AES_256_ECB, + +#if defined(POLARSSL_CIPHER_MODE_CBC) POLARSSL_CIPHER_AES_128_CBC, POLARSSL_CIPHER_AES_192_CBC, POLARSSL_CIPHER_AES_256_CBC, +#endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) POLARSSL_CIPHER_AES_128_CFB128, @@ -86,9 +89,12 @@ static const int supported_ciphers[] = { POLARSSL_CIPHER_CAMELLIA_128_ECB, POLARSSL_CIPHER_CAMELLIA_192_ECB, POLARSSL_CIPHER_CAMELLIA_256_ECB, + +#if defined(POLARSSL_CIPHER_MODE_CBC) POLARSSL_CIPHER_CAMELLIA_128_CBC, POLARSSL_CIPHER_CAMELLIA_192_CBC, POLARSSL_CIPHER_CAMELLIA_256_CBC, +#endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) POLARSSL_CIPHER_CAMELLIA_128_CFB128, @@ -108,14 +114,20 @@ static const int supported_ciphers[] = { POLARSSL_CIPHER_DES_ECB, POLARSSL_CIPHER_DES_EDE_ECB, POLARSSL_CIPHER_DES_EDE3_ECB, + +#if defined(POLARSSL_CIPHER_MODE_CBC) POLARSSL_CIPHER_DES_CBC, POLARSSL_CIPHER_DES_EDE_CBC, POLARSSL_CIPHER_DES_EDE3_CBC, +#endif /* POLARSSL_CIPHER_MODE_CBC */ #endif /* defined(POLARSSL_DES_C) */ #if defined(POLARSSL_BLOWFISH_C) POLARSSL_CIPHER_BLOWFISH_ECB, + +#if defined(POLARSSL_CIPHER_MODE_CBC) POLARSSL_CIPHER_BLOWFISH_CBC, +#endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) POLARSSL_CIPHER_BLOWFISH_CFB64, @@ -152,12 +164,14 @@ const cipher_info_t *cipher_info_from_type( const cipher_type_t cipher_type ) case POLARSSL_CIPHER_AES_256_ECB: return &aes_256_ecb_info; +#if defined(POLARSSL_CIPHER_MODE_CBC) case POLARSSL_CIPHER_AES_128_CBC: return &aes_128_cbc_info; case POLARSSL_CIPHER_AES_192_CBC: return &aes_192_cbc_info; case POLARSSL_CIPHER_AES_256_CBC: return &aes_256_cbc_info; +#endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) case POLARSSL_CIPHER_AES_128_CFB128: @@ -196,12 +210,14 @@ const cipher_info_t *cipher_info_from_type( const cipher_type_t cipher_type ) case POLARSSL_CIPHER_CAMELLIA_256_ECB: return &camellia_256_ecb_info; +#if defined(POLARSSL_CIPHER_MODE_CBC) case POLARSSL_CIPHER_CAMELLIA_128_CBC: return &camellia_128_cbc_info; case POLARSSL_CIPHER_CAMELLIA_192_CBC: return &camellia_192_cbc_info; case POLARSSL_CIPHER_CAMELLIA_256_CBC: return &camellia_256_cbc_info; +#endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) case POLARSSL_CIPHER_CAMELLIA_128_CFB128: @@ -231,12 +247,14 @@ const cipher_info_t *cipher_info_from_type( const cipher_type_t cipher_type ) case POLARSSL_CIPHER_DES_EDE3_ECB: return &des_ede3_ecb_info; +#if defined(POLARSSL_CIPHER_MODE_CBC) case POLARSSL_CIPHER_DES_CBC: return &des_cbc_info; case POLARSSL_CIPHER_DES_EDE_CBC: return &des_ede_cbc_info; case POLARSSL_CIPHER_DES_EDE3_CBC: return &des_ede3_cbc_info; +#endif /* POLARSSL_CIPHER_MODE_CBC */ #endif #if defined(POLARSSL_ARC4_C) @@ -248,8 +266,10 @@ const cipher_info_t *cipher_info_from_type( const cipher_type_t cipher_type ) case POLARSSL_CIPHER_BLOWFISH_ECB: return &blowfish_ecb_info; +#if defined(POLARSSL_CIPHER_MODE_CBC) case POLARSSL_CIPHER_BLOWFISH_CBC: return &blowfish_cbc_info; +#endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) case POLARSSL_CIPHER_BLOWFISH_CFB64: @@ -280,12 +300,14 @@ const cipher_info_t *cipher_info_from_string( const char *cipher_name ) /* Get the appropriate cipher information */ #if defined(POLARSSL_CAMELLIA_C) +#if defined(POLARSSL_CIPHER_MODE_CBC) if( !strcasecmp( "CAMELLIA-128-CBC", cipher_name ) ) return cipher_info_from_type( POLARSSL_CIPHER_CAMELLIA_128_CBC ); if( !strcasecmp( "CAMELLIA-192-CBC", cipher_name ) ) return cipher_info_from_type( POLARSSL_CIPHER_CAMELLIA_192_CBC ); if( !strcasecmp( "CAMELLIA-256-CBC", cipher_name ) ) return cipher_info_from_type( POLARSSL_CIPHER_CAMELLIA_256_CBC ); +#endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) if( !strcasecmp( "CAMELLIA-128-CFB128", cipher_name ) ) @@ -307,12 +329,14 @@ const cipher_info_t *cipher_info_from_string( const char *cipher_name ) #endif #if defined(POLARSSL_AES_C) +#if defined(POLARSSL_CIPHER_MODE_CBC) if( !strcasecmp( "AES-128-CBC", cipher_name ) ) return cipher_info_from_type( POLARSSL_CIPHER_AES_128_CBC ); if( !strcasecmp( "AES-192-CBC", cipher_name ) ) return cipher_info_from_type( POLARSSL_CIPHER_AES_192_CBC ); if( !strcasecmp( "AES-256-CBC", cipher_name ) ) return cipher_info_from_type( POLARSSL_CIPHER_AES_256_CBC ); +#endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) if( !strcasecmp( "AES-128-CFB128", cipher_name ) ) @@ -348,17 +372,21 @@ const cipher_info_t *cipher_info_from_string( const char *cipher_name ) #endif #if defined(POLARSSL_DES_C) +#if defined(POLARSSL_CIPHER_MODE_CBC) if( !strcasecmp( "DES-CBC", cipher_name ) ) return cipher_info_from_type( POLARSSL_CIPHER_DES_CBC ); if( !strcasecmp( "DES-EDE-CBC", cipher_name ) ) return cipher_info_from_type( POLARSSL_CIPHER_DES_EDE_CBC ); if( !strcasecmp( "DES-EDE3-CBC", cipher_name ) ) return cipher_info_from_type( POLARSSL_CIPHER_DES_EDE3_CBC ); +#endif /* POLARSSL_CIPHER_MODE_CBC */ #endif #if defined(POLARSSL_BLOWFISH_C) +#if defined(POLARSSL_CIPHER_MODE_CBC) if( !strcasecmp( "BLOWFISH-CBC", cipher_name ) ) return cipher_info_from_type( POLARSSL_CIPHER_BLOWFISH_CBC ); +#endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) if( !strcasecmp( "BLOWFISH-CFB64", cipher_name ) ) @@ -396,6 +424,7 @@ const cipher_info_t *cipher_info_from_values( const cipher_id_t cipher_id, return &aes_256_ecb_info; } +#if defined(POLARSSL_CIPHER_MODE_CBC) if( mode == POLARSSL_MODE_CBC ) { if( key_length == 128 ) @@ -405,6 +434,7 @@ const cipher_info_t *cipher_info_from_values( const cipher_id_t cipher_id, if( key_length == 256 ) return &aes_256_cbc_info; } +#endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) if( mode == POLARSSL_MODE_CFB ) @@ -457,6 +487,7 @@ const cipher_info_t *cipher_info_from_values( const cipher_id_t cipher_id, return &camellia_256_ecb_info; } +#if defined(POLARSSL_CIPHER_MODE_CBC) if( mode == POLARSSL_MODE_CBC ) { if( key_length == 128 ) @@ -466,6 +497,7 @@ const cipher_info_t *cipher_info_from_values( const cipher_id_t cipher_id, if( key_length == 256 ) return &camellia_256_cbc_info; } +#endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) if( mode == POLARSSL_MODE_CFB ) @@ -499,8 +531,10 @@ const cipher_info_t *cipher_info_from_values( const cipher_id_t cipher_id, if( mode == POLARSSL_MODE_ECB ) return &des_ecb_info; +#if defined(POLARSSL_CIPHER_MODE_CBC) if( mode == POLARSSL_MODE_CBC ) return &des_cbc_info; +#endif /* POLARSSL_CIPHER_MODE_CBC */ } if( cipher_id == POLARSSL_CIPHER_ID_3DES ) @@ -513,6 +547,7 @@ const cipher_info_t *cipher_info_from_values( const cipher_id_t cipher_id, return &des_ede3_ecb_info; } +#if defined(POLARSSL_CIPHER_MODE_CBC) if( mode == POLARSSL_MODE_CBC ) { if( key_length == 128 ) @@ -520,6 +555,7 @@ const cipher_info_t *cipher_info_from_values( const cipher_id_t cipher_id, if( key_length == 192 ) return &des_ede3_cbc_info; } +#endif /* POLARSSL_CIPHER_MODE_CBC */ } #endif @@ -535,8 +571,10 @@ const cipher_info_t *cipher_info_from_values( const cipher_id_t cipher_id, if( mode == POLARSSL_MODE_ECB ) return &blowfish_ecb_info; +#if defined(POLARSSL_CIPHER_MODE_CBC) if( mode == POLARSSL_MODE_CBC ) return &blowfish_cbc_info; +#endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) if( mode == POLARSSL_MODE_CFB ) @@ -570,6 +608,7 @@ int cipher_init_ctx( cipher_context_t *ctx, const cipher_info_t *cipher_info ) ctx->cipher_info = cipher_info; +#if defined(POLARSSL_CIPHER_MODE_WITH_PADDING) /* * Ignore possible errors caused by a cipher mode that doesn't use padding */ @@ -578,6 +617,7 @@ int cipher_init_ctx( cipher_context_t *ctx, const cipher_info_t *cipher_info ) #else (void) cipher_set_padding_mode( ctx, POLARSSL_PADDING_NONE ); #endif +#endif /* POLARSSL_CIPHER_MODE_WITH_PADDING */ return 0; } @@ -671,7 +711,6 @@ int cipher_update( cipher_context_t *ctx, const unsigned char *input, size_t ile unsigned char *output, size_t *olen ) { int ret; - size_t copy_len = 0; *olen = 0; @@ -710,8 +749,11 @@ int cipher_update( cipher_context_t *ctx, const unsigned char *input, size_t ile return POLARSSL_ERR_CIPHER_BAD_INPUT_DATA; } +#if defined(POLARSSL_CIPHER_MODE_CBC) if( ctx->cipher_info->mode == POLARSSL_MODE_CBC ) { + size_t copy_len = 0; + /* * If there is not enough data for a full block, cache it. */ @@ -784,6 +826,7 @@ int cipher_update( cipher_context_t *ctx, const unsigned char *input, size_t ile return 0; } +#endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) if( ctx->cipher_info->mode == POLARSSL_MODE_CFB ) @@ -835,6 +878,7 @@ int cipher_update( cipher_context_t *ctx, const unsigned char *input, size_t ile return POLARSSL_ERR_CIPHER_FEATURE_UNAVAILABLE; } +#if defined(POLARSSL_CIPHER_MODE_WITH_PADDING) #if defined(POLARSSL_CIPHER_PADDING_PKCS7) /* * PKCS7 (and PKCS5) padding: fill with ll bytes, with ll = padding_len @@ -990,12 +1034,11 @@ static int get_no_padding( unsigned char *input, size_t input_len, return 0; } +#endif /* POLARSSL_CIPHER_MODE_WITH_PADDING */ int cipher_finish( cipher_context_t *ctx, unsigned char *output, size_t *olen ) { - int ret = 0; - if( NULL == ctx || NULL == ctx->cipher_info || NULL == olen ) return POLARSSL_ERR_CIPHER_BAD_INPUT_DATA; @@ -1017,8 +1060,11 @@ int cipher_finish( cipher_context_t *ctx, return 0; } +#if defined(POLARSSL_CIPHER_MODE_CBC) if( POLARSSL_MODE_CBC == ctx->cipher_info->mode ) { + int ret = 0; + if( POLARSSL_ENCRYPT == ctx->operation ) { /* check for 'no padding' mode */ @@ -1062,10 +1108,14 @@ int cipher_finish( cipher_context_t *ctx, *olen = cipher_get_block_size( ctx ); return 0; } +#else + ((void) output); +#endif /* POLARSSL_CIPHER_MODE_CBC */ return POLARSSL_ERR_CIPHER_FEATURE_UNAVAILABLE; } +#if defined(POLARSSL_CIPHER_MODE_WITH_PADDING) int cipher_set_padding_mode( cipher_context_t *ctx, cipher_padding_t mode ) { if( NULL == ctx || @@ -1111,6 +1161,7 @@ int cipher_set_padding_mode( cipher_context_t *ctx, cipher_padding_t mode ) return 0; } +#endif /* POLARSSL_CIPHER_MODE_WITH_PADDING */ #if defined(POLARSSL_CIPHER_MODE_AEAD) int cipher_write_tag( cipher_context_t *ctx, diff --git a/library/cipher_wrap.c b/library/cipher_wrap.c index c6f52ff9b..ede299bf6 100644 --- a/library/cipher_wrap.c +++ b/library/cipher_wrap.c @@ -184,6 +184,7 @@ const cipher_info_t aes_256_ecb_info = { &aes_info }; +#if defined(POLARSSL_CIPHER_MODE_CBC) const cipher_info_t aes_128_cbc_info = { POLARSSL_CIPHER_AES_128_CBC, POLARSSL_MODE_CBC, @@ -216,6 +217,7 @@ const cipher_info_t aes_256_cbc_info = { 16, &aes_info }; +#endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) const cipher_info_t aes_128_cfb128_info = { @@ -472,6 +474,7 @@ const cipher_info_t camellia_256_ecb_info = { &camellia_info }; +#if defined(POLARSSL_CIPHER_MODE_CBC) const cipher_info_t camellia_128_cbc_info = { POLARSSL_CIPHER_CAMELLIA_128_CBC, POLARSSL_MODE_CBC, @@ -504,6 +507,7 @@ const cipher_info_t camellia_256_cbc_info = { 16, &camellia_info }; +#endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) const cipher_info_t camellia_128_cfb128_info = { @@ -715,6 +719,7 @@ const cipher_info_t des_ecb_info = { &des_info }; +#if defined(POLARSSL_CIPHER_MODE_CBC) const cipher_info_t des_cbc_info = { POLARSSL_CIPHER_DES_CBC, POLARSSL_MODE_CBC, @@ -725,6 +730,7 @@ const cipher_info_t des_cbc_info = { 8, &des_info }; +#endif /* POLARSSL_CIPHER_MODE_CBC */ const cipher_base_t des_ede_info = { POLARSSL_CIPHER_ID_DES, @@ -750,6 +756,7 @@ const cipher_info_t des_ede_ecb_info = { &des_ede_info }; +#if defined(POLARSSL_CIPHER_MODE_CBC) const cipher_info_t des_ede_cbc_info = { POLARSSL_CIPHER_DES_EDE_CBC, POLARSSL_MODE_CBC, @@ -760,6 +767,7 @@ const cipher_info_t des_ede_cbc_info = { 8, &des_ede_info }; +#endif /* POLARSSL_CIPHER_MODE_CBC */ const cipher_base_t des_ede3_info = { POLARSSL_CIPHER_ID_DES, @@ -784,6 +792,7 @@ const cipher_info_t des_ede3_ecb_info = { 8, &des_ede3_info }; +#if defined(POLARSSL_CIPHER_MODE_CBC) const cipher_info_t des_ede3_cbc_info = { POLARSSL_CIPHER_DES_EDE3_CBC, POLARSSL_MODE_CBC, @@ -794,6 +803,7 @@ const cipher_info_t des_ede3_cbc_info = { 8, &des_ede3_info }; +#endif /* POLARSSL_CIPHER_MODE_CBC */ #endif #if defined(POLARSSL_BLOWFISH_C) @@ -887,6 +897,7 @@ const cipher_info_t blowfish_ecb_info = { &blowfish_info }; +#if defined(POLARSSL_CIPHER_MODE_CBC) const cipher_info_t blowfish_cbc_info = { POLARSSL_CIPHER_BLOWFISH_CBC, POLARSSL_MODE_CBC, @@ -897,6 +908,7 @@ const cipher_info_t blowfish_cbc_info = { 8, &blowfish_info }; +#endif /* POLARSSL_CIPHER_MODE_CBC */ #if defined(POLARSSL_CIPHER_MODE_CFB) const cipher_info_t blowfish_cfb64_info = { diff --git a/tests/suites/test_suite_cipher.aes.data b/tests/suites/test_suite_cipher.aes.data index 23d4c8c20..94da98e60 100644 --- a/tests/suites/test_suite_cipher.aes.data +++ b/tests/suites/test_suite_cipher.aes.data @@ -1,352 +1,349 @@ -Cipher Selftest -depends_on:POLARSSL_SELF_TEST -cipher_selftest: - Decrypt empty buffer +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC dec_empty_buf: AES Encrypt and decrypt 0 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:0:-1 AES Encrypt and decrypt 1 byte -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:1:-1 AES Encrypt and decrypt 2 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:2:-1 AES Encrypt and decrypt 7 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:7:-1 AES Encrypt and decrypt 8 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:8:-1 AES Encrypt and decrypt 9 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:9:-1 AES Encrypt and decrypt 15 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:15:-1 AES Encrypt and decrypt 16 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:16:-1 AES Encrypt and decrypt 17 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:17:-1 AES Encrypt and decrypt 31 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:31:-1 AES Encrypt and decrypt 32 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:32:-1 AES Encrypt and decrypt 32 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:33:-1 AES Encrypt and decrypt 47 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:47:-1 AES Encrypt and decrypt 48 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:48:-1 AES Encrypt and decrypt 49 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:49:-1 AES Encrypt and decrypt 0 bytes with one and zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:0:POLARSSL_PADDING_ONE_AND_ZEROS AES Encrypt and decrypt 1 byte with one and zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:1:POLARSSL_PADDING_ONE_AND_ZEROS AES Encrypt and decrypt 2 bytes with one and zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:2:POLARSSL_PADDING_ONE_AND_ZEROS AES Encrypt and decrypt 7 bytes with one and zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:7:POLARSSL_PADDING_ONE_AND_ZEROS AES Encrypt and decrypt 8 bytes with one and zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:8:POLARSSL_PADDING_ONE_AND_ZEROS AES Encrypt and decrypt 9 bytes with one and zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:9:POLARSSL_PADDING_ONE_AND_ZEROS AES Encrypt and decrypt 15 bytes with one and zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:15:POLARSSL_PADDING_ONE_AND_ZEROS AES Encrypt and decrypt 16 bytes with one and zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:16:POLARSSL_PADDING_ONE_AND_ZEROS AES Encrypt and decrypt 17 bytes with one and zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:17:POLARSSL_PADDING_ONE_AND_ZEROS AES Encrypt and decrypt 31 bytes with one and zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:31:POLARSSL_PADDING_ONE_AND_ZEROS AES Encrypt and decrypt 32 bytes with one and zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:32:POLARSSL_PADDING_ONE_AND_ZEROS AES Encrypt and decrypt 33 bytes with one and zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:33:POLARSSL_PADDING_ONE_AND_ZEROS AES Encrypt and decrypt 47 bytes with one and zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:47:POLARSSL_PADDING_ONE_AND_ZEROS AES Encrypt and decrypt 48 bytes with one and zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:48:POLARSSL_PADDING_ONE_AND_ZEROS AES Encrypt and decrypt 49 bytes with one and zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:49:POLARSSL_PADDING_ONE_AND_ZEROS AES Encrypt and decrypt 0 bytes with zeros and len padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:0:POLARSSL_PADDING_ZEROS_AND_LEN AES Encrypt and decrypt 1 byte with zeros and len padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:1:POLARSSL_PADDING_ZEROS_AND_LEN AES Encrypt and decrypt 2 bytes with zeros and len padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:2:POLARSSL_PADDING_ZEROS_AND_LEN AES Encrypt and decrypt 7 bytes with zeros and len padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:7:POLARSSL_PADDING_ZEROS_AND_LEN AES Encrypt and decrypt 8 bytes with zeros and len padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:8:POLARSSL_PADDING_ZEROS_AND_LEN AES Encrypt and decrypt 9 bytes with zeros and len padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:9:POLARSSL_PADDING_ZEROS_AND_LEN AES Encrypt and decrypt 15 bytes with zeros and len padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:15:POLARSSL_PADDING_ZEROS_AND_LEN AES Encrypt and decrypt 16 bytes with zeros and len padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:16:POLARSSL_PADDING_ZEROS_AND_LEN AES Encrypt and decrypt 17 bytes with zeros and len padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:17:POLARSSL_PADDING_ZEROS_AND_LEN AES Encrypt and decrypt 31 bytes with zeros and len padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:31:POLARSSL_PADDING_ZEROS_AND_LEN AES Encrypt and decrypt 32 bytes with zeros and len padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:32:POLARSSL_PADDING_ZEROS_AND_LEN AES Encrypt and decrypt 33 bytes with zeros and len padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:33:POLARSSL_PADDING_ZEROS_AND_LEN AES Encrypt and decrypt 47 bytes with zeros and len padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:47:POLARSSL_PADDING_ZEROS_AND_LEN AES Encrypt and decrypt 48 bytes with zeros and len padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:48:POLARSSL_PADDING_ZEROS_AND_LEN AES Encrypt and decrypt 49 bytes with zeros and len padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:49:POLARSSL_PADDING_ZEROS_AND_LEN AES Encrypt and decrypt 0 bytes with zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:0:POLARSSL_PADDING_ZEROS AES Encrypt and decrypt 1 byte with zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:1:POLARSSL_PADDING_ZEROS AES Encrypt and decrypt 2 bytes with zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:2:POLARSSL_PADDING_ZEROS AES Encrypt and decrypt 7 bytes with zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:7:POLARSSL_PADDING_ZEROS AES Encrypt and decrypt 8 bytes with zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:8:POLARSSL_PADDING_ZEROS AES Encrypt and decrypt 9 bytes with zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:9:POLARSSL_PADDING_ZEROS AES Encrypt and decrypt 15 bytes with zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:15:POLARSSL_PADDING_ZEROS AES Encrypt and decrypt 16 bytes with zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:16:POLARSSL_PADDING_ZEROS AES Encrypt and decrypt 17 bytes with zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:17:POLARSSL_PADDING_ZEROS AES Encrypt and decrypt 31 bytes with zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:31:POLARSSL_PADDING_ZEROS AES Encrypt and decrypt 32 bytes with zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:32:POLARSSL_PADDING_ZEROS AES Encrypt and decrypt 33 bytes with zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:33:POLARSSL_PADDING_ZEROS AES Encrypt and decrypt 47 bytes with zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:47:POLARSSL_PADDING_ZEROS AES Encrypt and decrypt 48 bytes with zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:48:POLARSSL_PADDING_ZEROS AES Encrypt and decrypt 49 bytes with zeros padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:49:POLARSSL_PADDING_ZEROS AES Encrypt and decrypt 0 bytes with no padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:0:POLARSSL_PADDING_NONE AES Encrypt and decrypt 16 bytes with no padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:16:POLARSSL_PADDING_NONE AES Encrypt and decrypt 32 bytes with no padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:32:POLARSSL_PADDING_NONE AES Encrypt and decrypt 48 bytes with no padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:"AES-128-CBC":128:48:POLARSSL_PADDING_NONE AES Try encrypting 1 bytes with no padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_AES_128_CBC:POLARSSL_PADDING_NONE:128:1:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED AES Try encrypting 2 bytes with no padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_AES_128_CBC:POLARSSL_PADDING_NONE:128:2:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED AES Try encrypting 7 bytes with no padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_AES_128_CBC:POLARSSL_PADDING_NONE:128:7:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED AES Try encrypting 8 bytes with no padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_AES_128_CBC:POLARSSL_PADDING_NONE:128:8:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED AES Try encrypting 9 bytes with no padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_AES_128_CBC:POLARSSL_PADDING_NONE:128:9:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED AES Try encrypting 15 bytes with no padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_AES_128_CBC:POLARSSL_PADDING_NONE:128:15:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED AES Try encrypting 17 bytes with no padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_AES_128_CBC:POLARSSL_PADDING_NONE:128:17:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED AES Try encrypting 31 bytes with no padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_AES_128_CBC:POLARSSL_PADDING_NONE:128:31:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED AES Try encrypting 33 bytes with no padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_AES_128_CBC:POLARSSL_PADDING_NONE:128:33:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED AES Try encrypting 47 bytes with no padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_AES_128_CBC:POLARSSL_PADDING_NONE:128:47:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED AES Try encrypting 49 bytes with no padding -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_AES_128_CBC:POLARSSL_PADDING_NONE:128:49:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED AES Encrypt and decrypt 0 bytes in multiple parts -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:0:0: AES Encrypt and decrypt 1 bytes in multiple parts 1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:1:0: AES Encrypt and decrypt 1 bytes in multiple parts 2 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:0:1: AES Encrypt and decrypt 16 bytes in multiple parts 1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:16:0: AES Encrypt and decrypt 16 bytes in multiple parts 2 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:0:16: AES Encrypt and decrypt 16 bytes in multiple parts 3 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:1:15: AES Encrypt and decrypt 16 bytes in multiple parts 4 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:15:1: AES Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:15:7: AES Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:16:6: AES Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:17:6: AES Encrypt and decrypt 32 bytes in multiple parts 1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:16:16: AES Encrypt and decrypt 0 bytes @@ -558,227 +555,227 @@ depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CTR enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CTR:128:16:16: AES Encrypt and decrypt 0 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:"AES-192-CBC":192:0:-1 AES Encrypt and decrypt 1 byte -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:"AES-192-CBC":192:1:-1 AES Encrypt and decrypt 2 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:"AES-192-CBC":192:2:-1 AES Encrypt and decrypt 7 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:"AES-192-CBC":192:7:-1 AES Encrypt and decrypt 8 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:"AES-192-CBC":192:8:-1 AES Encrypt and decrypt 9 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:"AES-192-CBC":192:9:-1 AES Encrypt and decrypt 15 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:"AES-192-CBC":192:15:-1 AES Encrypt and decrypt 16 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:"AES-192-CBC":192:16:-1 AES Encrypt and decrypt 17 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:"AES-192-CBC":192:17:-1 AES Encrypt and decrypt 31 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:"AES-192-CBC":192:31:-1 AES Encrypt and decrypt 32 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:"AES-192-CBC":192:32:-1 AES Encrypt and decrypt 32 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:"AES-192-CBC":192:33:-1 AES Encrypt and decrypt 47 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:"AES-192-CBC":192:47:-1 AES Encrypt and decrypt 48 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:"AES-192-CBC":192:48:-1 AES Encrypt and decrypt 49 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:"AES-192-CBC":192:49:-1 AES Encrypt and decrypt 0 bytes in multiple parts -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:0:0: AES Encrypt and decrypt 1 bytes in multiple parts 1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:1:0: AES Encrypt and decrypt 1 bytes in multiple parts 2 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:0:1: AES Encrypt and decrypt 16 bytes in multiple parts 1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:16:0: AES Encrypt and decrypt 16 bytes in multiple parts 2 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:0:16: AES Encrypt and decrypt 16 bytes in multiple parts 3 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:1:15: AES Encrypt and decrypt 16 bytes in multiple parts 4 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:15:1: AES Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:15:7: AES Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:16:6: AES Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:17:6: AES Encrypt and decrypt 32 bytes in multiple parts 1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:16:16: AES Encrypt and decrypt 0 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:"AES-256-CBC":256:0:-1 AES Encrypt and decrypt 1 byte -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:"AES-256-CBC":256:1:-1 AES Encrypt and decrypt 2 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:"AES-256-CBC":256:2:-1 AES Encrypt and decrypt 7 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:"AES-256-CBC":256:7:-1 AES Encrypt and decrypt 8 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:"AES-256-CBC":256:8:-1 AES Encrypt and decrypt 9 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:"AES-256-CBC":256:9:-1 AES Encrypt and decrypt 15 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:"AES-256-CBC":256:15:-1 AES Encrypt and decrypt 16 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:"AES-256-CBC":256:16:-1 AES Encrypt and decrypt 17 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:"AES-256-CBC":256:17:-1 AES Encrypt and decrypt 31 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:"AES-256-CBC":256:31:-1 AES Encrypt and decrypt 32 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:"AES-256-CBC":256:32:-1 AES Encrypt and decrypt 32 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:"AES-256-CBC":256:33:-1 AES Encrypt and decrypt 47 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:"AES-256-CBC":256:47:-1 AES Encrypt and decrypt 48 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:"AES-256-CBC":256:48:-1 AES Encrypt and decrypt 49 bytes -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:"AES-256-CBC":256:49:-1 AES Encrypt and decrypt 0 bytes in multiple parts -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:0:0: AES Encrypt and decrypt 1 bytes in multiple parts 1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:1:0: AES Encrypt and decrypt 1 bytes in multiple parts 2 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:0:1: AES Encrypt and decrypt 16 bytes in multiple parts 1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:16:0: AES Encrypt and decrypt 16 bytes in multiple parts 2 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:0:16: AES Encrypt and decrypt 16 bytes in multiple parts 3 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:1:15: AES Encrypt and decrypt 16 bytes in multiple parts 4 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:15:1: AES Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:15:7: AES Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:16:6: AES Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:17:6: AES Encrypt and decrypt 32 bytes in multiple parts 1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:16:16: AES Decrypt test vector #0 -depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_PADDING_PKCS7 +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_PADDING_PKCS7:POLARSSL_CIPHER_MODE_CBC decrypt_test_vec:POLARSSL_CIPHER_AES_128_CBC:POLARSSL_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"23f710842b9bb9c32f26648c786807ca":"00000000000000000000000000000000":"":"":POLARSSL_ERR_CIPHER_INVALID_PADDING:0 AES Decrypt test vector #1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC decrypt_test_vec:POLARSSL_CIPHER_AES_128_CBC:POLARSSL_PADDING_NONE:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"23f710842b9bb9c32f26648c786807ca":"00000000000000000000000000000000":"":"":0:0 AES Decrypt test vector #2 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC decrypt_test_vec:POLARSSL_CIPHER_AES_192_CBC:POLARSSL_PADDING_NONE:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"707b1dbb0ffa40ef7d95def421233fae":"fffffffff80000000000000000000000":"":"":0:0 AES Decrypt test vector #3 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC decrypt_test_vec:POLARSSL_CIPHER_AES_256_CBC:POLARSSL_PADDING_NONE:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"49af6b372135acef10132e548f217b17":"ff000000000000000000000000000000":"":"":0:0 AES Decrypt test vector #4 @@ -794,309 +791,309 @@ depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CFB decrypt_test_vec:POLARSSL_CIPHER_AES_128_CFB128:-1:"ffffffffff800000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"be66cfea2fecd6bf0ec7b4352c99bcaa":"00000000000000000000000000000000":"":"":0:0 AES-128-ECB Encrypt NIST KAT #1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_ENCRYPT:"00000000000000000000000000000000":"f34481ec3cc627bacd5dc3fb08f273e6":"0336763e966d92595a567cc9ce537f5e":0 AES-128-ECB Encrypt NIST KAT #2 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_ENCRYPT:"00000000000000000000000000000000":"9798c4640bad75c7c3227db910174e72":"a9a1631bf4996954ebc093957b234589":0 AES-128-ECB Encrypt NIST KAT #3 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_ENCRYPT:"00000000000000000000000000000000":"96ab5c2ff612d9dfaae8c31f30c42168":"ff4f8391a6a40ca5b25d23bedd44a597":0 AES-128-ECB Encrypt NIST KAT #4 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_ENCRYPT:"e0000000000000000000000000000000":"00000000000000000000000000000000":"72a1da770f5d7ac4c9ef94d822affd97":0 AES-128-ECB Encrypt NIST KAT #5 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_ENCRYPT:"f0000000000000000000000000000000":"00000000000000000000000000000000":"970014d634e2b7650777e8e84d03ccd8":0 AES-128-ECB Encrypt NIST KAT #6 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_ENCRYPT:"f8000000000000000000000000000000":"00000000000000000000000000000000":"f17e79aed0db7e279e955b5f493875a7":0 AES-128-ECB Encrypt NIST KAT #7 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_ENCRYPT:"fffffffffffff0000000000000000000":"00000000000000000000000000000000":"7b90785125505fad59b13c186dd66ce3":0 AES-128-ECB Encrypt NIST KAT #8 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_ENCRYPT:"fffffffffffff8000000000000000000":"00000000000000000000000000000000":"8b527a6aebdaec9eaef8eda2cb7783e5":0 AES-128-ECB Encrypt NIST KAT #9 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_ENCRYPT:"fffffffffffffc000000000000000000":"00000000000000000000000000000000":"43fdaf53ebbc9880c228617d6a9b548b":0 AES-128-ECB Encrypt NIST KAT #10 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_ENCRYPT:"ffffffffffffffffffffffffffffc000":"00000000000000000000000000000000":"70c46bb30692be657f7eaa93ebad9897":0 AES-128-ECB Encrypt NIST KAT #11 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_ENCRYPT:"ffffffffffffffffffffffffffffe000":"00000000000000000000000000000000":"323994cfb9da285a5d9642e1759b224a":0 AES-128-ECB Encrypt NIST KAT #12 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_ENCRYPT:"fffffffffffffffffffffffffffff000":"00000000000000000000000000000000":"1dbf57877b7b17385c85d0b54851e371":0 AES-128-ECB Encrypt NIST KAT #13 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_ENCRYPT:"00000000000000000000000000000000":"ffffffffffffffc00000000000000000":"3a4d354f02bb5a5e47d39666867f246a":0 AES-128-ECB Encrypt NIST KAT #14 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_ENCRYPT:"00000000000000000000000000000000":"ffffffffffffffe00000000000000000":"d451b8d6e1e1a0ebb155fbbf6e7b7dc3":0 AES-128-ECB Encrypt NIST KAT #15 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_ENCRYPT:"00000000000000000000000000000000":"fffffffffffffff00000000000000000":"6898d4f42fa7ba6a10ac05e87b9f2080":0 AES-128-ECB Encrypt NIST KAT #16 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_ENCRYPT:"00000000000000000000000000000000":"ffffffffffffffffffffffffe0000000":"082eb8be35f442fb52668e16a591d1d6":0 AES-128-ECB Encrypt NIST KAT #17 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_ENCRYPT:"00000000000000000000000000000000":"fffffffffffffffffffffffff0000000":"e656f9ecf5fe27ec3e4a73d00c282fb3":0 AES-128-ECB Encrypt NIST KAT #18 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_ENCRYPT:"00000000000000000000000000000000":"fffffffffffffffffffffffff8000000":"2ca8209d63274cd9a29bb74bcd77683a":0 AES-128-ECB Decrypt NIST KAT #1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_DECRYPT:"00000000000000000000000000000000":"db4f1aa530967d6732ce4715eb0ee24b":"ff000000000000000000000000000000":0 AES-128-ECB Decrypt NIST KAT #2 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_DECRYPT:"00000000000000000000000000000000":"a81738252621dd180a34f3455b4baa2f":"ff800000000000000000000000000000":0 AES-128-ECB Decrypt NIST KAT #3 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_DECRYPT:"00000000000000000000000000000000":"77e2b508db7fd89234caf7939ee5621a":"ffc00000000000000000000000000000":0 AES-128-ECB Decrypt NIST KAT #4 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_DECRYPT:"00000000000000000000000000000000":"dc43be40be0e53712f7e2bf5ca707209":"6a118a874519e64e9963798a503f1d35":0 AES-128-ECB Decrypt NIST KAT #5 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_DECRYPT:"00000000000000000000000000000000":"92beedab1895a94faa69b632e5cc47ce":"cb9fceec81286ca3e989bd979b0cb284":0 AES-128-ECB Decrypt NIST KAT #6 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_DECRYPT:"00000000000000000000000000000000":"459264f4798f6a78bacb89c15ed3d601":"b26aeb1874e47ca8358ff22378f09144":0 AES-128-ECB Decrypt NIST KAT #7 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_DECRYPT:"b69418a85332240dc82492353956ae0c":"a303d940ded8f0baff6f75414cac5243":"00000000000000000000000000000000":0 AES-128-ECB Decrypt NIST KAT #8 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_DECRYPT:"71b5c08a1993e1362e4d0ce9b22b78d5":"c2dabd117f8a3ecabfbb11d12194d9d0":"00000000000000000000000000000000":0 AES-128-ECB Decrypt NIST KAT #9 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_DECRYPT:"e234cdca2606b81f29408d5f6da21206":"fff60a4740086b3b9c56195b98d91a7b":"00000000000000000000000000000000":0 AES-128-ECB Decrypt NIST KAT #10 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_DECRYPT:"ffffffffffffffff0000000000000000":"84be19e053635f09f2665e7bae85b42d":"00000000000000000000000000000000":0 AES-128-ECB Decrypt NIST KAT #11 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_128_ECB:POLARSSL_DECRYPT:"ffffffffffffffff8000000000000000":"32cd652842926aea4aa6137bb2be2b5e":"00000000000000000000000000000000":0 AES-192-ECB Encrypt NIST KAT #1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_ENCRYPT:"000000000000000000000000000000000000000000000000":"fffffffffffffffffffff80000000000":"156f07767a85a4312321f63968338a01":0 AES-192-ECB Encrypt NIST KAT #2 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_ENCRYPT:"000000000000000000000000000000000000000000000000":"fffffffffffffffffffffc0000000000":"15eec9ebf42b9ca76897d2cd6c5a12e2":0 AES-192-ECB Encrypt NIST KAT #3 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_ENCRYPT:"000000000000000000000000000000000000000000000000":"fffffffffffffffffffffe0000000000":"db0d3a6fdcc13f915e2b302ceeb70fd8":0 AES-192-ECB Encrypt NIST KAT #4 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_ENCRYPT:"000000000000000000000000000000000000000000000000":"51719783d3185a535bd75adc65071ce1":"4f354592ff7c8847d2d0870ca9481b7c":0 AES-192-ECB Encrypt NIST KAT #5 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_ENCRYPT:"000000000000000000000000000000000000000000000000":"26aa49dcfe7629a8901a69a9914e6dfd":"d5e08bf9a182e857cf40b3a36ee248cc":0 AES-192-ECB Encrypt NIST KAT #6 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_ENCRYPT:"000000000000000000000000000000000000000000000000":"941a4773058224e1ef66d10e0a6ee782":"067cd9d3749207791841562507fa9626":0 AES-192-ECB Encrypt NIST KAT #7 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_ENCRYPT:"d2926527e0aa9f37b45e2ec2ade5853ef807576104c7ace3":"00000000000000000000000000000000":"dd619e1cf204446112e0af2b9afa8f8c":0 AES-192-ECB Encrypt NIST KAT #8 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_ENCRYPT:"982215f4e173dfa0fcffe5d3da41c4812c7bcc8ed3540f93":"00000000000000000000000000000000":"d4f0aae13c8fe9339fbf9e69ed0ad74d":0 AES-192-ECB Encrypt NIST KAT #9 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_ENCRYPT:"98c6b8e01e379fbd14e61af6af891596583565f2a27d59e9":"00000000000000000000000000000000":"19c80ec4a6deb7e5ed1033dda933498f":0 AES-192-ECB Encrypt NIST KAT #10 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_ENCRYPT:"fffffffffffffffffffffffffff800000000000000000000":"00000000000000000000000000000000":"8dd274bd0f1b58ae345d9e7233f9b8f3":0 AES-192-ECB Encrypt NIST KAT #11 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_ENCRYPT:"fffffffffffffffffffffffffffc00000000000000000000":"00000000000000000000000000000000":"9d6bdc8f4ce5feb0f3bed2e4b9a9bb0b":0 AES-192-ECB Encrypt NIST KAT #12 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_ENCRYPT:"fffffffffffffffffffffffffffe00000000000000000000":"00000000000000000000000000000000":"fd5548bcf3f42565f7efa94562528d46":0 AES-192-ECB Decrypt NIST KAT #1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_DECRYPT:"fffffffffffffffffffffffffffffffff000000000000000":"bb2852c891c5947d2ed44032c421b85f":"00000000000000000000000000000000":0 AES-192-ECB Decrypt NIST KAT #2 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_DECRYPT:"fffffffffffffffffffffffffffffffff800000000000000":"1b9f5fbd5e8a4264c0a85b80409afa5e":"00000000000000000000000000000000":0 AES-192-ECB Decrypt NIST KAT #3 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_DECRYPT:"fffffffffffffffffffffffffffffffffc00000000000000":"30dab809f85a917fe924733f424ac589":"00000000000000000000000000000000":0 AES-192-ECB Decrypt NIST KAT #4 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_DECRYPT:"61257134a518a0d57d9d244d45f6498cbc32f2bafc522d79":"cfe4d74002696ccf7d87b14a2f9cafc9":"00000000000000000000000000000000":0 AES-192-ECB Decrypt NIST KAT #5 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_DECRYPT:"b0ab0a6a818baef2d11fa33eac947284fb7d748cfb75e570":"d2eafd86f63b109b91f5dbb3a3fb7e13":"00000000000000000000000000000000":0 AES-192-ECB Decrypt NIST KAT #6 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_DECRYPT:"ee053aa011c8b428cdcc3636313c54d6a03cac01c71579d6":"9b9fdd1c5975655f539998b306a324af":"00000000000000000000000000000000":0 AES-192-ECB Decrypt NIST KAT #7 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_DECRYPT:"000000000000000000000000000000000000000000000000":"275cfc0413d8ccb70513c3859b1d0f72":"1b077a6af4b7f98229de786d7516b639":0 AES-192-ECB Decrypt NIST KAT #8 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_DECRYPT:"000000000000000000000000000000000000000000000000":"c9b8135ff1b5adc413dfd053b21bd96d":"9c2d8842e5f48f57648205d39a239af1":0 AES-192-ECB Decrypt NIST KAT #9 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_DECRYPT:"000000000000000000000000000000000000000000000000":"4a3650c3371ce2eb35e389a171427440":"bff52510095f518ecca60af4205444bb":0 AES-192-ECB Decrypt NIST KAT #10 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_DECRYPT:"000000000000000000000000000000000000000000000000":"b2099795e88cc158fd75ea133d7e7fbe":"ffffffffffffffffffffc00000000000":0 AES-192-ECB Decrypt NIST KAT #11 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_DECRYPT:"000000000000000000000000000000000000000000000000":"a6cae46fb6fadfe7a2c302a34242817b":"ffffffffffffffffffffe00000000000":0 AES-192-ECB Decrypt NIST KAT #12 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_192_ECB:POLARSSL_DECRYPT:"000000000000000000000000000000000000000000000000":"026a7024d6a902e0b3ffccbaa910cc3f":"fffffffffffffffffffff00000000000":0 AES-256-ECB Encrypt NIST KAT #1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_ENCRYPT:"c1cc358b449909a19436cfbb3f852ef8bcb5ed12ac7058325f56e6099aab1a1c":"00000000000000000000000000000000":"352065272169abf9856843927d0674fd":0 AES-256-ECB Encrypt NIST KAT #2 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_ENCRYPT:"984ca75f4ee8d706f46c2d98c0bf4a45f5b00d791c2dfeb191b5ed8e420fd627":"00000000000000000000000000000000":"4307456a9e67813b452e15fa8fffe398":0 AES-256-ECB Encrypt NIST KAT #3 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_ENCRYPT:"b43d08a447ac8609baadae4ff12918b9f68fc1653f1269222f123981ded7a92f":"00000000000000000000000000000000":"4663446607354989477a5c6f0f007ef4":0 AES-256-ECB Encrypt NIST KAT #4 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_ENCRYPT:"0000000000000000000000000000000000000000000000000000000000000000":"0b24af36193ce4665f2825d7b4749c98":"a9ff75bd7cf6613d3731c77c3b6d0c04":0 AES-256-ECB Encrypt NIST KAT #5 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_ENCRYPT:"0000000000000000000000000000000000000000000000000000000000000000":"761c1fe41a18acf20d241650611d90f1":"623a52fcea5d443e48d9181ab32c7421":0 AES-256-ECB Encrypt NIST KAT #6 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_ENCRYPT:"0000000000000000000000000000000000000000000000000000000000000000":"8a560769d605868ad80d819bdba03771":"38f2c7ae10612415d27ca190d27da8b4":0 AES-256-ECB Encrypt NIST KAT #7 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_ENCRYPT:"0000000000000000000000000000000000000000000000000000000000000000":"ffffff80000000000000000000000000":"36aff0ef7bf3280772cf4cac80a0d2b2":0 AES-256-ECB Encrypt NIST KAT #8 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_ENCRYPT:"0000000000000000000000000000000000000000000000000000000000000000":"ffffffc0000000000000000000000000":"1f8eedea0f62a1406d58cfc3ecea72cf":0 AES-256-ECB Encrypt NIST KAT #9 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_ENCRYPT:"0000000000000000000000000000000000000000000000000000000000000000":"ffffffe0000000000000000000000000":"abf4154a3375a1d3e6b1d454438f95a6":0 AES-256-ECB Encrypt NIST KAT #10 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_ENCRYPT:"ffffffffffffffffffffffffffffffffffff8000000000000000000000000000":"00000000000000000000000000000000":"45d089c36d5c5a4efc689e3b0de10dd5":0 AES-256-ECB Encrypt NIST KAT #11 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_ENCRYPT:"ffffffffffffffffffffffffffffffffffffc000000000000000000000000000":"00000000000000000000000000000000":"b4da5df4becb5462e03a0ed00d295629":0 AES-256-ECB Encrypt NIST KAT #12 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_ENCRYPT:"ffffffffffffffffffffffffffffffffffffe000000000000000000000000000":"00000000000000000000000000000000":"dcf4e129136c1a4b7a0f38935cc34b2b":0 AES-256-ECB Decrypt NIST KAT #1 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_DECRYPT:"fffffffffffffffffffffffffffffffffffffffffffffff00000000000000000":"edf61ae362e882ddc0167474a7a77f3a":"00000000000000000000000000000000":0 AES-256-ECB Decrypt NIST KAT #2 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_DECRYPT:"fffffffffffffffffffffffffffffffffffffffffffffff80000000000000000":"6168b00ba7859e0970ecfd757efecf7c":"00000000000000000000000000000000":0 AES-256-ECB Decrypt NIST KAT #3 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_DECRYPT:"fffffffffffffffffffffffffffffffffffffffffffffffc0000000000000000":"d1415447866230d28bb1ea18a4cdfd02":"00000000000000000000000000000000":0 AES-256-ECB Decrypt NIST KAT #4 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_DECRYPT:"f8be9ba615c5a952cabbca24f68f8593039624d524c816acda2c9183bd917cb9":"a3944b95ca0b52043584ef02151926a8":"00000000000000000000000000000000":0 AES-256-ECB Decrypt NIST KAT #5 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_DECRYPT:"797f8b3d176dac5b7e34a2d539c4ef367a16f8635f6264737591c5c07bf57a3e":"a74289fe73a4c123ca189ea1e1b49ad5":"00000000000000000000000000000000":0 AES-256-ECB Decrypt NIST KAT #6 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_DECRYPT:"6838d40caf927749c13f0329d331f448e202c73ef52c5f73a37ca635d4c47707":"b91d4ea4488644b56cf0812fa7fcf5fc":"00000000000000000000000000000000":0 AES-256-ECB Decrypt NIST KAT #7 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_DECRYPT:"0000000000000000000000000000000000000000000000000000000000000000":"623a52fcea5d443e48d9181ab32c7421":"761c1fe41a18acf20d241650611d90f1":0 AES-256-ECB Decrypt NIST KAT #8 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_DECRYPT:"0000000000000000000000000000000000000000000000000000000000000000":"38f2c7ae10612415d27ca190d27da8b4":"8a560769d605868ad80d819bdba03771":0 AES-256-ECB Decrypt NIST KAT #9 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_DECRYPT:"0000000000000000000000000000000000000000000000000000000000000000":"1bc704f1bce135ceb810341b216d7abe":"91fbef2d15a97816060bee1feaa49afe":0 AES-256-ECB Decrypt NIST KAT #10 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_DECRYPT:"0000000000000000000000000000000000000000000000000000000000000000":"ddc6bf790c15760d8d9aeb6f9a75fd4e":"80000000000000000000000000000000":0 AES-256-ECB Decrypt NIST KAT #11 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_DECRYPT:"0000000000000000000000000000000000000000000000000000000000000000":"0a6bdc6d4c1e6280301fd8e97ddbe601":"c0000000000000000000000000000000":0 AES-256-ECB Decrypt NIST KAT #12 -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC test_vec_ecb:POLARSSL_CIPHER_AES_256_ECB:POLARSSL_DECRYPT:"0000000000000000000000000000000000000000000000000000000000000000":"9b80eefb7ebe2d2b16247aa0efc72f5d":"e0000000000000000000000000000000":0 diff --git a/tests/suites/test_suite_cipher.arc4.data b/tests/suites/test_suite_cipher.arc4.data index 93d35b35d..46ad0bb69 100644 --- a/tests/suites/test_suite_cipher.arc4.data +++ b/tests/suites/test_suite_cipher.arc4.data @@ -1,10 +1,3 @@ -Cipher Selftest -depends_on:POLARSSL_SELF_TEST -cipher_selftest: - -Decrypt empty buffer -dec_empty_buf: - ARC4 Encrypt and decrypt 0 bytes depends_on:POLARSSL_ARC4_C enc_dec_buf:POLARSSL_CIPHER_ARC4_128:"ARC4-128":128:0:-1 diff --git a/tests/suites/test_suite_cipher.blowfish.data b/tests/suites/test_suite_cipher.blowfish.data index ac1ab10fb..2921c6109 100644 --- a/tests/suites/test_suite_cipher.blowfish.data +++ b/tests/suites/test_suite_cipher.blowfish.data @@ -1,352 +1,345 @@ -Cipher Selftest -depends_on:POLARSSL_SELF_TEST -cipher_selftest: - -Decrypt empty buffer -dec_empty_buf: - BLOWFISH Encrypt and decrypt 0 bytes -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:0:-1 BLOWFISH Encrypt and decrypt 1 byte -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:1:-1 BLOWFISH Encrypt and decrypt 2 bytes -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:2:-1 BLOWFISH Encrypt and decrypt 7 bytes -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:7:-1 BLOWFISH Encrypt and decrypt 8 bytes -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:8:-1 BLOWFISH Encrypt and decrypt 9 bytes -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:9:-1 BLOWFISH Encrypt and decrypt 15 bytes -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:15:-1 BLOWFISH Encrypt and decrypt 16 bytes -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:16:-1 BLOWFISH Encrypt and decrypt 17 bytes -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:17:-1 BLOWFISH Encrypt and decrypt 31 bytes -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:31:-1 BLOWFISH Encrypt and decrypt 32 bytes -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:32:-1 BLOWFISH Encrypt and decrypt 32 bytes -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:33:-1 BLOWFISH Encrypt and decrypt 47 bytes -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:47:-1 BLOWFISH Encrypt and decrypt 48 bytes -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:48:-1 BLOWFISH Encrypt and decrypt 49 bytes -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:49:-1 BLOWFISH Encrypt and decrypt 0 bytes with one and zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:0:POLARSSL_PADDING_ONE_AND_ZEROS BLOWFISH Encrypt and decrypt 1 byte with one and zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:1:POLARSSL_PADDING_ONE_AND_ZEROS BLOWFISH Encrypt and decrypt 2 bytes with one and zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:2:POLARSSL_PADDING_ONE_AND_ZEROS BLOWFISH Encrypt and decrypt 7 bytes with one and zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:7:POLARSSL_PADDING_ONE_AND_ZEROS BLOWFISH Encrypt and decrypt 8 bytes with one and zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:8:POLARSSL_PADDING_ONE_AND_ZEROS BLOWFISH Encrypt and decrypt 9 bytes with one and zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:9:POLARSSL_PADDING_ONE_AND_ZEROS BLOWFISH Encrypt and decrypt 15 bytes with one and zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:15:POLARSSL_PADDING_ONE_AND_ZEROS BLOWFISH Encrypt and decrypt 16 bytes with one and zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:16:POLARSSL_PADDING_ONE_AND_ZEROS BLOWFISH Encrypt and decrypt 17 bytes with one and zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:17:POLARSSL_PADDING_ONE_AND_ZEROS BLOWFISH Encrypt and decrypt 31 bytes with one and zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:31:POLARSSL_PADDING_ONE_AND_ZEROS BLOWFISH Encrypt and decrypt 32 bytes with one and zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:32:POLARSSL_PADDING_ONE_AND_ZEROS BLOWFISH Encrypt and decrypt 32 bytes with one and zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:33:POLARSSL_PADDING_ONE_AND_ZEROS BLOWFISH Encrypt and decrypt 47 bytes with one and zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:47:POLARSSL_PADDING_ONE_AND_ZEROS BLOWFISH Encrypt and decrypt 48 bytes with one and zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:48:POLARSSL_PADDING_ONE_AND_ZEROS BLOWFISH Encrypt and decrypt 49 bytes with one and zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:49:POLARSSL_PADDING_ONE_AND_ZEROS BLOWFISH Encrypt and decrypt 0 bytes with zeros and len padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:0:POLARSSL_PADDING_ZEROS_AND_LEN BLOWFISH Encrypt and decrypt 1 byte with zeros and len padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:1:POLARSSL_PADDING_ZEROS_AND_LEN BLOWFISH Encrypt and decrypt 2 bytes with zeros and len padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:2:POLARSSL_PADDING_ZEROS_AND_LEN BLOWFISH Encrypt and decrypt 7 bytes with zeros and len padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:7:POLARSSL_PADDING_ZEROS_AND_LEN BLOWFISH Encrypt and decrypt 8 bytes with zeros and len padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:8:POLARSSL_PADDING_ZEROS_AND_LEN BLOWFISH Encrypt and decrypt 9 bytes with zeros and len padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:9:POLARSSL_PADDING_ZEROS_AND_LEN BLOWFISH Encrypt and decrypt 15 bytes with zeros and len padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:15:POLARSSL_PADDING_ZEROS_AND_LEN BLOWFISH Encrypt and decrypt 16 bytes with zeros and len padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:16:POLARSSL_PADDING_ZEROS_AND_LEN BLOWFISH Encrypt and decrypt 17 bytes with zeros and len padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:17:POLARSSL_PADDING_ZEROS_AND_LEN BLOWFISH Encrypt and decrypt 31 bytes with zeros and len padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:31:POLARSSL_PADDING_ZEROS_AND_LEN BLOWFISH Encrypt and decrypt 32 bytes with zeros and len padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:32:POLARSSL_PADDING_ZEROS_AND_LEN BLOWFISH Encrypt and decrypt 32 bytes with zeros and len padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:33:POLARSSL_PADDING_ZEROS_AND_LEN BLOWFISH Encrypt and decrypt 47 bytes with zeros and len padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:47:POLARSSL_PADDING_ZEROS_AND_LEN BLOWFISH Encrypt and decrypt 48 bytes with zeros and len padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:48:POLARSSL_PADDING_ZEROS_AND_LEN BLOWFISH Encrypt and decrypt 49 bytes with zeros and len padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:49:POLARSSL_PADDING_ZEROS_AND_LEN BLOWFISH Encrypt and decrypt 0 bytes with zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:0:POLARSSL_PADDING_ZEROS BLOWFISH Encrypt and decrypt 1 byte with zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:1:POLARSSL_PADDING_ZEROS BLOWFISH Encrypt and decrypt 2 bytes with zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:2:POLARSSL_PADDING_ZEROS BLOWFISH Encrypt and decrypt 7 bytes with zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:7:POLARSSL_PADDING_ZEROS BLOWFISH Encrypt and decrypt 8 bytes with zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:8:POLARSSL_PADDING_ZEROS BLOWFISH Encrypt and decrypt 9 bytes with zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:9:POLARSSL_PADDING_ZEROS BLOWFISH Encrypt and decrypt 15 bytes with zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:15:POLARSSL_PADDING_ZEROS BLOWFISH Encrypt and decrypt 16 bytes with zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:16:POLARSSL_PADDING_ZEROS BLOWFISH Encrypt and decrypt 17 bytes with zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:17:POLARSSL_PADDING_ZEROS BLOWFISH Encrypt and decrypt 31 bytes with zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:31:POLARSSL_PADDING_ZEROS BLOWFISH Encrypt and decrypt 32 bytes with zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:32:POLARSSL_PADDING_ZEROS BLOWFISH Encrypt and decrypt 32 bytes with zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:33:POLARSSL_PADDING_ZEROS BLOWFISH Encrypt and decrypt 47 bytes with zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:47:POLARSSL_PADDING_ZEROS BLOWFISH Encrypt and decrypt 48 bytes with zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:48:POLARSSL_PADDING_ZEROS BLOWFISH Encrypt and decrypt 49 bytes with zeros padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:49:POLARSSL_PADDING_ZEROS BLOWFISH Encrypt and decrypt 0 bytes with no padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:0:POLARSSL_PADDING_NONE BLOWFISH Encrypt and decrypt 8 bytes with no padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:8:POLARSSL_PADDING_NONE BLOWFISH Encrypt and decrypt 16 bytes with no padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:16:POLARSSL_PADDING_NONE BLOWFISH Encrypt and decrypt 32 bytes with no padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:32:POLARSSL_PADDING_NONE BLOWFISH Encrypt and decrypt 48 bytes with no padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_BLOWFISH_CBC:"BLOWFISH-CBC":128:48:POLARSSL_PADDING_NONE BLOWFISH Try encrypting 1 bytes with no padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_BLOWFISH_CBC:POLARSSL_PADDING_NONE:128:1:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED BLOWFISH Try encrypting 2 bytes with no padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_BLOWFISH_CBC:POLARSSL_PADDING_NONE:128:2:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED BLOWFISH Try encrypting 7 bytes with no padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_BLOWFISH_CBC:POLARSSL_PADDING_NONE:128:7:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED BLOWFISH Try encrypting 9 bytes with no padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_BLOWFISH_CBC:POLARSSL_PADDING_NONE:128:9:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED BLOWFISH Try encrypting 15 bytes with no padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_BLOWFISH_CBC:POLARSSL_PADDING_NONE:128:15:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED BLOWFISH Try encrypting 17 bytes with no padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_BLOWFISH_CBC:POLARSSL_PADDING_NONE:128:17:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED BLOWFISH Try encrypting 31 bytes with no padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_BLOWFISH_CBC:POLARSSL_PADDING_NONE:128:31:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED BLOWFISH Try encrypting 33 bytes with no padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_BLOWFISH_CBC:POLARSSL_PADDING_NONE:128:33:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED BLOWFISH Try encrypting 47 bytes with no padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_BLOWFISH_CBC:POLARSSL_PADDING_NONE:128:47:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED BLOWFISH Try encrypting 49 bytes with no padding -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_BLOWFISH_CBC:POLARSSL_PADDING_NONE:128:49:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED BLOWFISH Encrypt and decrypt 0 bytes in multiple parts -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_BLOWFISH_CBC:128:0:0: BLOWFISH Encrypt and decrypt 1 bytes in multiple parts 1 -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_BLOWFISH_CBC:128:1:0: BLOWFISH Encrypt and decrypt 1 bytes in multiple parts 2 -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_BLOWFISH_CBC:128:0:1: BLOWFISH Encrypt and decrypt 16 bytes in multiple parts 1 -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_BLOWFISH_CBC:128:16:0: BLOWFISH Encrypt and decrypt 16 bytes in multiple parts 2 -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_BLOWFISH_CBC:128:0:16: BLOWFISH Encrypt and decrypt 16 bytes in multiple parts 3 -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_BLOWFISH_CBC:128:1:15: BLOWFISH Encrypt and decrypt 16 bytes in multiple parts 4 -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_BLOWFISH_CBC:128:15:1: BLOWFISH Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_BLOWFISH_CBC:128:15:7: BLOWFISH Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_BLOWFISH_CBC:128:16:6: BLOWFISH Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_BLOWFISH_CBC:128:17:6: BLOWFISH Encrypt and decrypt 32 bytes in multiple parts 1 -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_BLOWFISH_CBC:128:16:16: BLOWFISH Encrypt and decrypt 0 bytes diff --git a/tests/suites/test_suite_cipher.camellia.data b/tests/suites/test_suite_cipher.camellia.data index 84fe20e8c..00cd54573 100644 --- a/tests/suites/test_suite_cipher.camellia.data +++ b/tests/suites/test_suite_cipher.camellia.data @@ -1,352 +1,345 @@ -Cipher Selftest -depends_on:POLARSSL_SELF_TEST -cipher_selftest: - -Decrypt empty buffer -dec_empty_buf: - CAMELLIA Encrypt and decrypt 0 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:0:-1 CAMELLIA Encrypt and decrypt 1 byte -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:1:-1 CAMELLIA Encrypt and decrypt 2 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:2:-1 CAMELLIA Encrypt and decrypt 7 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:7:-1 CAMELLIA Encrypt and decrypt 8 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:8:-1 CAMELLIA Encrypt and decrypt 9 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:9:-1 CAMELLIA Encrypt and decrypt 15 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:15:-1 CAMELLIA Encrypt and decrypt 16 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:16:-1 CAMELLIA Encrypt and decrypt 17 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:17:-1 CAMELLIA Encrypt and decrypt 31 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:31:-1 CAMELLIA Encrypt and decrypt 32 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:32:-1 CAMELLIA Encrypt and decrypt 32 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:33:-1 CAMELLIA Encrypt and decrypt 47 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:47:-1 CAMELLIA Encrypt and decrypt 48 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:48:-1 CAMELLIA Encrypt and decrypt 49 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:49:-1 CAMELLIA Encrypt and decrypt 0 bytes with one and zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:0:POLARSSL_PADDING_ONE_AND_ZEROS CAMELLIA Encrypt and decrypt 1 byte with one and zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:1:POLARSSL_PADDING_ONE_AND_ZEROS CAMELLIA Encrypt and decrypt 2 bytes with one and zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:2:POLARSSL_PADDING_ONE_AND_ZEROS CAMELLIA Encrypt and decrypt 7 bytes with one and zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:7:POLARSSL_PADDING_ONE_AND_ZEROS CAMELLIA Encrypt and decrypt 8 bytes with one and zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:8:POLARSSL_PADDING_ONE_AND_ZEROS CAMELLIA Encrypt and decrypt 9 bytes with one and zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:9:POLARSSL_PADDING_ONE_AND_ZEROS CAMELLIA Encrypt and decrypt 15 bytes with one and zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:15:POLARSSL_PADDING_ONE_AND_ZEROS CAMELLIA Encrypt and decrypt 16 bytes with one and zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:16:POLARSSL_PADDING_ONE_AND_ZEROS CAMELLIA Encrypt and decrypt 17 bytes with one and zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:17:POLARSSL_PADDING_ONE_AND_ZEROS CAMELLIA Encrypt and decrypt 31 bytes with one and zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:31:POLARSSL_PADDING_ONE_AND_ZEROS CAMELLIA Encrypt and decrypt 32 bytes with one and zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:32:POLARSSL_PADDING_ONE_AND_ZEROS CAMELLIA Encrypt and decrypt 32 bytes with one and zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:33:POLARSSL_PADDING_ONE_AND_ZEROS CAMELLIA Encrypt and decrypt 47 bytes with one and zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:47:POLARSSL_PADDING_ONE_AND_ZEROS CAMELLIA Encrypt and decrypt 48 bytes with one and zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:48:POLARSSL_PADDING_ONE_AND_ZEROS CAMELLIA Encrypt and decrypt 49 bytes with one and zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:49:POLARSSL_PADDING_ONE_AND_ZEROS CAMELLIA Encrypt and decrypt 0 bytes with zeros and len padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:0:POLARSSL_PADDING_ZEROS_AND_LEN CAMELLIA Encrypt and decrypt 1 byte with zeros and len padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:1:POLARSSL_PADDING_ZEROS_AND_LEN CAMELLIA Encrypt and decrypt 2 bytes with zeros and len padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:2:POLARSSL_PADDING_ZEROS_AND_LEN CAMELLIA Encrypt and decrypt 7 bytes with zeros and len padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:7:POLARSSL_PADDING_ZEROS_AND_LEN CAMELLIA Encrypt and decrypt 8 bytes with zeros and len padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:8:POLARSSL_PADDING_ZEROS_AND_LEN CAMELLIA Encrypt and decrypt 9 bytes with zeros and len padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:9:POLARSSL_PADDING_ZEROS_AND_LEN CAMELLIA Encrypt and decrypt 15 bytes with zeros and len padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:15:POLARSSL_PADDING_ZEROS_AND_LEN CAMELLIA Encrypt and decrypt 16 bytes with zeros and len padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:16:POLARSSL_PADDING_ZEROS_AND_LEN CAMELLIA Encrypt and decrypt 17 bytes with zeros and len padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:17:POLARSSL_PADDING_ZEROS_AND_LEN CAMELLIA Encrypt and decrypt 31 bytes with zeros and len padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:31:POLARSSL_PADDING_ZEROS_AND_LEN CAMELLIA Encrypt and decrypt 32 bytes with zeros and len padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:32:POLARSSL_PADDING_ZEROS_AND_LEN CAMELLIA Encrypt and decrypt 32 bytes with zeros and len padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:33:POLARSSL_PADDING_ZEROS_AND_LEN CAMELLIA Encrypt and decrypt 47 bytes with zeros and len padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:47:POLARSSL_PADDING_ZEROS_AND_LEN CAMELLIA Encrypt and decrypt 48 bytes with zeros and len padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:48:POLARSSL_PADDING_ZEROS_AND_LEN CAMELLIA Encrypt and decrypt 49 bytes with zeros and len padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:49:POLARSSL_PADDING_ZEROS_AND_LEN CAMELLIA Encrypt and decrypt 0 bytes with zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:0:POLARSSL_PADDING_ZEROS CAMELLIA Encrypt and decrypt 1 byte with zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:1:POLARSSL_PADDING_ZEROS CAMELLIA Encrypt and decrypt 2 bytes with zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:2:POLARSSL_PADDING_ZEROS CAMELLIA Encrypt and decrypt 7 bytes with zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:7:POLARSSL_PADDING_ZEROS CAMELLIA Encrypt and decrypt 8 bytes with zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:8:POLARSSL_PADDING_ZEROS CAMELLIA Encrypt and decrypt 9 bytes with zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:9:POLARSSL_PADDING_ZEROS CAMELLIA Encrypt and decrypt 15 bytes with zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:15:POLARSSL_PADDING_ZEROS CAMELLIA Encrypt and decrypt 16 bytes with zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:16:POLARSSL_PADDING_ZEROS CAMELLIA Encrypt and decrypt 17 bytes with zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:17:POLARSSL_PADDING_ZEROS CAMELLIA Encrypt and decrypt 31 bytes with zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:31:POLARSSL_PADDING_ZEROS CAMELLIA Encrypt and decrypt 32 bytes with zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:32:POLARSSL_PADDING_ZEROS CAMELLIA Encrypt and decrypt 32 bytes with zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:33:POLARSSL_PADDING_ZEROS CAMELLIA Encrypt and decrypt 47 bytes with zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:47:POLARSSL_PADDING_ZEROS CAMELLIA Encrypt and decrypt 48 bytes with zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:48:POLARSSL_PADDING_ZEROS CAMELLIA Encrypt and decrypt 49 bytes with zeros padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:49:POLARSSL_PADDING_ZEROS CAMELLIA Encrypt and decrypt 0 bytes with no padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:0:POLARSSL_PADDING_NONE CAMELLIA Encrypt and decrypt 16 bytes with no padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:16:POLARSSL_PADDING_NONE CAMELLIA Encrypt and decrypt 32 bytes with no padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:32:POLARSSL_PADDING_NONE CAMELLIA Encrypt and decrypt 48 bytes with no padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:"CAMELLIA-128-CBC":128:48:POLARSSL_PADDING_NONE CAMELLIA Try encrypting 1 bytes with no padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_CAMELLIA_128_CBC:POLARSSL_PADDING_NONE:128:1:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED CAMELLIA Try encrypting 2 bytes with no padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_CAMELLIA_128_CBC:POLARSSL_PADDING_NONE:128:2:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED CAMELLIA Try encrypting 7 bytes with no padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_CAMELLIA_128_CBC:POLARSSL_PADDING_NONE:128:7:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED CAMELLIA Try encrypting 8 bytes with no padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_CAMELLIA_128_CBC:POLARSSL_PADDING_NONE:128:8:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED CAMELLIA Try encrypting 9 bytes with no padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_CAMELLIA_128_CBC:POLARSSL_PADDING_NONE:128:9:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED CAMELLIA Try encrypting 15 bytes with no padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_CAMELLIA_128_CBC:POLARSSL_PADDING_NONE:128:15:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED CAMELLIA Try encrypting 17 bytes with no padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_CAMELLIA_128_CBC:POLARSSL_PADDING_NONE:128:17:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED CAMELLIA Try encrypting 31 bytes with no padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_CAMELLIA_128_CBC:POLARSSL_PADDING_NONE:128:31:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED CAMELLIA Try encrypting 33 bytes with no padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_CAMELLIA_128_CBC:POLARSSL_PADDING_NONE:128:33:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED CAMELLIA Try encrypting 47 bytes with no padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_CAMELLIA_128_CBC:POLARSSL_PADDING_NONE:128:47:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED CAMELLIA Try encrypting 49 bytes with no padding -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_fail:POLARSSL_CIPHER_CAMELLIA_128_CBC:POLARSSL_PADDING_NONE:128:49:POLARSSL_ERR_CIPHER_FULL_BLOCK_EXPECTED CAMELLIA Encrypt and decrypt 0 bytes in multiple parts -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:0:0: CAMELLIA Encrypt and decrypt 1 bytes in multiple parts 1 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:1:0: CAMELLIA Encrypt and decrypt 1 bytes in multiple parts 2 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:0:1: CAMELLIA Encrypt and decrypt 16 bytes in multiple parts 1 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:16:0: CAMELLIA Encrypt and decrypt 16 bytes in multiple parts 2 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:0:16: CAMELLIA Encrypt and decrypt 16 bytes in multiple parts 3 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:1:15: CAMELLIA Encrypt and decrypt 16 bytes in multiple parts 4 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:15:1: CAMELLIA Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:15:7: CAMELLIA Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:16:6: CAMELLIA Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:17:6: CAMELLIA Encrypt and decrypt 32 bytes in multiple parts 1 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:16:16: CAMELLIA Encrypt and decrypt 0 bytes @@ -558,209 +551,209 @@ depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CTR enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CTR:128:16:16: CAMELLIA Encrypt and decrypt 0 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:"CAMELLIA-192-CBC":192:0:-1 CAMELLIA Encrypt and decrypt 1 byte -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:"CAMELLIA-192-CBC":192:1:-1 CAMELLIA Encrypt and decrypt 2 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:"CAMELLIA-192-CBC":192:2:-1 CAMELLIA Encrypt and decrypt 7 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:"CAMELLIA-192-CBC":192:7:-1 CAMELLIA Encrypt and decrypt 8 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:"CAMELLIA-192-CBC":192:8:-1 CAMELLIA Encrypt and decrypt 9 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:"CAMELLIA-192-CBC":192:9:-1 CAMELLIA Encrypt and decrypt 15 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:"CAMELLIA-192-CBC":192:15:-1 CAMELLIA Encrypt and decrypt 16 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:"CAMELLIA-192-CBC":192:16:-1 CAMELLIA Encrypt and decrypt 17 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:"CAMELLIA-192-CBC":192:17:-1 CAMELLIA Encrypt and decrypt 31 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:"CAMELLIA-192-CBC":192:31:-1 CAMELLIA Encrypt and decrypt 32 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:"CAMELLIA-192-CBC":192:32:-1 CAMELLIA Encrypt and decrypt 32 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:"CAMELLIA-192-CBC":192:33:-1 CAMELLIA Encrypt and decrypt 47 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:"CAMELLIA-192-CBC":192:47:-1 CAMELLIA Encrypt and decrypt 48 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:"CAMELLIA-192-CBC":192:48:-1 CAMELLIA Encrypt and decrypt 49 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:"CAMELLIA-192-CBC":192:49:-1 CAMELLIA Encrypt and decrypt 0 bytes in multiple parts -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:0:0: CAMELLIA Encrypt and decrypt 1 bytes in multiple parts 1 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:1:0: CAMELLIA Encrypt and decrypt 1 bytes in multiple parts 2 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:0:1: CAMELLIA Encrypt and decrypt 16 bytes in multiple parts 1 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:16:0: CAMELLIA Encrypt and decrypt 16 bytes in multiple parts 2 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:0:16: CAMELLIA Encrypt and decrypt 16 bytes in multiple parts 3 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:1:15: CAMELLIA Encrypt and decrypt 16 bytes in multiple parts 4 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:15:1: CAMELLIA Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:15:7: CAMELLIA Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:16:6: CAMELLIA Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:17:6: CAMELLIA Encrypt and decrypt 32 bytes in multiple parts 1 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:16:16: CAMELLIA Encrypt and decrypt 0 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:"CAMELLIA-256-CBC":256:0:-1 CAMELLIA Encrypt and decrypt 1 byte -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:"CAMELLIA-256-CBC":256:1:-1 CAMELLIA Encrypt and decrypt 2 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:"CAMELLIA-256-CBC":256:2:-1 CAMELLIA Encrypt and decrypt 7 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:"CAMELLIA-256-CBC":256:7:-1 CAMELLIA Encrypt and decrypt 8 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:"CAMELLIA-256-CBC":256:8:-1 CAMELLIA Encrypt and decrypt 9 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:"CAMELLIA-256-CBC":256:9:-1 CAMELLIA Encrypt and decrypt 15 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:"CAMELLIA-256-CBC":256:15:-1 CAMELLIA Encrypt and decrypt 16 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:"CAMELLIA-256-CBC":256:16:-1 CAMELLIA Encrypt and decrypt 17 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:"CAMELLIA-256-CBC":256:17:-1 CAMELLIA Encrypt and decrypt 31 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:"CAMELLIA-256-CBC":256:31:-1 CAMELLIA Encrypt and decrypt 32 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:"CAMELLIA-256-CBC":256:32:-1 CAMELLIA Encrypt and decrypt 32 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:"CAMELLIA-256-CBC":256:33:-1 CAMELLIA Encrypt and decrypt 47 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:"CAMELLIA-256-CBC":256:47:-1 CAMELLIA Encrypt and decrypt 48 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:"CAMELLIA-256-CBC":256:48:-1 CAMELLIA Encrypt and decrypt 49 bytes -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:"CAMELLIA-256-CBC":256:49:-1 CAMELLIA Encrypt and decrypt 0 bytes in multiple parts -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:0:0: CAMELLIA Encrypt and decrypt 1 bytes in multiple parts 1 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:1:0: CAMELLIA Encrypt and decrypt 1 bytes in multiple parts 2 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:0:1: CAMELLIA Encrypt and decrypt 16 bytes in multiple parts 1 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:16:0: CAMELLIA Encrypt and decrypt 16 bytes in multiple parts 2 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:0:16: CAMELLIA Encrypt and decrypt 16 bytes in multiple parts 3 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:1:15: CAMELLIA Encrypt and decrypt 16 bytes in multiple parts 4 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:15:1: CAMELLIA Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:15:7: CAMELLIA Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:16:6: CAMELLIA Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:17:6: CAMELLIA Encrypt and decrypt 32 bytes in multiple parts 1 -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:16:16: diff --git a/tests/suites/test_suite_cipher.des.data b/tests/suites/test_suite_cipher.des.data index 01da02c49..ce68a5ced 100644 --- a/tests/suites/test_suite_cipher.des.data +++ b/tests/suites/test_suite_cipher.des.data @@ -1,558 +1,551 @@ -Cipher Selftest -depends_on:POLARSSL_SELF_TEST -cipher_selftest: - -Decrypt empty buffer -dec_empty_buf: - DES Encrypt and decrypt 0 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:0:-1 DES Encrypt and decrypt 1 byte -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:1:-1 DES Encrypt and decrypt 2 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:2:-1 DES Encrypt and decrypt 7 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:7:-1 DES Encrypt and decrypt 8 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:8:-1 DES Encrypt and decrypt 9 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:9:-1 DES Encrypt and decrypt 15 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:15:-1 DES Encrypt and decrypt 16 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:16:-1 DES Encrypt and decrypt 17 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:17:-1 DES Encrypt and decrypt 31 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:31:-1 DES Encrypt and decrypt 32 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:32:-1 DES Encrypt and decrypt 32 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:33:-1 DES Encrypt and decrypt 47 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:47:-1 DES Encrypt and decrypt 48 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:48:-1 DES Encrypt and decrypt 49 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:49:-1 DES Encrypt and decrypt 0 bytes with one and zeros padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 1 byte with one and zeros padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 2 bytes with one and zeros padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 7 bytes with one and zeros padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 8 bytes with one and zeros padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 9 bytes with one and zeros padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 15 bytes with one and zeros padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 16 bytes with one and zeros padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 17 bytes with one and zeros padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 31 bytes with one and zeros padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 32 bytes with one and zeros padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 32 bytes with one and zeros padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 47 bytes with one and zeros padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 48 bytes with one and zeros padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 49 bytes with one and zeros padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 0 bytes with zeros and len padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 1 byte with zeros and len padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 2 bytes with zeros and len padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 7 bytes with zeros and len padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 8 bytes with zeros and len padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 9 bytes with zeros and len padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 15 bytes with zeros and len padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 16 bytes with zeros and len padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 17 bytes with zeros and len padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 31 bytes with zeros and len padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 32 bytes with zeros and len padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 32 bytes with zeros and len padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 47 bytes with zeros and len padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 48 bytes with zeros and len padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 49 bytes with zeros and len padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 0 bytes with zeros padding -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:0:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 1 byte with zeros padding -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:1:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 2 bytes with zeros padding -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:2:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 7 bytes with zeros padding -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:7:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 8 bytes with zeros padding -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:8:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 9 bytes with zeros padding -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:9:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 15 bytes with zeros padding -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:15:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 16 bytes with zeros padding -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:16:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 17 bytes with zeros padding -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:17:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 31 bytes with zeros padding -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:31:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 32 bytes with zeros padding -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:32:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 32 bytes with zeros padding -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:33:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 47 bytes with zeros padding -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:47:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 48 bytes with zeros padding -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:48:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 49 bytes with zeros padding -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:49:POLARSSL_PADDING_ZEROS DES Encrypt and decrypt 0 bytes with no padding -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:0:POLARSSL_PADDING_NONE DES Encrypt and decrypt 8 bytes with no padding -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:8:POLARSSL_PADDING_NONE DES Encrypt and decrypt 16 bytes with no padding -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:16:POLARSSL_PADDING_NONE DES Encrypt and decrypt 32 bytes with no padding -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:32:POLARSSL_PADDING_NONE DES Encrypt and decrypt 48 bytes with no padding -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_CBC:"DES-CBC":56:48:POLARSSL_PADDING_NONE DES Try encrypting 1 bytes with no padding -depends_on:POLARSSL_DES_C +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 DES Try encrypting 2 bytes with no padding -depends_on:POLARSSL_DES_C +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 DES Try encrypting 7 bytes with no padding -depends_on:POLARSSL_DES_C +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 DES Try encrypting 9 bytes with no padding -depends_on:POLARSSL_DES_C +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 DES Try encrypting 15 bytes with no padding -depends_on:POLARSSL_DES_C +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 DES Try encrypting 17 bytes with no padding -depends_on:POLARSSL_DES_C +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 DES Try encrypting 31 bytes with no padding -depends_on:POLARSSL_DES_C +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 DES Try encrypting 33 bytes with no padding -depends_on:POLARSSL_DES_C +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 DES Try encrypting 47 bytes with no padding -depends_on:POLARSSL_DES_C +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 DES Try encrypting 49 bytes with no padding -depends_on:POLARSSL_DES_C +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 DES Encrypt and decrypt 0 bytes in multiple parts -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:0:0: DES Encrypt and decrypt 1 bytes in multiple parts 1 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:1:0: DES Encrypt and decrypt 1 bytes in multiple parts 2 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:0:1: DES Encrypt and decrypt 16 bytes in multiple parts 1 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:16:0: DES Encrypt and decrypt 16 bytes in multiple parts 2 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:0:16: DES Encrypt and decrypt 16 bytes in multiple parts 3 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:1:15: DES Encrypt and decrypt 16 bytes in multiple parts 4 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:15:1: DES Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:15:7: DES Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:16:6: DES Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:17:6: DES Encrypt and decrypt 32 bytes in multiple parts 1 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:16:16: DES Encrypt and decrypt 0 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:0:-1 DES3 Encrypt and decrypt 1 byte -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:1:-1 DES3 Encrypt and decrypt 2 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:2:-1 DES3 Encrypt and decrypt 7 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:7:-1 DES3 Encrypt and decrypt 8 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:8:-1 DES3 Encrypt and decrypt 9 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:9:-1 DES3 Encrypt and decrypt 15 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:15:-1 DES3 Encrypt and decrypt 16 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:16:-1 DES3 Encrypt and decrypt 17 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:17:-1 DES3 Encrypt and decrypt 31 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:31:-1 DES3 Encrypt and decrypt 32 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:32:-1 DES3 Encrypt and decrypt 32 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:33:-1 DES3 Encrypt and decrypt 47 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:47:-1 DES3 Encrypt and decrypt 48 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:48:-1 DES3 Encrypt and decrypt 49 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:"DES-EDE-CBC":112:49:-1 DES3 Encrypt and decrypt 0 bytes in multiple parts -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:0:0: DES3 Encrypt and decrypt 1 bytes in multiple parts 1 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:1:0: DES3 Encrypt and decrypt 1 bytes in multiple parts 2 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:0:1: DES3 Encrypt and decrypt 16 bytes in multiple parts 1 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:16:0: DES3 Encrypt and decrypt 16 bytes in multiple parts 2 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:0:16: DES3 Encrypt and decrypt 16 bytes in multiple parts 3 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:1:15: DES3 Encrypt and decrypt 16 bytes in multiple parts 4 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:15:1: DES3 Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:15:7: DES3 Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:16:6: DES3 Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:17:6: DES3 Encrypt and decrypt 32 bytes in multiple parts 1 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:16:16: DES3 Encrypt and decrypt 0 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:0:-1 DES3 Encrypt and decrypt 1 byte -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:1:-1 DES3 Encrypt and decrypt 2 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:2:-1 DES3 Encrypt and decrypt 7 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:7:-1 DES3 Encrypt and decrypt 8 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:8:-1 DES3 Encrypt and decrypt 9 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:9:-1 DES3 Encrypt and decrypt 15 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:15:-1 DES3 Encrypt and decrypt 16 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:16:-1 DES3 Encrypt and decrypt 17 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:17:-1 DES3 Encrypt and decrypt 31 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:31:-1 DES3 Encrypt and decrypt 32 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:32:-1 DES3 Encrypt and decrypt 32 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:33:-1 DES3 Encrypt and decrypt 47 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:47:-1 DES3 Encrypt and decrypt 48 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:48:-1 DES3 Encrypt and decrypt 49 bytes -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:"DES-EDE3-CBC":168:49:-1 DES3 Encrypt and decrypt 0 bytes in multiple parts -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:0:0: DES3 Encrypt and decrypt 1 bytes in multiple parts 1 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:1:0: DES3 Encrypt and decrypt 1 bytes in multiple parts 2 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:0:1: DES3 Encrypt and decrypt 16 bytes in multiple parts 1 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:16:0: DES3 Encrypt and decrypt 16 bytes in multiple parts 2 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:0:16: DES3 Encrypt and decrypt 16 bytes in multiple parts 3 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:1:15: DES3 Encrypt and decrypt 16 bytes in multiple parts 4 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:15:1: DES3 Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:15:7: DES3 Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:16:6: DES3 Encrypt and decrypt 22 bytes in multiple parts 1 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:17:6: DES3 Encrypt and decrypt 32 bytes in multiple parts 1 -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:16:16: diff --git a/tests/suites/test_suite_cipher.function b/tests/suites/test_suite_cipher.function index 898d98dc7..892036b60 100644 --- a/tests/suites/test_suite_cipher.function +++ b/tests/suites/test_suite_cipher.function @@ -48,11 +48,15 @@ void enc_dec_buf( int cipher_id, char *cipher_string, int key_len, TEST_ASSERT( 0 == cipher_setkey( &ctx_dec, key, key_len, POLARSSL_DECRYPT ) ); TEST_ASSERT( 0 == cipher_setkey( &ctx_enc, key, key_len, POLARSSL_ENCRYPT ) ); +#if defined(POLARSSL_CIPHER_MODE_WITH_PADDING) if( -1 != pad_mode ) { TEST_ASSERT( 0 == cipher_set_padding_mode( &ctx_dec, pad_mode ) ); TEST_ASSERT( 0 == cipher_set_padding_mode( &ctx_enc, pad_mode ) ); } +#else + (void) pad_mode; +#endif /* POLARSSL_CIPHER_MODE_WITH_PADDING */ /* * Do a few encode/decode cycles @@ -159,7 +163,11 @@ void enc_fail( int cipher_id, int pad_mode, int key_len, /* Initialise context */ TEST_ASSERT( 0 == cipher_init_ctx( &ctx, cipher_info ) ); TEST_ASSERT( 0 == cipher_setkey( &ctx, key, key_len, POLARSSL_ENCRYPT ) ); +#if defined(POLARSSL_CIPHER_MODE_WITH_PADDING) TEST_ASSERT( 0 == cipher_set_padding_mode( &ctx, pad_mode ) ); +#else + (void) pad_mode; +#endif /* POLARSSL_CIPHER_MODE_WITH_PADDING */ TEST_ASSERT( 0 == cipher_set_iv( &ctx, iv, 16 ) ); TEST_ASSERT( 0 == cipher_reset( &ctx ) ); #if defined(POLARSSL_CIPHER_MODE_AEAD) @@ -351,8 +359,12 @@ void decrypt_test_vec( int cipher_id, int pad_mode, TEST_ASSERT( 0 == cipher_init_ctx( &ctx, cipher_info_from_type( cipher_id ) ) ); TEST_ASSERT( 0 == cipher_setkey( &ctx, key, 8 * key_len, POLARSSL_DECRYPT ) ); +#if defined(POLARSSL_CIPHER_MODE_WITH_PADDING) if( pad_mode != -1 ) TEST_ASSERT( 0 == cipher_set_padding_mode( &ctx, pad_mode ) ); +#else + (void) pad_mode; +#endif /* POLARSSL_CIPHER_MODE_WITH_PADDING */ TEST_ASSERT( 0 == cipher_set_iv( &ctx, iv, iv_len ) ); TEST_ASSERT( 0 == cipher_reset( &ctx ) ); #if defined(POLARSSL_CIPHER_MODE_AEAD) @@ -428,7 +440,7 @@ void test_vec_ecb( int cipher_id, int operation, char *hex_key, } /* END_CASE */ -/* BEGIN_CASE */ +/* BEGIN_CASE depends_on:POLARSSL_CIPHER_MODE_WITH_PADDING */ void set_padding( int cipher_id, int pad_mode, int ret ) { const cipher_info_t *cipher_info; @@ -444,7 +456,7 @@ void set_padding( int cipher_id, int pad_mode, int ret ) } /* END_CASE */ -/* BEGIN_CASE */ +/* BEGIN_CASE depends_on:POLARSSL_CIPHER_MODE_CBC */ void check_padding( int pad_mode, char *input_str, int ret, int dlen_check ) { cipher_info_t cipher_info; diff --git a/tests/suites/test_suite_cipher.gcm.data b/tests/suites/test_suite_cipher.gcm.data index 7681d1878..048251fb5 100644 --- a/tests/suites/test_suite_cipher.gcm.data +++ b/tests/suites/test_suite_cipher.gcm.data @@ -1,10 +1,3 @@ -Cipher Selftest -depends_on:POLARSSL_SELF_TEST -cipher_selftest: - -Decrypt empty buffer -dec_empty_buf: - AES-GCM Encrypt and decrypt 0 bytes depends_on:POLARSSL_AES_C:POLARSSL_GCM_C enc_dec_buf:POLARSSL_CIPHER_AES_128_GCM:"AES-128-GCM":128:0:-1 diff --git a/tests/suites/test_suite_cipher.null.data b/tests/suites/test_suite_cipher.null.data index dd6827715..f728917b0 100644 --- a/tests/suites/test_suite_cipher.null.data +++ b/tests/suites/test_suite_cipher.null.data @@ -1,10 +1,3 @@ -Cipher Selftest -depends_on:POLARSSL_SELF_TEST -cipher_selftest: - -Decrypt empty buffer -dec_empty_buf: - NULL Encrypt and decrypt 0 bytes depends_on:POLARSSL_CIPHER_NULL_CIPHER enc_dec_buf:POLARSSL_CIPHER_NULL:"NULL":0:0:-1 diff --git a/tests/suites/test_suite_cipher.padding.data b/tests/suites/test_suite_cipher.padding.data index c17ab2e43..96ae12068 100644 --- a/tests/suites/test_suite_cipher.padding.data +++ b/tests/suites/test_suite_cipher.padding.data @@ -1,5 +1,5 @@ Set padding with AES-CBC -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC set_padding:POLARSSL_CIPHER_AES_128_CBC:POLARSSL_PADDING_PKCS7:0 Set padding with AES-CFB @@ -11,7 +11,7 @@ depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CTR set_padding:POLARSSL_CIPHER_AES_128_CTR:POLARSSL_PADDING_PKCS7:POLARSSL_ERR_CIPHER_BAD_INPUT_DATA Set padding with CAMELLIA-CBC -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC set_padding:POLARSSL_CIPHER_CAMELLIA_128_CBC:POLARSSL_PADDING_PKCS7:0 Set padding with CAMELLIA-CFB @@ -23,11 +23,11 @@ depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CTR set_padding:POLARSSL_CIPHER_CAMELLIA_128_CTR:POLARSSL_PADDING_PKCS7:POLARSSL_ERR_CIPHER_BAD_INPUT_DATA Set padding with DES-CBC -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC set_padding:POLARSSL_CIPHER_DES_CBC:POLARSSL_PADDING_PKCS7:0 Set padding with BLOWFISH-CBC -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC set_padding:POLARSSL_CIPHER_BLOWFISH_CBC:POLARSSL_PADDING_PKCS7:0 Set padding with BLOWFISH-CFB @@ -43,19 +43,19 @@ depends_on:POLARSSL_CIPHER_NULL_CIPHER set_padding:POLARSSL_CIPHER_NULL:POLARSSL_PADDING_PKCS7:POLARSSL_ERR_CIPHER_BAD_INPUT_DATA Set non-existent padding with AES-CBC -depends_on:POLARSSL_AES_C +depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC set_padding:POLARSSL_CIPHER_AES_128_CBC:-1:POLARSSL_ERR_CIPHER_FEATURE_UNAVAILABLE Set non-existent padding with CAMELLIA-CBC -depends_on:POLARSSL_CAMELLIA_C +depends_on:POLARSSL_CAMELLIA_C:POLARSSL_CIPHER_MODE_CBC set_padding:POLARSSL_CIPHER_CAMELLIA_128_CBC:-1:POLARSSL_ERR_CIPHER_FEATURE_UNAVAILABLE Set non-existent padding with DES-CBC -depends_on:POLARSSL_DES_C +depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC set_padding:POLARSSL_CIPHER_DES_CBC:-1:POLARSSL_ERR_CIPHER_FEATURE_UNAVAILABLE Set non-existent padding with BLOWFISH-CBC -depends_on:POLARSSL_BLOWFISH_C +depends_on:POLARSSL_BLOWFISH_C:POLARSSL_CIPHER_MODE_CBC set_padding:POLARSSL_CIPHER_BLOWFISH_CBC:-1:POLARSSL_ERR_CIPHER_FEATURE_UNAVAILABLE Check PKCS padding #1 (correct) diff --git a/tests/suites/test_suite_x509parse.data b/tests/suites/test_suite_x509parse.data index ef7bbd4d2..1da991e26 100644 --- a/tests/suites/test_suite_x509parse.data +++ b/tests/suites/test_suite_x509parse.data @@ -163,11 +163,11 @@ depends_on:POLARSSL_MD5_C:POLARSSL_PEM_C:POLARSSL_FS_IO x509parse_keyfile_rsa:"data_files/format_gen.key":"":0 X509 Parse RSA Key #10 (PKCS#8 encrypted SHA1-3DES) -depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO:POLARSSL_PKCS12_C +depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO:POLARSSL_PKCS12_C:POLARSSL_CIPHER_MODE_CBC x509parse_keyfile_rsa:"data_files/pkcs8_pbe_sha1_3des.key":"PolarSSLTest":0 X509 Parse RSA Key #10.1 (PKCS#8 encrypted SHA1-3DES, wrong PW) -depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO:POLARSSL_PKCS12_C +depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO:POLARSSL_PKCS12_C:POLARSSL_CIPHER_MODE_CBC x509parse_keyfile_rsa:"data_files/pkcs8_pbe_sha1_3des.key":"PolarSSLTes":POLARSSL_ERR_X509_PASSWORD_MISMATCH X509 Parse RSA Key #10.2 (PKCS#8 encrypted SHA1-3DES, no PW) @@ -175,15 +175,15 @@ depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO:POLARSSL x509parse_keyfile_rsa:"data_files/pkcs8_pbe_sha1_3des.key":"":POLARSSL_ERR_X509_PASSWORD_REQUIRED X509 Parse RSA Key #11 (PKCS#8 encrypted SHA1-3DES DER) -depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_FS_IO:POLARSSL_PKCS12_C +depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_FS_IO:POLARSSL_PKCS12_C:POLARSSL_CIPHER_MODE_CBC x509parse_keyfile_rsa:"data_files/pkcs8_pbe_sha1_3des.der":"PolarSSLTest":0 X509 Parse RSA Key #12 (PKCS#8 encrypted SHA1-2DES) -depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO:POLARSSL_PKCS12_C +depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO:POLARSSL_PKCS12_C:POLARSSL_CIPHER_MODE_CBC x509parse_keyfile_rsa:"data_files/pkcs8_pbe_sha1_2des.key":"PolarSSLTest":0 X509 Parse RSA Key #12.1 (PKCS#8 encrypted SHA1-2DES, wrong PW) -depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO:POLARSSL_PKCS12_C +depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO:POLARSSL_PKCS12_C:POLARSSL_CIPHER_MODE_CBC x509parse_keyfile_rsa:"data_files/pkcs8_pbe_sha1_2des.key":"PolarSLTest":POLARSSL_ERR_X509_PASSWORD_MISMATCH X509 Parse RSA Key #12.2 (PKCS#8 encrypted SHA1-2DES, no PW) @@ -203,11 +203,11 @@ depends_on:POLARSSL_ARC4_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO:POLARSS x509parse_keyfile_rsa:"data_files/pkcs8_pbe_sha1_rc4_128.key":"":POLARSSL_ERR_X509_PASSWORD_REQUIRED X509 Parse RSA Key #14 (PKCS#8 encrypted v2 PBDFK2 3DES) -depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO:POLARSSL_PKCS5_C +depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO:POLARSSL_PKCS5_C:POLARSSL_CIPHER_MODE_CBC x509parse_keyfile_rsa:"data_files/pkcs8_pbes2_pbkdf2_3des.key":"PolarSSLTest":0 X509 Parse RSA Key #15 (PKCS#8 encrypted v2 PBDFK2 3DES, wrong PW) -depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO:POLARSSL_PKCS5_C +depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO:POLARSSL_PKCS5_C:POLARSSL_CIPHER_MODE_CBC x509parse_keyfile_rsa:"data_files/pkcs8_pbes2_pbkdf2_3des.key":"PolarSSLTes":POLARSSL_ERR_X509_PASSWORD_MISMATCH X509 Parse RSA Key #16 (PKCS#8 encrypted v2 PBDFK2 3DES, no PW) @@ -215,11 +215,11 @@ depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO:POLARSSL x509parse_keyfile_rsa:"data_files/pkcs8_pbes2_pbkdf2_3des.key":"":POLARSSL_ERR_X509_PASSWORD_REQUIRED X509 Parse RSA Key #17 (PKCS#8 encrypted v2 PBDFK2 3DES DER) -depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_FS_IO:POLARSSL_PKCS5_C +depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_FS_IO:POLARSSL_PKCS5_C:POLARSSL_CIPHER_MODE_CBC x509parse_keyfile_rsa:"data_files/pkcs8_pbes2_pbkdf2_3des.der":"PolarSSLTest":0 X509 Parse RSA Key #18 (PKCS#8 encrypted v2 PBDFK2 3DES DER, wrong PW) -depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_FS_IO:POLARSSL_PKCS5_C +depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_FS_IO:POLARSSL_PKCS5_C:POLARSSL_CIPHER_MODE_CBC x509parse_keyfile_rsa:"data_files/pkcs8_pbes2_pbkdf2_3des.der":"PolarSSLTes":POLARSSL_ERR_X509_PASSWORD_MISMATCH X509 Parse RSA Key #19 (PKCS#8 encrypted v2 PBDFK2 3DES DER, no PW) @@ -227,7 +227,7 @@ depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_FS_IO:POLARSSL_PKCS5_C x509parse_keyfile_rsa:"data_files/pkcs8_pbes2_pbkdf2_3des.der":"":POLARSSL_ERR_X509_KEY_INVALID_FORMAT X509 Parse RSA Key #20 (PKCS#8 encrypted v2 PBDFK2 DES) -depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO:POLARSSL_PKCS5_C +depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO:POLARSSL_PKCS5_C:POLARSSL_CIPHER_MODE_CBC x509parse_keyfile_rsa:"data_files/pkcs8_pbes2_pbkdf2_des.key":"PolarSSLTest":0 X509 Parse Public RSA Key #1 (PKCS#8 wrapped)