Lines Matching refs:R
262 mbedtls_ecp_point R; in ecdsa_sign_restartable() local
274 mbedtls_ecp_point_init( &R ); in ecdsa_sign_restartable()
326 MBEDTLS_MPI_CHK( mbedtls_ecp_mul_restartable( grp, &R, pk, &grp->G, in ecdsa_sign_restartable()
330 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( pr, &R.X, &grp->N ) ); in ecdsa_sign_restartable()
378 mbedtls_ecp_point_free( &R ); in ecdsa_sign_restartable()
606 mbedtls_ecp_point R; in ecdsa_verify_restartable() local
609 mbedtls_ecp_point_init( &R ); in ecdsa_verify_restartable()
670 &R, pu1, &grp->G, pu2, Q, ECDSA_RS_ECP ) ); in ecdsa_verify_restartable()
672 if( mbedtls_ecp_is_zero( &R ) ) in ecdsa_verify_restartable()
682 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( &R.X, &R.X, &grp->N ) ); in ecdsa_verify_restartable()
687 if( mbedtls_mpi_cmp_mpi( &R.X, r ) != 0 ) in ecdsa_verify_restartable()
694 mbedtls_ecp_point_free( &R ); in ecdsa_verify_restartable()