Lines Matching refs:G
619 ecp_mpi_load( &grp->G.X, gx, gxlen ); in ecp_group_load()
620 ecp_mpi_load( &grp->G.Y, gy, gylen ); in ecp_group_load()
621 ecp_mpi_set1( &grp->G.Z ); in ecp_group_load()
673 #define LOAD_GROUP_A( G ) ecp_group_load( grp, \ argument
674 G ## _p, sizeof( G ## _p ), \
675 G ## _a, sizeof( G ## _a ), \
676 G ## _b, sizeof( G ## _b ), \
677 G ## _gx, sizeof( G ## _gx ), \
678 G ## _gy, sizeof( G ## _gy ), \
679 G ## _n, sizeof( G ## _n ) )
681 #define LOAD_GROUP( G ) ecp_group_load( grp, \ argument
682 G ## _p, sizeof( G ## _p ), \
684 G ## _b, sizeof( G ## _b ), \
685 G ## _gx, sizeof( G ## _gx ), \
686 G ## _gy, sizeof( G ## _gy ), \
687 G ## _n, sizeof( G ## _n ) )
721 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->G.X, 9 ) ); in ecp_use_curve25519()
722 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->G.Z, 1 ) ); in ecp_use_curve25519()
723 mbedtls_mpi_free( &grp->G.Y ); in ecp_use_curve25519()
769 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->G.X, 5 ) ); in ecp_use_curve448()
770 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->G.Z, 1 ) ); in ecp_use_curve448()
771 mbedtls_mpi_free( &grp->G.Y ); in ecp_use_curve448()