libgocryptfs/internal
Jakob Unterwurzacher 75cace0568 cryptocore: simplify declarations
Reported by codacity:

internal/cryptocore/cryptocore.go
Minor icon MINOR
Code Style
should omit type AEADTypeEnum from declaration of var BackendAESSIV; it will be inferred from the right-hand side
var BackendAESSIV AEADTypeEnum = AEADTypeEnum{"AES-SIV-512", "Go", siv_aead.NonceSize}
Minor icon MINOR
Code Style
should omit type AEADTypeEnum from declaration of var BackendXChaCha20Poly1305; it will be inferred from the right-hand side
var BackendXChaCha20Poly1305 AEADTypeEnum = AEADTypeEnum{"XChaCha20-Poly1305", "Go", chacha20poly1305.NonceSizeX}
Minor icon MINOR
Code Style
should omit type AEADTypeEnum from declaration of var BackendXChaCha20Poly1305OpenSSL; it will be inferred from the right-hand side
var BackendXChaCha20Poly1305OpenSSL AEADTypeEnum = AEADTypeEnum{"XChaCha20-Poly1305", "OpenSSL", chacha20poly1305.NonceSizeX}
Found 2 possible new issues
internal/cryptocore/cryptocore.go
Minor icon MINOR
Code Style
should omit type AEADTypeEnum from declaration of var BackendOpenSSL; it will be inferred from the right-hand side
var BackendOpenSSL AEADTypeEnum = AEADTypeEnum{"AES-GCM-256", "OpenSSL", 16}
Minor icon MINOR
Code Style
should omit type AEADTypeEnum from declaration of var BackendGoGCM; it will be inferred from the right-hand side
var BackendGoGCM AEADTypeEnum = AEADTypeEnum{"AES-GCM-256", "Go", 16}
2021-09-28 18:35:37 +02:00
..
configfile cli: drop -forcedecode flag 2021-09-10 12:14:19 +02:00
contentenc cli: drop -forcedecode flag 2021-09-10 12:14:19 +02:00
cryptocore cryptocore: simplify declarations 2021-09-28 18:35:37 +02:00
ctlsocksrv go mod: declare module version v2 2021-08-23 15:05:15 +02:00
ensurefds012 Unbreak hyperlinks broken by go mod v2 conversion 2021-08-30 11:31:01 +02:00
exitcodes Add support for FIDO2 tokens 2020-09-12 18:06:54 +02:00
fido2 go mod: declare module version v2 2021-08-23 15:05:15 +02:00
fusefrontend inomap: deterministically set root device 2021-09-10 17:17:16 +02:00
fusefrontend_reverse inomap: deterministically set root device 2021-09-10 17:17:16 +02:00
inomap inomap: deterministically set root device 2021-09-10 17:17:16 +02:00
nametransform Unbreak hyperlinks broken by go mod v2 conversion 2021-08-30 11:31:01 +02:00
openfiletable go mod: declare module version v2 2021-08-23 15:05:15 +02:00
pathiv go mod: declare module version v2 2021-08-23 15:05:15 +02:00
readpassword go mod: declare module version v2 2021-08-23 15:05:15 +02:00
siv_aead cryptocore: add NonceSize to AEADTypeEnum 2021-08-23 22:10:23 +02:00
speed cryptocore: disentangle algorithm / library implementation name 2021-09-28 18:09:31 +02:00
stupidgcm stupidgcm: add CpuHasAES() 2021-09-14 18:58:04 +02:00
syscallcompat Unbreak hyperlinks broken by go mod v2 conversion 2021-08-30 11:31:01 +02:00
tlog tlog: switch from golang.org/x/crypto/ssh/terminal to golang.org/x/term 2021-08-19 07:38:56 +02:00