From 3264ebf9538b022c385321ac37b10fb347682944 Mon Sep 17 00:00:00 2001 From: Wade Simmons Date: Wed, 8 Jul 2026 10:53:08 -0400 Subject: [PATCH] cleanup --- Makefile | 2 +- noiseutil/fips140.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9767ff42..b58aed9c 100644 --- a/Makefile +++ b/Makefile @@ -296,7 +296,7 @@ fips140-$(1): fips140 endef $(foreach _rule, $(ALL_GOFIPS140), $(eval $(call FIPS140_rule,$(_rule)))) -# Iterate and tun the goals for all fips versions, like `make fips140-all test` +# Iterate and run the goals for all fips versions, like `make fips140-all test` fips140-all: @$(foreach _v,$(ALL_GOFIPS140),$(MAKE) fips140-$(_v) $(filter-out fips140-all,$(MAKECMDGOALS)) &&) true diff --git a/noiseutil/fips140.go b/noiseutil/fips140.go index 83a8a179..22860817 100644 --- a/noiseutil/fips140.go +++ b/noiseutil/fips140.go @@ -32,7 +32,7 @@ type cipherFn struct { func (c cipherFn) Cipher(k [32]byte) noise.Cipher { return c.fn(k) } func (c cipherFn) CipherName() string { return c.name } -// CipherAESGCM is the AES256-GCM AEAD cipher (using aeadAESGCM when fips140 is enabled) +// CipherAESGCMFIPS140 is the AES256-GCM AEAD cipher (using aeadAESGCM when fips140 is enabled) var CipherAESGCMFIPS140 noise.CipherFunc = cipherFn{cipherAESGCMFIPS140, "AESGCM"} // tls.aeadAESGCMTLS13 uses a 4 byte static prefix and an 8 byte XOR mask