Lines Matching defs:is_priv
637 static int rsa_check_context(mbedtls_rsa_context const *ctx, int is_priv,
666 if (is_priv &&
687 if (is_priv && mbedtls_mpi_cmp_int(&ctx->D, 0) <= 0) {
691 if (is_priv &&
702 if (is_priv && blinding_needed &&
712 if (is_priv &&
728 int n_missing, pq_missing, d_missing, is_pub, is_priv;
758 is_priv = n_missing || pq_missing || d_missing;
760 if (!is_priv && !is_pub) {
803 if (is_priv && !(have_DP && have_DQ && have_QP)) {
816 return rsa_check_context(ctx, is_priv, 1);
827 int is_priv;
830 is_priv =
837 if (!is_priv) {
876 int is_priv;
879 is_priv =
886 if (!is_priv) {
918 int is_priv;
921 is_priv =
928 if (!is_priv) {