Lines Matching refs:grp_id

591              curve_info->grp_id != MBEDTLS_ECP_DP_NONE;  in mbedtls_ecp_grp_id_list()
594 ecp_supported_grp_id[i++] = curve_info->grp_id; in mbedtls_ecp_grp_id_list()
607 const mbedtls_ecp_curve_info *mbedtls_ecp_curve_info_from_grp_id( mbedtls_ecp_group_id grp_id ) in mbedtls_ecp_curve_info_from_grp_id() argument
612 curve_info->grp_id != MBEDTLS_ECP_DP_NONE; in mbedtls_ecp_curve_info_from_grp_id()
615 if( curve_info->grp_id == grp_id ) in mbedtls_ecp_curve_info_from_grp_id()
630 curve_info->grp_id != MBEDTLS_ECP_DP_NONE; in mbedtls_ecp_curve_info_from_tls_id()
651 curve_info->grp_id != MBEDTLS_ECP_DP_NONE; in mbedtls_ecp_curve_info_from_name()
1087 mbedtls_ecp_group_id grp_id; in mbedtls_ecp_tls_read_group() local
1092 if( ( ret = mbedtls_ecp_tls_read_group_id( &grp_id, buf, len ) ) != 0 ) in mbedtls_ecp_tls_read_group()
1095 return( mbedtls_ecp_group_load( grp, grp_id ) ); in mbedtls_ecp_tls_read_group()
1133 *grp = curve_info->grp_id; in mbedtls_ecp_tls_read_group_id()
2976 const mbedtls_ecp_group_id grp_id ) in ecp_check_bad_points_mx() argument
2999 if( grp_id == MBEDTLS_ECP_DP_CURVE25519 ) in ecp_check_bad_points_mx()
3014 (void) grp_id; in ecp_check_bad_points_mx()
3235 int mbedtls_ecp_gen_key( mbedtls_ecp_group_id grp_id, mbedtls_ecp_keypair *key, in mbedtls_ecp_gen_key() argument
3242 if( ( ret = mbedtls_ecp_group_load( &key->grp, grp_id ) ) != 0 ) in mbedtls_ecp_gen_key()
3252 int mbedtls_ecp_read_key( mbedtls_ecp_group_id grp_id, mbedtls_ecp_keypair *key, in mbedtls_ecp_read_key() argument
3260 if( ( ret = mbedtls_ecp_group_load( &key->grp, grp_id ) ) != 0 ) in mbedtls_ecp_read_key()
3271 if( grp_id == MBEDTLS_ECP_DP_CURVE25519 ) in mbedtls_ecp_read_key()
3541 MBEDTLS_MPI_CHK( mbedtls_ecp_group_load( &grp, mbedtls_ecp_curve_list()->grp_id ) ); in mbedtls_ecp_self_test()