Searched refs:prv (Results 1 – 3 of 3) sorted by relevance
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/accelerator/ |
D | ecp_alt.c | 2402 const mbedtls_ecp_keypair *pub, const mbedtls_ecp_keypair *prv, 2409 ECP_VALIDATE_RET( prv != NULL ); 2412 pub->MBEDTLS_PRIVATE(grp).id != prv->MBEDTLS_PRIVATE(grp).id || 2413 …mbedtls_mpi_cmp_mpi( &pub->MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(X), &prv->MBEDTLS_PRIVATE(Q).MBEDTLS… 2414 …mbedtls_mpi_cmp_mpi( &pub->MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(Y), &prv->MBEDTLS_PRIVATE(Q).MBEDTLS… 2415 …mbedtls_mpi_cmp_mpi( &pub->MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(Z), &prv->MBEDTLS_PRIVATE(Q).MBEDTLS… 2424 mbedtls_ecp_group_copy( &grp, &prv->MBEDTLS_PRIVATE(grp) ); 2427 …MBEDTLS_MPI_CHK( mbedtls_ecp_mul( &grp, &Q, &prv->MBEDTLS_PRIVATE(d), &prv->MBEDTLS_PRIVATE(grp).G… 2429 if( mbedtls_mpi_cmp_mpi( &Q.MBEDTLS_PRIVATE(X), &prv->MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(X) ) || 2430 mbedtls_mpi_cmp_mpi( &Q.MBEDTLS_PRIVATE(Y), &prv->MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(Y) ) || [all …]
|
D | rsa_alt.c | 1195 const mbedtls_rsa_context *prv ) in mbedtls_rsa_check_pub_priv() argument 1198 RSA_VALIDATE_RET( prv != NULL ); in mbedtls_rsa_check_pub_priv() 1201 mbedtls_rsa_check_privkey( prv ) != 0 ) in mbedtls_rsa_check_pub_priv() 1206 if( mbedtls_mpi_cmp_mpi( &pub->MBEDTLS_PRIVATE(N), &prv->MBEDTLS_PRIVATE(N) ) != 0 || in mbedtls_rsa_check_pub_priv() 1207 mbedtls_mpi_cmp_mpi( &pub->MBEDTLS_PRIVATE(E), &prv->MBEDTLS_PRIVATE(E) ) != 0 ) in mbedtls_rsa_check_pub_priv()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
D | rsa_alt.c | 952 int mbedtls_rsa_check_pub_priv( const mbedtls_rsa_context *pub, const mbedtls_rsa_context *prv ) in mbedtls_rsa_check_pub_priv() argument 955 mbedtls_rsa_check_privkey( prv ) != 0 ) in mbedtls_rsa_check_pub_priv() 960 if( mbedtls_mpi_cmp_mpi( &pub->MBEDTLS_PRIVATE(N), &prv->MBEDTLS_PRIVATE(N) ) != 0 || in mbedtls_rsa_check_pub_priv() 961 mbedtls_mpi_cmp_mpi( &pub->MBEDTLS_PRIVATE(E), &prv->MBEDTLS_PRIVATE(E) ) != 0 ) in mbedtls_rsa_check_pub_priv()
|