I think the only requirement is that the priest made the proper signs during the sacraments. There is something of a formula they have to follow. If it was not followed, they might be invalid in the eyes of the Church. I’ve never heard of this happening though, even in liberal parishes, so your sacraments are most likely valid. Generally, if there was no specific evidence they were invalid, I think the Church would assume they are valid.
Another thing I read a while back is that the spiritual benefits of Confirmation are suspended if you were not in a state of grace when you first received the sacrament. In this case, you would still be “marked” by the sacrament but not get the expected benefits. Unlike Confession (First Communion), Confirmation is a one time only sacrament, so you don’t have to be confirmed a second time. Simply going to Confession (and returning to a state of grace) would bring all the normal benefits of the sacrament.