Searched refs:recordHeaderLen (Results 1 – 2 of 2) sorted by relevance
338 func (hc *halfConn) recordHeaderLen() int { func414 recordHeaderLen := hc.recordHeaderLen()417 payload := b.data[recordHeaderLen:]458 additionalData = b.data[:recordHeaderLen]465 b.resize(recordHeaderLen + explicitIVLen + len(payload))486 b.resize(recordHeaderLen + explicitIVLen + len(payload))515 b.resize(recordHeaderLen + len(payload))527 b.data[recordHeaderLen-2] = byte(n >> 8)528 b.data[recordHeaderLen-1] = byte(n)529 b.resize(recordHeaderLen + explicitIVLen + n)[all …]
27 recordHeaderLen := dtlsRecordHeaderLen38 b.resize(maxCiphertext + recordHeaderLen)55 if len(b.data) < recordHeaderLen {93 if n > maxCiphertext || len(b.data) < recordHeaderLen+n {99 b, c.rawInput = c.in.splitBlock(b, recordHeaderLen+n)334 recordHeaderLen := dtlsRecordHeaderLen360 b.resize(recordHeaderLen + explicitIVLen + len(data))381 explicitIV := b.data[recordHeaderLen : recordHeaderLen+explicitIVLen]390 copy(b.data[recordHeaderLen+explicitIVLen:], data)