Home
last modified time | relevance | path

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

/external/chromium_org/third_party/boringssl/src/ssl/test/runner/
Dconn.go217 paddingLen := payload[len(payload)-1]
218 t := uint(len(payload)-1) - uint(paddingLen)
229 t := uint(paddingLen) - uint(i)
233 good &^= mask&paddingLen ^ mask&b
243 toRemove := good&paddingLen + 1
255 paddingLen := int(payload[len(payload)-1]) + 1
256 if paddingLen > len(payload) {
260 return payload[:len(payload)-paddingLen], 255
391 paddingLen := blockSize - overrun
394 for paddingLen+blockSize <= 256 {
[all …]
Dhandshake_messages.go1167 paddingLen := int(data[0])
1169 if len(data) != paddingLen {
/external/chromium_org/third_party/tlslite/tlslite/
Dmessages.py692 paddingLen = 32 - ((len(self.next_proto) + 2) % 32)
693 w.addVarSeq(bytearray(paddingLen), 1, 1)
/external/chromium_org/net/third_party/nss/ssl/
Dssl3ext.c2370 unsigned int paddingLen = extensionLen - 4; in ssl3_AppendPaddingExtension() local
2379 paddingLen > sizeof(padding)) { in ssl3_AppendPaddingExtension()
2386 if (SECSuccess != ssl3_AppendHandshakeNumber(ss, paddingLen, 2)) in ssl3_AppendPaddingExtension()
2388 if (SECSuccess != ssl3_AppendHandshake(ss, padding, paddingLen)) in ssl3_AppendPaddingExtension()
Dsslcon.c792 unsigned int paddingLen) in ssl2_CalcMAC() argument
812 PORT_Memset(padding, paddingLen, paddingLen); in ssl2_CalcMAC()
813 (*sec->hash->update)(sec->hashcx, padding, paddingLen); in ssl2_CalcMAC()
822 PRINT_BUF(60, (0, "calc-mac padding:", padding, paddingLen)); in ssl2_CalcMAC()