Lines Matching refs:grp
260 void ecp_clear_precomputed(mbedtls_ecp_group *grp) in ecp_clear_precomputed() argument
262 if (grp->T != NULL) { in ecp_clear_precomputed()
265 for (i = 0; i < grp->T_size; i++) { in ecp_clear_precomputed()
266 mbedtls_ecp_point_free(&grp->T[i]); in ecp_clear_precomputed()
269 mbedtls_free(grp->T); in ecp_clear_precomputed()
272 grp->T = NULL; in ecp_clear_precomputed()
273 grp->T_size = 0; in ecp_clear_precomputed()
828 ecp_clear_precomputed(&ecdsa.grp); in main()
859 ecp_clear_precomputed(&ecdsa.grp); in main()
895 if (mbedtls_ecp_group_load(&ecdh.grp, in main()
904 ecp_clear_precomputed(&ecdh.grp); in main()
926 if (mbedtls_ecp_group_load(&ecdh.grp, in main()
928 mbedtls_ecdh_gen_public(&ecdh.grp, &ecdh.d, in main()
938 ret |= mbedtls_ecdh_gen_public(&ecdh.grp, in main()
944 &ecdh.grp, &z, in main()
958 if (mbedtls_ecp_group_load(&ecdh.grp, in main()
970 ecp_clear_precomputed(&ecdh.grp); in main()
990 if (mbedtls_ecp_group_load(&ecdh.grp, in main()
992 mbedtls_ecdh_gen_public(&ecdh.grp, &ecdh.d, in main()
995 mbedtls_ecdh_gen_public(&ecdh.grp, &ecdh.d, in main()
1006 &ecdh.grp, in main()