Attorney General Jeff Sessions said Wednesday he's open to some kind of agreement that would help Dreamers in return for tougher border security, but stopped short of saying he could support a path to citizenship for the Dreamers.

"I have not supported explicitly anything about citizenship," he told Sen. Lindsey Graham, R-S.C., in a Senate Judiciary Committee hearing. "But I am prepared to say, and I think I've said previously, something could be worked out on this. But it can't just be one-sided."

Graham replied that he agrees that any compromise can't only help immigrants brought to the U.S. illegally as children to stay in work, and have nothing on border enforcement.

The Trump administration has been pushing for a border wall, and President Trump has said he will insist on funding for the wall in the next wave of federal spending bills.

Trump set up the possibility for a deal by saying he would rescind former President Barack Obama's Deferred Action for Childhood Arrivals program, and said Congress needs to legislate a program if it wants to help Dreamers.

Republicans have indicated a deal could revolve around tougher border security, but Democrats have said they can't accept a border wall, and would even vote to shut down the government if the GOP insisted on border wall funding.

Graham also asked Sessions how long the border wall would be, and whether it would span the entire 2,200 miles of the southwestern border.

"No, it will not," Sessions said in an answer that reflects the position of the government that tougher border security could be achieved through different methods at different sections of the border.