MCPcopy
hub / github.com/kopia/kopia / aes256GCMHmacSha256

Struct aes256GCMHmacSha256

repo/encryption/aes256_gcm_hmac_sha256_encryptor.go:20–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18const aes256KeyDerivationSecretSize = 32
19
20type aes256GCMHmacSha256 struct {
21 hmacPool *sync.Pool
22}
23
24// aeadForContent returns cipher.AEAD using key derived from a given contentID.
25func (e aes256GCMHmacSha256) aeadForContent(contentID []byte) (cipher.AEAD, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected