Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/test/runner/
Dcommon.go1695 func (c *Config) minVersion(isDTLS bool) uint16 {
1700 if isDTLS {
1713 func (c *Config) maxVersion(isDTLS bool) uint16 {
1718 if isDTLS {
1752 func wireToVersion(vers uint16, isDTLS bool) (uint16, bool) {
1753 if isDTLS {
1773 func (c *Config) isSupportedVersion(wireVers uint16, isDTLS bool) (uint16, bool) {
1774 vers, ok := wireToVersion(wireVers, isDTLS)
1775 if !ok || c.minVersion(isDTLS) > vers || vers > c.maxVersion(isDTLS) {
1781 func (c *Config) supportedVersions(isDTLS bool) []uint16 {
[all …]
Dconn.go32 isDTLS bool member
124 c.in.isDTLS = c.isDTLS
125 c.out.isDTLS = c.isDTLS
174 isDTLS bool member
210 protocolVersion, ok := wireToVersion(version, hc.isDTLS)
242 protocolVersion, ok := wireToVersion(version, hc.isDTLS)
267 if hc.isDTLS {
301 if hc.isDTLS {
339 if hc.isDTLS {
428 if hc.isDTLS {
[all …]
Dhandshake_server.go160 if c.isDTLS && !config.Bugs.SkipHelloVerifyRequest {
235 if c.isDTLS {
266 if _, ok := config.isSupportedVersion(vers, c.isDTLS); ok {
281 c.vers, ok = wireToVersion(c.wireVersion, c.isDTLS)
287 clientProtocol, ok := wireToVersion(c.clientVersion, c.isDTLS)
389 isDTLS: c.isDTLS,
444 hs.finishedHash = newFinishedHash(c.wireVersion, c.isDTLS, hs.suite)
1176 isDTLS: c.isDTLS,
1198 if c.vers <= VersionTLS12 && config.maxVersion(c.isDTLS) >= VersionTLS13 {
1201 if c.vers <= VersionTLS11 && config.maxVersion(c.isDTLS) == VersionTLS12 {
[all …]
Dhandshake_client.go39 func mapClientHelloVersion(vers uint16, isDTLS bool) uint16 {
40 if !isDTLS {
104 minVersion := c.config.minVersion(c.isDTLS)
105 maxVersion := c.config.maxVersion(c.isDTLS)
107 isDTLS: c.isDTLS,
135 hello.vers = mapClientHelloVersion(VersionTLS12, c.isDTLS)
137 hello.supportedVersions = c.config.supportedVersions(c.isDTLS)
141 hello.vers = mapClientHelloVersion(maxVersion, c.isDTLS)
472 finishedHash := newFinishedHash(session.wireVersion, c.isDTLS, pskCipherSuite)
500 if c.isDTLS {
[all …]
Dhandshake_messages.go255 isDTLS bool member
310 m.isDTLS == m1.isDTLS &&
382 if m.isDTLS {
688 if m.isDTLS {
974 isDTLS bool member
1006 vers, ok := wireToVersion(m.vers, m.isDTLS)
1088 vers, ok := wireToVersion(m.vers, m.isDTLS)
1124 vers, ok = wireToVersion(m.vers, m.isDTLS)
2205 isDTLS bool member
2221 version, ok := wireToVersion(m.vers, m.isDTLS)
[all …]
Ddtls.go368 if c.isDTLS {
489 c := &Conn{config: config, isDTLS: true, conn: conn}
499 c := &Conn{config: config, isClient: true, isDTLS: true, conn: conn}
Dprf.go183 func newFinishedHash(wireVersion uint16, isDTLS bool, cipherSuite *cipherSuite) finishedHash {
186 version, ok := wireToVersion(wireVersion, isDTLS)