Lines Matching refs:G
191 const mbedtls_ecp_point *G, in ecjpake_hash() argument
205 MBEDTLS_MPI_CHK( ecjpake_write_len_point( &p, end, grp, pf, G ) ); in ecjpake_hash()
241 const mbedtls_ecp_point *G, in ecjpake_zkp_read() argument
288 MBEDTLS_MPI_CHK( ecjpake_hash( md_info, grp, pf, G, &V, X, id, &h ) ); in ecjpake_zkp_read()
290 &VV, &h, X, &r, G ) ); in ecjpake_zkp_read()
313 const mbedtls_ecp_point *G, in ecjpake_zkp_write() argument
337 G, &v, &V, f_rng, p_rng ) ); in ecjpake_zkp_write()
338 MBEDTLS_MPI_CHK( ecjpake_hash( md_info, grp, pf, G, &V, X, id, &h ) ); in ecjpake_zkp_write()
374 const mbedtls_ecp_point *G, in ecjpake_kkp_read() argument
398 MBEDTLS_MPI_CHK( ecjpake_zkp_read( md_info, grp, pf, G, X, id, p, end ) ); in ecjpake_kkp_read()
411 const mbedtls_ecp_point *G, in ecjpake_kkp_write() argument
427 MBEDTLS_MPI_CHK( mbedtls_ecp_gen_keypair_base( (mbedtls_ecp_group *) grp, G, x, X, in ecjpake_kkp_write()
434 MBEDTLS_MPI_CHK( ecjpake_zkp_write( md_info, grp, pf, G, x, X, id, in ecjpake_kkp_write()
448 const mbedtls_ecp_point *G, in ecjpake_kkpp_read() argument
464 MBEDTLS_MPI_CHK( ecjpake_kkp_read( md_info, grp, pf, G, Xa, id, &p, end ) ); in ecjpake_kkpp_read()
465 MBEDTLS_MPI_CHK( ecjpake_kkp_read( md_info, grp, pf, G, Xb, id, &p, end ) ); in ecjpake_kkpp_read()
481 const mbedtls_ecp_point *G, in ecjpake_kkpp_write() argument
497 MBEDTLS_MPI_CHK( ecjpake_kkp_write( md_info, grp, pf, G, xm1, Xa, id, in ecjpake_kkpp_write()
499 MBEDTLS_MPI_CHK( ecjpake_kkp_write( md_info, grp, pf, G, xm2, Xb, id, in ecjpake_kkpp_write()
519 &ctx->grp.G, in mbedtls_ecjpake_read_round_one()
538 &ctx->grp.G, in mbedtls_ecjpake_write_round_one()
577 mbedtls_ecp_point G; /* C: GB, S: GA */ in mbedtls_ecjpake_read_round_two() local
583 mbedtls_ecp_point_init( &G ); in mbedtls_ecjpake_read_round_two()
591 MBEDTLS_MPI_CHK( ecjpake_ecp_add3( &ctx->grp, &G, in mbedtls_ecjpake_read_round_two()
612 &G, &ctx->Xp, ID_PEER, &p, end ) ); in mbedtls_ecjpake_read_round_two()
622 mbedtls_ecp_point_free( &G ); in mbedtls_ecjpake_read_round_two()
667 mbedtls_ecp_point G; /* C: GA, S: GB */ in mbedtls_ecjpake_write_round_two() local
679 mbedtls_ecp_point_init( &G ); in mbedtls_ecjpake_write_round_two()
690 MBEDTLS_MPI_CHK( ecjpake_ecp_add3( &ctx->grp, &G, in mbedtls_ecjpake_write_round_two()
694 MBEDTLS_MPI_CHK( mbedtls_ecp_mul( &ctx->grp, &Xm, &xm, &G, f_rng, p_rng ) ); in mbedtls_ecjpake_write_round_two()
727 &G, &xm, &Xm, ID_MINE, in mbedtls_ecjpake_write_round_two()
733 mbedtls_ecp_point_free( &G ); in mbedtls_ecjpake_write_round_two()
961 &ctx->grp.G, NULL, NULL ) ); in ecjpake_test_load()
963 &ctx->grp.G, NULL, NULL ) ); in ecjpake_test_load()