Lines Matching refs:TEST_ASSERT
19 TEST_ASSERT( mbedtls_des_key_check_weak( key ) == ret );
43 TEST_ASSERT( mbedtls_des_crypt_ecb( &ctx, src_str, output ) == 0 );
46 TEST_ASSERT( strcasecmp( (char *) dst_str, hex_dst_string ) == 0 );
73 TEST_ASSERT( mbedtls_des_crypt_ecb( &ctx, src_str, output ) == 0 );
76 TEST_ASSERT( strcasecmp( (char *) dst_str, hex_dst_string ) == 0 );
107 …TEST_ASSERT( mbedtls_des_crypt_cbc( &ctx, MBEDTLS_DES_ENCRYPT, src_len, iv_str, src_str, output ) …
112 TEST_ASSERT( strcasecmp( (char *) dst_str, hex_dst_string ) == 0 );
144 …TEST_ASSERT( mbedtls_des_crypt_cbc( &ctx, MBEDTLS_DES_DECRYPT, src_len, iv_str, src_str, output ) …
149 TEST_ASSERT( strcasecmp( (char *) dst_str, hex_dst_string ) == 0 );
181 TEST_ASSERT( 0 );
183 TEST_ASSERT( mbedtls_des3_crypt_ecb( &ctx, src_str, output ) == 0 );
186 TEST_ASSERT( strcasecmp( (char *) dst_str, hex_dst_string ) == 0 );
217 TEST_ASSERT( 0 );
219 TEST_ASSERT( mbedtls_des3_crypt_ecb( &ctx, src_str, output ) == 0 );
222 TEST_ASSERT( strcasecmp( (char *) dst_str, hex_dst_string ) == 0 );
258 TEST_ASSERT( 0 );
260 …TEST_ASSERT( mbedtls_des3_crypt_cbc( &ctx, MBEDTLS_DES_ENCRYPT, src_len, iv_str, src_str, output )…
266 TEST_ASSERT( strcasecmp( (char *) dst_str, hex_dst_string ) == 0 );
303 TEST_ASSERT( 0 );
305 …TEST_ASSERT( mbedtls_des3_crypt_cbc( &ctx, MBEDTLS_DES_DECRYPT, src_len, iv_str, src_str, output )…
311 TEST_ASSERT( strcasecmp( (char *) dst_str, hex_dst_string ) == 0 );
352 TEST_ASSERT( 0 );
357 TEST_ASSERT( mbedtls_des_key_check_key_parity( key ) == 0 );
365 TEST_ASSERT( mbedtls_des_self_test( 1 ) == 0 );