Home
last modified time | relevance | path

Searched refs:vers (Results 1 – 25 of 129) sorted by relevance

123456

/external/boringssl/src/ssl/test/runner/
Ddtls.go26 func versionToWire(vers uint16, isDTLS bool) uint16 {
28 return ^(vers - 0x0201)
30 return vers
33 func wireToVersion(vers uint16, isDTLS bool) uint16 {
35 return ^vers + 0x0201
37 return vers
71 vers := wireToVersion(uint16(b.data[1])<<8|uint16(b.data[2]), c.isDTLS)
73 if vers != c.vers {
75 …Locked(fmt.Errorf("dtls: received record with version %x when expecting version %x", vers, c.vers))
78 if expect := c.config.Bugs.ExpectInitialRecordVersion; expect != 0 && vers != expect {
[all …]
Dhandshake_client.go60 vers: c.config.maxVersion(),
81 hello.vers = c.config.Bugs.SendClientVersion
116 if hello.vers < VersionTLS12 && suite.flags&suiteTLS12 != 0 {
142 if hello.vers >= VersionTLS12 && !c.config.Bugs.NoSignatureAndHashes {
170 versOk := candidateSession.vers >= c.config.minVersion() &&
171 candidateSession.vers <= c.config.maxVersion()
214 vers: hello.vers,
239 if helloVerifyRequest.vers != VersionTLS10 {
268 c.vers, ok = c.config.mutualVersion(serverHello.vers)
271 return fmt.Errorf("tls: server selected unsupported protocol version %x", serverHello.vers)
[all …]
Dhandshake_server.go150 vers: VersionTLS10,
192 if c.clientVersion != hs.clientHello.vers {
196 c.clientVersion = hs.clientHello.vers
207 if hs.clientHello.vers < VersionTLS12 {
215 c.vers, ok = config.mutualVersion(hs.clientHello.vers)
218 …t.Errorf("tls: client offered an unsupported, maximum protocol version of %x", hs.clientHello.vers)
266 hs.hello.vers = c.vers
321 …hs.hello.extendedMasterSecret = c.vers >= VersionTLS10 && hs.clientHello.extendedMasterSecret && !…
406 …if hs.suite = c.tryCipherSuite(id, supportedList, c.vers, hs.ellipticOk, hs.ecdsaOk); hs.suite != …
445 if !c.config.Bugs.AllowSessionVersionMismatch && c.vers != hs.sessionState.vers {
[all …]
Dticket.go21 vers uint16 member
35 if s.vers != s1.vers ||
65 x[0] = byte(s.vers >> 8)
66 x[1] = byte(s.vers)
107 s.vers = uint16(data[0])<<8 | uint16(data[1])
Dhandshake_messages.go12 vers uint16 member
46 m.vers == m1.vers &&
157 vers := versionToWire(m.vers, m.isDTLS)
158 x[4] = uint8(vers >> 8)
159 x[5] = uint8(vers)
404 m.vers = wireToVersion(uint16(data[4])<<8|uint16(data[5]), m.isDTLS)
634 vers uint16 member
723 vers := versionToWire(m.vers, m.isDTLS)
724 x[4] = uint8(vers >> 8)
725 x[5] = uint8(vers)
[all …]
Dconn.go35 vers uint16 // TLS version member
681 vers := uint16(b.data[1])<<8 | uint16(b.data[2])
684 if vers != c.vers {
686 …rLocked(fmt.Errorf("tls: received record with version %x when expecting version %x", vers, c.vers))
689 if expect := c.config.Bugs.ExpectInitialRecordVersion; expect != 0 && vers != expect {
691 …rLocked(fmt.Errorf("tls: received record with version %x when expecting version %x", vers, expect))
707 if (typ != recordTypeAlert && typ != want) || vers >= 0x1000 || n >= 0x3000 {
926 vers := c.vers
927 if vers == 0 {
930 vers = VersionTLS10
[all …]
Dcommon.go215 vers uint16 // SSL/TLS version negotiated for the session member
885 func (c *Config) mutualVersion(vers uint16) (uint16, bool) {
889 if vers < minVersion {
892 if vers > maxVersion {
893 vers = maxVersion
895 return vers, true
Dkey_agreement.go39 ka.clientVersion = versionToWire(clientHello.vers, clientHello.isDTLS)
132 vers := uint16(preMasterSecret[0])<<8 | uint16(preMasterSecret[1])
133 if ka.clientVersion != vers {
146 vers := clientHello.vers
148 vers ^= 1
150 vers = versionToWire(vers, clientHello.isDTLS)
151 preMasterSecret[0] = byte(vers >> 8)
152 preMasterSecret[1] = byte(vers)
176 if clientHello.vers != VersionSSL30 {
/external/libpng/contrib/tools/
Dchkfmt14 vers=
54 vers="`sed -n -e \
57 echo "chkfmt: checking version $vers"
59 if test -z "$vers"
98 if test -n "$vers"
100 sed -e "s/$vers/a.b.cc/g" "$file" >"$file".$$
/external/curl/docs/libcurl/
Dsymbols.pl67 my ($sym, $vers)=($1, $2);
74 if($vers =~ /([\d.]+)[ \t-]+([\d.-]+)[ \t]+([\d.]+)/) {
78 elsif($vers =~ /([\d.]+)[ \t-]+([\d.]+)/) {
82 $intr = $vers;
/external/selinux/libselinux/src/
Dpolicyvers.c18 unsigned vers = DEFAULT_POLICY_VERSION; in security_policyvers() local
29 return vers; in security_policyvers()
39 if (sscanf(buf, "%u", &vers) != 1) in security_policyvers()
42 return vers; in security_policyvers()
Dload_policy.c52 int maxvers = kernvers, minvers = DEFAULT_POLICY_VERSION, vers; in selinux_mkload_policy() local
165 vers = maxvers; in selinux_mkload_policy()
168 selinux_binary_policy_path(), vers); in selinux_mkload_policy()
171 && --vers >= minvers) { in selinux_mkload_policy()
174 selinux_binary_policy_path(), vers); in selinux_mkload_policy()
204 if (vers > kernvers && usesepol) { in selinux_mkload_policy()
228 vers--; in selinux_mkload_policy()
Dselinux_config.c349 int vers = 0; in hidden_def() local
358 vers = security_policyvers(); in hidden_def()
362 selinux_binary_policy_path(), vers); in hidden_def()
363 } while ((rc = access(policy_path, F_OK)) && --vers > 0); in hidden_def()
/external/libselinux/src/
Dpolicyvers.c18 unsigned vers = DEFAULT_POLICY_VERSION; in security_policyvers() local
29 return vers; in security_policyvers()
39 if (sscanf(buf, "%u", &vers) != 1) in security_policyvers()
42 return vers; in security_policyvers()
/external/selinux/libsepol/src/
Dpolicydb_public.c116 int sepol_policydb_set_vers(sepol_policydb_t * sp, unsigned int vers) in sepol_policydb_set_vers() argument
121 if (vers < POLICYDB_VERSION_MIN || vers > POLICYDB_VERSION_MAX) in sepol_policydb_set_vers()
126 if (vers < MOD_POLICYDB_VERSION_MIN in sepol_policydb_set_vers()
127 || vers > MOD_POLICYDB_VERSION_MAX) in sepol_policydb_set_vers()
133 p->policyvers = vers; in sepol_policydb_set_vers()
Davtab.c433 int avtab_read_item(struct policy_file *fp, uint32_t vers, avtab_t * a, in avtab_read_item() argument
451 if (vers < POLICYDB_VERSION_AVTAB) { in avtab_read_item()
542 if ((vers < POLICYDB_VERSION_XPERMS_IOCTL) && in avtab_read_item()
545 "permissions rules and one was specified\n", vers); in avtab_read_item()
585 int avtab_read(avtab_t * a, struct policy_file *fp, uint32_t vers) in avtab_read() argument
610 rc = avtab_read_item(fp, vers, a, avtab_insertf, NULL); in avtab_read()
/external/tcpdump/tests/
Ddecnet.out1 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2
2 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2
3 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2
4 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2
5 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2
19 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2
33 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2
44 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2
95 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2
128 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2
[all …]
/external/compiler-rt/cmake/Modules/
DSanitizerUtils.cmake64 set(vers ${CMAKE_CURRENT_BINARY_DIR}/${name}.vers) variable
73 add_custom_command(OUTPUT ${vers}
76 > ${vers}
83 DEPENDS ${vers})
/external/libpng/
DMakefile.am94 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LDFLAGS += -Wl,-M -Wl,libpng.vers
96 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LDFLAGS += -Wl,--version-script=libpng.vers
99 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_DEPENDENCIES = libpng.vers
129 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config libpng.vers libpng.sym \
158 scripts/sym.out scripts/vers.out: png.h pngconf.h pnglibconf.h
166 libpng.vers: scripts/vers.out
/external/tcpdump/
Dprint-gre.c88 u_int len = length, vers; in gre_print() local
94 vers = EXTRACT_16BITS(bp) & GRE_VERS_MASK; in gre_print()
95 ND_PRINT((ndo, "GREv%u",vers)); in gre_print()
97 switch(vers) { in gre_print()
Dprint-nfs.c368 uint32_t proc, vers, reply_stat; in nfsreply_print_noaddr() local
383 if (xid_map_find(rp, bp2, &proc, &vers) >= 0) in nfsreply_print_noaddr()
384 interp_reply(ndo, rp, proc, vers, length); in nfsreply_print_noaddr()
862 uint32_t vers; /* program version (host order) */ member
922 xmep->vers = EXTRACT_32BITS(&rp->rm_call.cb_vers); in xid_map_enter()
932 uint32_t *vers) in xid_map_find() argument
977 *vers = xmep->vers; in xid_map_find()
1469 const struct sunrpc_msg *rp, uint32_t proc, uint32_t vers, int length) in interp_reply() argument
1475 v3 = (vers == NFS_VER3); in interp_reply()
/external/selinux/libsepol/include/sepol/policydb/
Davtab.h121 extern int avtab_read_item(struct policy_file *fp, uint32_t vers, avtab_t * a,
125 extern int avtab_read(avtab_t * a, struct policy_file *fp, uint32_t vers);
/external/curl/lib/
D.gitignore12 libcurl.vers
/external/clang/test/Preprocessor/
Dc99-6_10_3_4_p6.c9 #define INCFILE(n) vers ## n
/external/icu/icu4c/source/extra/uconv/resources/
Dfr.txt100 …//problemCvtToU { "La conversion d''Unicode vers l''encodage de destination a échoué à la position…
101 …//problemCvtFromU { "La conversion de l''encodage original vers Unicode a échoué à la position {0}…
102 …//problemCvtFromUOut { "La conversion de l''encodage original vers Unicode a échoué à la position …

123456