Lines Matching refs:gid
151 mbedtls_ecp_group_id gid; in ecc_generate_keypair() local
156 memset(&gid, 0, sizeof(gid)); in ecc_generate_keypair()
168 gid = curve_to_group_id(key->curve); in ecc_generate_keypair()
169 lmd_res = mbedtls_ecdsa_genkey(&ecdsa, gid, mbd_rand, NULL); in ecc_generate_keypair()
212 mbedtls_ecp_group_id gid; in ecc_sign() local
219 memset(&gid, 0, sizeof(gid)); in ecc_sign()
231 gid = curve_to_group_id(key->curve); in ecc_sign()
232 lmd_res = mbedtls_ecp_group_load(&ecdsa.grp, gid); in ecc_sign()
290 mbedtls_ecp_group_id gid; in ecc_verify() local
297 memset(&gid, 0, sizeof(gid)); in ecc_verify()
309 gid = curve_to_group_id(key->curve); in ecc_verify()
310 lmd_res = mbedtls_ecp_group_load(&ecdsa.grp, gid); in ecc_verify()
360 mbedtls_ecp_group_id gid; in ecc_shared_secret() local
364 memset(&gid, 0, sizeof(gid)); in ecc_shared_secret()
366 gid = curve_to_group_id(private_key->curve); in ecc_shared_secret()
367 lmd_res = mbedtls_ecp_group_load(&ecdh.grp, gid); in ecc_shared_secret()