Home
last modified time | relevance | path

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

/net-tools-3.4.0/mbedtls-2.4.0/library/
Decp.c1644 mbedtls_mpi YY, RHS; in ecp_check_pubkey_sw() local
1653 mbedtls_mpi_init( &YY ); mbedtls_mpi_init( &RHS ); in ecp_check_pubkey_sw()
1660 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &RHS, &pt->X, &pt->X ) ); MOD_MUL( RHS ); in ecp_check_pubkey_sw()
1665 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_int( &RHS, &RHS, 3 ) ); MOD_SUB( RHS ); in ecp_check_pubkey_sw()
1669 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &RHS, &RHS, &grp->A ) ); MOD_ADD( RHS ); in ecp_check_pubkey_sw()
1672 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &RHS, &RHS, &pt->X ) ); MOD_MUL( RHS ); in ecp_check_pubkey_sw()
1673 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &RHS, &RHS, &grp->B ) ); MOD_ADD( RHS ); in ecp_check_pubkey_sw()
1675 if( mbedtls_mpi_cmp_mpi( &YY, &RHS ) != 0 ) in ecp_check_pubkey_sw()
1680 mbedtls_mpi_free( &YY ); mbedtls_mpi_free( &RHS ); in ecp_check_pubkey_sw()