Searched refs:is_priv (Results 1 – 2 of 2) sorted by relevance
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/accelerator/ |
D | rsa_alt.c | 665 static int rsa_check_context( mbedtls_rsa_context const *ctx, int is_priv, in rsa_check_context() argument 696 if( is_priv && in rsa_check_context() 717 if( is_priv && mbedtls_mpi_cmp_int( &ctx->MBEDTLS_PRIVATE(D), 0 ) <= 0 ) in rsa_check_context() 720 if( is_priv && in rsa_check_context() 732 if( is_priv && blinding_needed && in rsa_check_context() 743 if( is_priv && in rsa_check_context() 757 int n_missing, pq_missing, d_missing, is_pub, is_priv; in mbedtls_rsa_complete() local 783 is_priv = n_missing || pq_missing || d_missing; in mbedtls_rsa_complete() 785 if( !is_priv && !is_pub ) in mbedtls_rsa_complete() 831 if( is_priv ) in mbedtls_rsa_complete() [all …]
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
D | rsa_alt.c | 540 static int rsa_check_context_alt( mbedtls_rsa_context const *ctx, int is_priv, in rsa_check_context_alt() argument 569 if( is_priv && in rsa_check_context_alt() 590 if( is_priv && mbedtls_mpi_cmp_int( &ctx->MBEDTLS_PRIVATE(D), 0 ) <= 0 ) in rsa_check_context_alt() 593 if( is_priv && in rsa_check_context_alt() 604 if( is_priv && in rsa_check_context_alt() 2948 int is_priv; in mbedtls_rsa_complete() local 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() 2986 if( !is_priv && !is_pub ){ in mbedtls_rsa_complete() 3017 if (( is_priv ) && (crt_missing)) in mbedtls_rsa_complete() [all …]
|