In one sense, neither. SSA really isn't a thing because it can lead into a maze of ambiguities that you need trig to sort out. For instance, some instances will lead to two triangles that meet the SSA criteria, but are very clearly not congruent.
But, in another sense it is sort of SSA, namely, the only instance of it that geometry textbooks will usually teach. If it is a right triangle, then hypotenuse-leg (HL) will work.
I this case, we clearly have right triangles, we clearly have congruent hypotenuses, and we have a shared side that is a leg, so it meets all the criteria for HL.