mirror of https://github.com/grpc/grpc-go.git
credentials/alts: Fix ALTS record crypto interface comments (#3638)
This commit is contained in:
parent
d6e95de140
commit
5e50693410
|
|
@ -32,7 +32,7 @@ import (
|
|||
// ALTSRecordCrypto is the interface for gRPC ALTS record protocol.
|
||||
type ALTSRecordCrypto interface {
|
||||
// Encrypt encrypts the plaintext and computes the tag (if any) of dst
|
||||
// and plaintext, dst and plaintext do not overlap.
|
||||
// and plaintext. dst and plaintext may fully overlap or not at all.
|
||||
Encrypt(dst, plaintext []byte) ([]byte, error)
|
||||
// EncryptionOverhead returns the tag size (if any) in bytes.
|
||||
EncryptionOverhead() int
|
||||
|
|
|
|||
Loading…
Reference in New Issue