Home
last modified time | relevance | path

Searched refs:suffixBytes (Results 1 – 1 of 1) sorted by relevance

/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsTsiFrameProtector.java100 private final int suffixBytes; field in AltsTsiFrameProtector.Protector
104 this.suffixBytes = crypter.getSuffixLength(); in Protector()
105 this.maxUnprotectedBytesPerFrame = maxProtectedFrameBytes - HEADER_BYTES - suffixBytes; in Protector()
148 long protectedBytes = frameNum * (HEADER_BYTES + suffixBytes) + unprotectedBytes; in handleUnprotected()
157 protectedBuf.writeIntLE(unprotectedBytesLeft + HEADER_TYPE_FIELD_BYTES + suffixBytes); in handleUnprotected()
161 ByteBuf frameOut = writeSlice(protectedBuf, unprotectedBytesLeft + suffixBytes); in handleUnprotected()
190 private final int suffixBytes; field in AltsTsiFrameProtector.Unprotector
203 this.suffixBytes = crypter.getSuffixLength(); in Unprotector()
205 this.firstFrameTag = alloc.directBuffer(suffixBytes); in Unprotector()
264 requiredProtectedBytes >= suffixBytes, "Invalid header field: frame size too small"); in handleHeader()
[all …]