Lines Matching refs:TEST_ASSERT

13     TEST_ASSERT( mbedtls_des_key_check_weak( key->x ) == ret );
27 TEST_ASSERT( mbedtls_des_setkey_enc( &ctx, key_str->x ) == 0 );
28 TEST_ASSERT( mbedtls_des_crypt_ecb( &ctx, src_str->x, output ) == 0 );
30 TEST_ASSERT( mbedtls_test_hexcmp( output, dst->x, 8, dst->len ) == 0 );
47 TEST_ASSERT( mbedtls_des_setkey_dec( &ctx, key_str->x ) == 0 );
48 TEST_ASSERT( mbedtls_des_crypt_ecb( &ctx, src_str->x, output ) == 0 );
50 TEST_ASSERT( mbedtls_test_hexcmp( output, dst->x, 8, dst->len ) == 0 );
68 TEST_ASSERT( mbedtls_des_setkey_enc( &ctx, key_str->x ) == 0 );
69TEST_ASSERT( mbedtls_des_crypt_cbc( &ctx, MBEDTLS_DES_ENCRYPT, src_str->len, iv_str->x, src_str->x…
73 TEST_ASSERT( mbedtls_test_hexcmp( output, dst->x, src_str->len,
94 TEST_ASSERT( mbedtls_des_setkey_dec( &ctx, key_str->x ) == 0 );
95TEST_ASSERT( mbedtls_des_crypt_cbc( &ctx, MBEDTLS_DES_DECRYPT, src_str->len, iv_str->x, src_str->x…
99 TEST_ASSERT( mbedtls_test_hexcmp( output, dst->x, src_str->len,
120 TEST_ASSERT( mbedtls_des3_set2key_enc( &ctx, key_str->x ) == 0 );
122 TEST_ASSERT( mbedtls_des3_set3key_enc( &ctx, key_str->x ) == 0 );
124 TEST_ASSERT( 0 );
126 TEST_ASSERT( mbedtls_des3_crypt_ecb( &ctx, src_str->x, output ) == 0 );
128 TEST_ASSERT( mbedtls_test_hexcmp( output, dst->x, 8, dst->len ) == 0 );
147 TEST_ASSERT( mbedtls_des3_set2key_dec( &ctx, key_str->x ) == 0 );
149 TEST_ASSERT( mbedtls_des3_set3key_dec( &ctx, key_str->x ) == 0 );
151 TEST_ASSERT( 0 );
153 TEST_ASSERT( mbedtls_des3_crypt_ecb( &ctx, src_str->x, output ) == 0 );
155 TEST_ASSERT( mbedtls_test_hexcmp( output, dst->x, 8, dst->len ) == 0 );
175 TEST_ASSERT( mbedtls_des3_set2key_enc( &ctx, key_str->x ) == 0 );
177 TEST_ASSERT( mbedtls_des3_set3key_enc( &ctx, key_str->x ) == 0 );
179 TEST_ASSERT( 0 );
181TEST_ASSERT( mbedtls_des3_crypt_cbc( &ctx, MBEDTLS_DES_ENCRYPT, src_str->len, iv_str->x, src_str->…
186 TEST_ASSERT( mbedtls_test_hexcmp( output, dst->x,
208 TEST_ASSERT( mbedtls_des3_set2key_dec( &ctx, key_str->x ) == 0 );
210 TEST_ASSERT( mbedtls_des3_set3key_dec( &ctx, key_str->x ) == 0 );
212 TEST_ASSERT( 0 );
214TEST_ASSERT( mbedtls_des3_crypt_cbc( &ctx, MBEDTLS_DES_DECRYPT, src_str->len, iv_str->x, src_str->…
219 TEST_ASSERT( mbedtls_test_hexcmp( output, dst->x, src_str->len,
261 TEST_ASSERT( 0 );
266 TEST_ASSERT( mbedtls_des_key_check_key_parity( key ) == 0 );
274 TEST_ASSERT( mbedtls_des_self_test( 1 ) == 0 );