Home
last modified time | relevance | path

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

/openthread-3.4.0/third_party/mbedtls/repo/library/
Decp.c2743 mbedtls_mpi YY, RHS; in ecp_check_pubkey_sw() local
2752 mbedtls_mpi_init( &YY ); mbedtls_mpi_init( &RHS ); in ecp_check_pubkey_sw()
2759 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mod( grp, &RHS, &pt->X, &pt->X ) ); in ecp_check_pubkey_sw()
2764 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_int( &RHS, &RHS, 3 ) ); MOD_SUB( RHS ); in ecp_check_pubkey_sw()
2768 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mod( grp, &RHS, &RHS, &grp->A ) ); in ecp_check_pubkey_sw()
2771 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mod( grp, &RHS, &RHS, &pt->X ) ); in ecp_check_pubkey_sw()
2772 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mod( grp, &RHS, &RHS, &grp->B ) ); in ecp_check_pubkey_sw()
2774 if( mbedtls_mpi_cmp_mpi( &YY, &RHS ) != 0 ) in ecp_check_pubkey_sw()
2779 mbedtls_mpi_free( &YY ); mbedtls_mpi_free( &RHS ); in ecp_check_pubkey_sw()