Use constant time comparisons.

Though not strictly neccessary in this case, using constant time comparisons
ensures that the comparison is not susceptible to timing attacks.
gofmt