Searched refs:have_P (Results 1 – 2 of 2) sorted by relevance
756 int have_N, have_P, have_Q, have_D, have_E; in mbedtls_rsa_complete() local762 have_P = ( mbedtls_mpi_cmp_int( &ctx->MBEDTLS_PRIVATE(P), 0 ) != 0 ); in mbedtls_rsa_complete()777 n_missing = have_P && have_Q && have_D && have_E; in mbedtls_rsa_complete()778 pq_missing = have_N && !have_P && !have_Q && have_D && have_E; in mbedtls_rsa_complete()779 d_missing = have_P && have_Q && !have_D && have_E; in mbedtls_rsa_complete()780 is_pub = have_N && !have_P && !have_Q && !have_D && have_E; in mbedtls_rsa_complete()792 if( !have_N && have_P && have_Q ) in mbedtls_rsa_complete()
2931 int have_P; in mbedtls_rsa_complete() local2960 have_P = mbedtls_mpi_cmp_int( &ctx->MBEDTLS_PRIVATE(P), 0 ) != 0; in mbedtls_rsa_complete()2978 is_priv = have_D && have_E && (have_N || (have_P && have_Q)); in mbedtls_rsa_complete()2980 is_priv = have_D && have_E && have_P && have_Q; in mbedtls_rsa_complete()2982 is_pub = have_N && !have_P && !have_Q && !have_D && have_E; in mbedtls_rsa_complete()2999 if( !have_N && have_P && have_Q ) in mbedtls_rsa_complete()