Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/test/runner/
Ddtls.go114 func (c *Conn) makeFragment(header, data []byte, fragOffset, fragLen int) []byte { argument
118 fragment = append(fragment, byte(fragOffset>>16), byte(fragOffset>>8), byte(fragOffset))
120 fragment = append(fragment, data[fragOffset:fragOffset+fragLen]...)
155 fragOffset := 0
156 for firstRun || fragOffset < len(data) {
158 fragLen := len(data) - fragOffset
163 fragment := c.makeFragment(header, data, fragOffset, fragLen)
164 if c.config.Bugs.FragmentMessageTypeMismatch && fragOffset > 0 {
167 if c.config.Bugs.FragmentMessageLengthMismatch && fragOffset > 0 {
186 fragOffset += fragLen