// securecompare.go:常数时间比对(T3 纪律,gateway 内独立小工具;复用 auth 包 // 语义但不引依赖环——auth 依赖 store,gateway 已依赖 store,为避免实现耦合镜像函数)。 package gateway import "crypto/hmac" // hmacEqual hmac.Equal 包装(常数时间)。 func hmacEqual(a, b []byte) bool { return hmac.Equal(a, b) }