constant-time comparison

constant-time comparison algorithm on signature verification to prevent timing attacks