Lines Matching refs:TEST_ASSERT
26 TEST_ASSERT( res == result );
31 TEST_ASSERT( mbedtls_pk_can_do( &ctx, MBEDTLS_PK_RSA ) );
33 TEST_ASSERT( mbedtls_rsa_check_privkey( rsa ) == 0 );
51 TEST_ASSERT( res == result );
56 TEST_ASSERT( mbedtls_pk_can_do( &ctx, MBEDTLS_PK_RSA ) );
58 TEST_ASSERT( mbedtls_rsa_check_pubkey( rsa ) == 0 );
76 TEST_ASSERT( res == result );
81 TEST_ASSERT( mbedtls_pk_can_do( &ctx, MBEDTLS_PK_ECKEY ) );
83 TEST_ASSERT( mbedtls_ecp_check_pubkey( &eckey->grp, &eckey->Q ) == 0 );
101 TEST_ASSERT( res == result );
106 TEST_ASSERT( mbedtls_pk_can_do( &ctx, MBEDTLS_PK_ECKEY ) );
108 TEST_ASSERT( mbedtls_ecp_check_privkey( &eckey->grp, &eckey->d ) == 0 );
132 TEST_ASSERT( mbedtls_pk_parse_key( &pk, buf, data_len, NULL, 0 ) == ( result ) );
135 TEST_ASSERT( 1 );