MCPcopy
hub / github.com/grpc/grpc-go / EncryptionOverhead

Method EncryptionOverhead

credentials/alts/internal/conn/record.go:42–42  ·  view source on GitHub ↗

EncryptionOverhead returns the tag size (if any) in bytes.

()

Source from the content-addressed store, hash-verified

40 Encrypt(dst, plaintext []byte) ([]byte, error)
41 // EncryptionOverhead returns the tag size (if any) in bytes.
42 EncryptionOverhead() int
43 // Decrypt decrypts ciphertext and verifies the tag (if any). If successful,
44 // this function appends the resulting plaintext to dst, returning the
45 // updated slice. dst and ciphertext may alias exactly or not at all. To

Callers 4

NewConnFunction · 0.65
testLargeMsgFunction · 0.65
testFrameTooLargeFunction · 0.65

Implementers 2

aes128gcmRekeycredentials/alts/internal/conn/aes128g
aes128gcmcredentials/alts/internal/conn/aes128g

Calls

no outgoing calls

Tested by 3

testLargeMsgFunction · 0.52
testFrameTooLargeFunction · 0.52