docs: def _tls_pad(self, s):
          """
          Provided with the concatenation of the TLSCompressed.fragment and the
          HMAC, append the right padding and return it as a whole.
          This is the TLS-style padding: while SSL allowed for random padding,
          TLS (misguidedly) specifies the repetition of the same byte all over,
          and this byte must be equal to len(<entire padding>) - 1.
  
          Meant to be used with a block cipher only.
          """
          padding = b""
          block_size = self.tls_session.wcs.cipher.block_size
          padlen = block_size - ((len(s) + 1) % block_size)
          if padlen == block_size:
              padlen = 0
          pad_pattern = chb(padlen)
          padding = pad_pattern * (padlen + 1)
          return s + padding