• Home
  • Raw
  • Download

Lines Matching refs:mbedtls_mpi_cmp_int

162     if( mbedtls_mpi_cmp_int( &ctx->N, 0 ) <= 0 ||  in rsa_check_context()
173 ( mbedtls_mpi_cmp_int( &ctx->P, 0 ) <= 0 || in rsa_check_context()
175 mbedtls_mpi_cmp_int( &ctx->Q, 0 ) <= 0 || in rsa_check_context()
187 if( mbedtls_mpi_cmp_int( &ctx->E, 0 ) <= 0 ) in rsa_check_context()
193 if( is_priv && mbedtls_mpi_cmp_int( &ctx->D, 0 ) <= 0 ) in rsa_check_context()
197 ( mbedtls_mpi_cmp_int( &ctx->DP, 0 ) <= 0 || in rsa_check_context()
198 mbedtls_mpi_cmp_int( &ctx->DQ, 0 ) <= 0 ) ) in rsa_check_context()
209 ( mbedtls_mpi_cmp_int( &ctx->P, 0 ) <= 0 || in rsa_check_context()
210 mbedtls_mpi_cmp_int( &ctx->Q, 0 ) <= 0 ) ) in rsa_check_context()
220 mbedtls_mpi_cmp_int( &ctx->QP, 0 ) <= 0 ) in rsa_check_context()
240 have_N = ( mbedtls_mpi_cmp_int( &ctx->N, 0 ) != 0 ); in mbedtls_rsa_complete()
241 have_P = ( mbedtls_mpi_cmp_int( &ctx->P, 0 ) != 0 ); in mbedtls_rsa_complete()
242 have_Q = ( mbedtls_mpi_cmp_int( &ctx->Q, 0 ) != 0 ); in mbedtls_rsa_complete()
243 have_D = ( mbedtls_mpi_cmp_int( &ctx->D, 0 ) != 0 ); in mbedtls_rsa_complete()
244 have_E = ( mbedtls_mpi_cmp_int( &ctx->E, 0 ) != 0 ); in mbedtls_rsa_complete()
247 have_DP = ( mbedtls_mpi_cmp_int( &ctx->DP, 0 ) != 0 ); in mbedtls_rsa_complete()
248 have_DQ = ( mbedtls_mpi_cmp_int( &ctx->DQ, 0 ) != 0 ); in mbedtls_rsa_complete()
249 have_QP = ( mbedtls_mpi_cmp_int( &ctx->QP, 0 ) != 0 ); in mbedtls_rsa_complete()
346 mbedtls_mpi_cmp_int( &ctx->N, 0 ) != 0 && in mbedtls_rsa_export_raw()
347 mbedtls_mpi_cmp_int( &ctx->P, 0 ) != 0 && in mbedtls_rsa_export_raw()
348 mbedtls_mpi_cmp_int( &ctx->Q, 0 ) != 0 && in mbedtls_rsa_export_raw()
349 mbedtls_mpi_cmp_int( &ctx->D, 0 ) != 0 && in mbedtls_rsa_export_raw()
350 mbedtls_mpi_cmp_int( &ctx->E, 0 ) != 0; in mbedtls_rsa_export_raw()
391 mbedtls_mpi_cmp_int( &ctx->N, 0 ) != 0 && in mbedtls_rsa_export()
392 mbedtls_mpi_cmp_int( &ctx->P, 0 ) != 0 && in mbedtls_rsa_export()
393 mbedtls_mpi_cmp_int( &ctx->Q, 0 ) != 0 && in mbedtls_rsa_export()
394 mbedtls_mpi_cmp_int( &ctx->D, 0 ) != 0 && in mbedtls_rsa_export()
395 mbedtls_mpi_cmp_int( &ctx->E, 0 ) != 0; in mbedtls_rsa_export()
435 mbedtls_mpi_cmp_int( &ctx->N, 0 ) != 0 && in mbedtls_rsa_export_crt()
436 mbedtls_mpi_cmp_int( &ctx->P, 0 ) != 0 && in mbedtls_rsa_export_crt()
437 mbedtls_mpi_cmp_int( &ctx->Q, 0 ) != 0 && in mbedtls_rsa_export_crt()
438 mbedtls_mpi_cmp_int( &ctx->D, 0 ) != 0 && in mbedtls_rsa_export_crt()
439 mbedtls_mpi_cmp_int( &ctx->E, 0 ) != 0; in mbedtls_rsa_export_crt()
599 if( mbedtls_mpi_cmp_int( &G, 1 ) != 0 ) in mbedtls_rsa_gen_key()