• Home
  • Raw
  • Download

Lines Matching refs:mbedtls_mpi_cmp_int

153     if( mbedtls_mpi_cmp_int( &ctx->N, 0 ) <= 0 ||  in rsa_check_context()
164 ( mbedtls_mpi_cmp_int( &ctx->P, 0 ) <= 0 || in rsa_check_context()
166 mbedtls_mpi_cmp_int( &ctx->Q, 0 ) <= 0 || in rsa_check_context()
178 if( mbedtls_mpi_cmp_int( &ctx->E, 0 ) <= 0 ) in rsa_check_context()
184 if( is_priv && mbedtls_mpi_cmp_int( &ctx->D, 0 ) <= 0 ) in rsa_check_context()
188 ( mbedtls_mpi_cmp_int( &ctx->DP, 0 ) <= 0 || in rsa_check_context()
189 mbedtls_mpi_cmp_int( &ctx->DQ, 0 ) <= 0 ) ) in rsa_check_context()
200 ( mbedtls_mpi_cmp_int( &ctx->P, 0 ) <= 0 || in rsa_check_context()
201 mbedtls_mpi_cmp_int( &ctx->Q, 0 ) <= 0 ) ) in rsa_check_context()
211 mbedtls_mpi_cmp_int( &ctx->QP, 0 ) <= 0 ) in rsa_check_context()
229 have_N = ( mbedtls_mpi_cmp_int( &ctx->N, 0 ) != 0 ); in mbedtls_rsa_complete()
230 have_P = ( mbedtls_mpi_cmp_int( &ctx->P, 0 ) != 0 ); in mbedtls_rsa_complete()
231 have_Q = ( mbedtls_mpi_cmp_int( &ctx->Q, 0 ) != 0 ); in mbedtls_rsa_complete()
232 have_D = ( mbedtls_mpi_cmp_int( &ctx->D, 0 ) != 0 ); in mbedtls_rsa_complete()
233 have_E = ( mbedtls_mpi_cmp_int( &ctx->E, 0 ) != 0 ); in mbedtls_rsa_complete()
236 have_DP = ( mbedtls_mpi_cmp_int( &ctx->DP, 0 ) != 0 ); in mbedtls_rsa_complete()
237 have_DQ = ( mbedtls_mpi_cmp_int( &ctx->DQ, 0 ) != 0 ); in mbedtls_rsa_complete()
238 have_QP = ( mbedtls_mpi_cmp_int( &ctx->QP, 0 ) != 0 ); in mbedtls_rsa_complete()
334 mbedtls_mpi_cmp_int( &ctx->N, 0 ) != 0 && in mbedtls_rsa_export_raw()
335 mbedtls_mpi_cmp_int( &ctx->P, 0 ) != 0 && in mbedtls_rsa_export_raw()
336 mbedtls_mpi_cmp_int( &ctx->Q, 0 ) != 0 && in mbedtls_rsa_export_raw()
337 mbedtls_mpi_cmp_int( &ctx->D, 0 ) != 0 && in mbedtls_rsa_export_raw()
338 mbedtls_mpi_cmp_int( &ctx->E, 0 ) != 0; in mbedtls_rsa_export_raw()
378 mbedtls_mpi_cmp_int( &ctx->N, 0 ) != 0 && in mbedtls_rsa_export()
379 mbedtls_mpi_cmp_int( &ctx->P, 0 ) != 0 && in mbedtls_rsa_export()
380 mbedtls_mpi_cmp_int( &ctx->Q, 0 ) != 0 && in mbedtls_rsa_export()
381 mbedtls_mpi_cmp_int( &ctx->D, 0 ) != 0 && in mbedtls_rsa_export()
382 mbedtls_mpi_cmp_int( &ctx->E, 0 ) != 0; in mbedtls_rsa_export()
421 mbedtls_mpi_cmp_int( &ctx->N, 0 ) != 0 && in mbedtls_rsa_export_crt()
422 mbedtls_mpi_cmp_int( &ctx->P, 0 ) != 0 && in mbedtls_rsa_export_crt()
423 mbedtls_mpi_cmp_int( &ctx->Q, 0 ) != 0 && in mbedtls_rsa_export_crt()
424 mbedtls_mpi_cmp_int( &ctx->D, 0 ) != 0 && in mbedtls_rsa_export_crt()
425 mbedtls_mpi_cmp_int( &ctx->E, 0 ) != 0; in mbedtls_rsa_export_crt()
581 if( mbedtls_mpi_cmp_int( &G, 1 ) != 0 ) in mbedtls_rsa_gen_key()