diff options
author | Jakob Unterwurzacher | 2021-09-07 18:11:11 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-09-07 18:15:04 +0200 |
commit | 85c2beccaf674c69b3e30b0d646f5c11d91ecb9b (patch) | |
tree | 6e3efb67d7461b7df3e332c1ebe83691958a2dba /internal/stupidgcm/gcm_test.go | |
parent | f47e287c202ba92e9b48e65bf95e0771c6c4997c (diff) |
stupidgcm: normalize constructor naming
New() -> NewAES256GCM()
Also add missing NewChacha20poly1305
constructor in without_openssl.go.
Diffstat (limited to 'internal/stupidgcm/gcm_test.go')
-rw-r--r-- | internal/stupidgcm/gcm_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/stupidgcm/gcm_test.go b/internal/stupidgcm/gcm_test.go index 5323afa..b587e58 100644 --- a/internal/stupidgcm/gcm_test.go +++ b/internal/stupidgcm/gcm_test.go @@ -13,7 +13,7 @@ import ( func TestStupidGCM(t *testing.T) { key := randBytes(32) - sGCM := New(key, false) + sGCM := NewAES256GCM(key, false) gAES, err := aes.NewCipher(key) if err != nil { |