Searched refs:suffixBytes (Results 1 – 1 of 1) sorted by relevance
100 private final int suffixBytes; field in AltsTsiFrameProtector.Protector104 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.Unprotector203 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 …]