Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/test/runner/
Ddtls.go26 func versionToWire(vers uint16, isDTLS bool) uint16 {
27 if isDTLS {
46 func wireToVersion(vers uint16, isDTLS bool) (uint16, bool) {
47 if isDTLS {
105 if wireVers := versionToWire(c.vers, c.isDTLS); vers != wireVers {
377 vers = versionToWire(vers, c.isDTLS)
486 c := &Conn{config: config, isDTLS: true, conn: conn}
496 c := &Conn{config: config, isClient: true, isDTLS: true, conn: conn}
Dconn.go32 isDTLS bool member
105 c.in.isDTLS = c.isDTLS
106 c.out.isDTLS = c.isDTLS
154 isDTLS bool member
245 if hc.isDTLS {
279 if hc.isDTLS {
317 if hc.isDTLS {
406 if hc.isDTLS {
444 if hc.version >= VersionTLS11 || hc.isDTLS {
728 if c.isDTLS {
[all …]
Dcommon.go1371 func (c *Config) minVersion(isDTLS bool) uint16 {
1376 if isDTLS {
1389 func (c *Config) maxVersion(isDTLS bool) uint16 {
1394 if isDTLS {
1430 func (c *Config) isSupportedVersion(vers uint16, isDTLS bool) bool {
1431 return c.minVersion(isDTLS) <= vers && vers <= c.maxVersion(isDTLS)
Dhandshake_server.go158 if c.isDTLS && !config.Bugs.SkipHelloVerifyRequest {
162 vers: versionToWire(VersionTLS10, c.isDTLS),
213 if c.isDTLS {
242 extVersion, ok = wireToVersion(extVersion, c.isDTLS)
246 if config.isSupportedVersion(extVersion, c.isDTLS) && !foundVersion {
262 if maxVersion := config.maxVersion(c.isDTLS); version > maxVersion {
265 if version == 0 || !config.isSupportedVersion(version, c.isDTLS) {
367 isDTLS: c.isDTLS,
368 vers: versionToWire(c.vers, c.isDTLS),
527 vers: versionToWire(c.vers, c.isDTLS),
[all …]
Dhandshake_client.go60 minVersion := c.config.minVersion(c.isDTLS)
61 maxVersion := c.config.maxVersion(c.isDTLS)
63 isDTLS: c.isDTLS,
64 vers: versionToWire(maxVersion, c.isDTLS),
181 if c.isDTLS && suite.flags&suiteNoDTLS != 0 {
316 hello.supportedVersions = append(hello.supportedVersions, versionToWire(version, c.isDTLS))
407 if c.isDTLS {
410 if helloVerifyRequest.vers != versionToWire(VersionTLS10, c.isDTLS) {
444 serverVersion, ok := wireToVersion(serverWireVersion, c.isDTLS)
446 ok = c.config.isSupportedVersion(serverVersion, c.isDTLS)
[all …]
Dhandshake_messages.go134 isDTLS bool member
179 m.isDTLS == m1.isDTLS &&
230 if m.isDTLS {
468 if m.isDTLS {
817 isDTLS bool member
845 vers, ok := wireToVersion(m.vers, m.isDTLS)
910 vers, ok := wireToVersion(m.vers, m.isDTLS)