could very well be a brake adjusting wrench along the line of something like this model made by Herbrand:
^ note openings on both ends are 8-points.
the other one MIGHT be an old textile wrench or a wrench made for adjusting some other type of machine that used square nuts.