Home
last modified time | relevance | path

Searched refs:DP (Results 1 – 5 of 5) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Drsa_alt.c97 const mbedtls_mpi *D, mbedtls_mpi *DP,
505 …MBEDTLS_RSA_CHK( mbedtls_rsa_uint32_buf_to_mpi( &pCtx->MBEDTLS_PRIVATE(DP), pCcPrivKey->PriveKeyDb… in mbedtls_rsa_gen_key()
594 ( mbedtls_mpi_cmp_int( &ctx->MBEDTLS_PRIVATE(DP), 0 ) <= 0 || in rsa_check_context_alt()
803 const mbedtls_mpi *D, const mbedtls_mpi *DP, in mbedtls_rsa_validate_crt_alt() argument
813 if( DP != NULL ) in mbedtls_rsa_validate_crt_alt()
822 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &L, DP, D ) ); in mbedtls_rsa_validate_crt_alt()
940 … &ctx->MBEDTLS_PRIVATE(DP), &ctx->MBEDTLS_PRIVATE(DQ), &ctx->MBEDTLS_PRIVATE(QP) ) != 0 ) in mbedtls_rsa_check_privkey()
1042 if (ctx->MBEDTLS_PRIVATE(DP).MBEDTLS_PRIVATE(p) == NULL) in validate_mbedtls_rsa_context_private_key()
1291 dPSize = mbedtls_mpi_size(&ctx->MBEDTLS_PRIVATE(DP)); in build_cc_priv_crt_key()
1311 …sUnsignedCounters(ctx->MBEDTLS_PRIVATE(DP).MBEDTLS_PRIVATE(p), mbedtls_mpi_size_in_words(&ctx->MBE… in build_cc_priv_crt_key()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/accelerator/
Drsa_alt.h65 mbedtls_mpi MBEDTLS_PRIVATE(DP); /*!< <code>D % (P - 1)</code>. */
Drsa_alt.c721 ( mbedtls_mpi_cmp_int( &ctx->MBEDTLS_PRIVATE(DP), 0 ) <= 0 || in rsa_check_context()
834 … &ctx->MBEDTLS_PRIVATE(DP), &ctx->MBEDTLS_PRIVATE(DQ), &ctx->MBEDTLS_PRIVATE(QP) ); in mbedtls_rsa_complete()
941 mbedtls_mpi *DP, mbedtls_mpi *DQ, mbedtls_mpi *QP ) in mbedtls_rsa_export_crt() argument
960 if( ( DP != NULL && ( ret = mbedtls_mpi_copy( DP, &ctx->MBEDTLS_PRIVATE(DP) ) ) != 0 ) || in mbedtls_rsa_export_crt()
968 DP, DQ, QP ) ) != 0 ) in mbedtls_rsa_export_crt()
1113 … &ctx->MBEDTLS_PRIVATE(DP), &ctx->MBEDTLS_PRIVATE(DQ), &ctx->MBEDTLS_PRIVATE(QP) ) ); in mbedtls_rsa_gen_key()
1182 … &ctx->MBEDTLS_PRIVATE(DP), &ctx->MBEDTLS_PRIVATE(DQ), &ctx->MBEDTLS_PRIVATE(QP) ) != 0 ) in mbedtls_rsa_check_privkey()
1314 mbedtls_mpi *DP = &ctx->MBEDTLS_PRIVATE(DP); in mbedtls_rsa_private() local
1368 …MBEDTLS_MPI_CHK( rsa_crt_pka_modexp( DP, DQ, &ctx->MBEDTLS_PRIVATE(P), &ctx->MBEDTLS_PRIVATE(Q), &… in mbedtls_rsa_private()
2688 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->MBEDTLS_PRIVATE(DP), &src->MBEDTLS_PRIVATE(DP) ) ); in mbedtls_rsa_copy()
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/mbedtls/
Drsa_alt.h40 mbedtls_mpi MBEDTLS_PRIVATE(DP); /*!< D % (P - 1) */
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/
Drun_integration_rsa.c151 RUNIT_ASSERT(mbedtls_mpi_mod_mpi(&ctx->DP, &ctx->D, &p1) == 0); in runIt_buildPrivateKey()