Home
last modified time | relevance | path

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

/external/libvterm/src/
Dunicode.c215 static int mk_wcswidth(const uint32_t *pwcs, size_t n) in mk_wcswidth() argument
219 for (;*pwcs && n-- > 0; pwcs++) in mk_wcswidth()
220 if ((w = mk_wcwidth(*pwcs)) < 0) in mk_wcswidth()
306 static int mk_wcswidth_cjk(const uint32_t *pwcs, size_t n) in mk_wcswidth_cjk() argument
310 for (;*pwcs && n-- > 0; pwcs++) in mk_wcswidth_cjk()
311 if ((w = mk_wcwidth_cjk(*pwcs)) < 0) in mk_wcswidth_cjk()
/external/scapy/scapy/layers/tls/
Dsession.py346 self.pwcs = None
466 if hasattr(self, "pwcs") and self.pwcs:
467 self.pwcs.connection_end = val
503 self.prcs, self.pwcs = self.pwcs, self.prcs
506 if self.pwcs:
507 self.pwcs.row = "write"
530 ms = self.pwcs.prf.compute_master_secret(self.pre_master_secret,
542 self.pwcs.derive_keys(client_random=self.client_random,
557 km = self.pwcs.prf.derive_key_block(self.master_secret,
560 2*self.pwcs.cipher.key_len)
[all …]
Drecord_sslv2.py160 if self.tls_session.pwcs is not None:
161 self.tls_session.wcs = self.tls_session.pwcs
162 self.tls_session.pwcs = None
258 if self.tls_session.pwcs is not None:
259 self.tls_session.wcs = self.tls_session.pwcs
260 self.tls_session.pwcs = None
268 if self.tls_session.pwcs is not None:
269 self.tls_session.pwcs.seq_num += 1
Drecord_tls13.py202 if self.tls_session.pwcs is not None:
203 self.tls_session.wcs = self.tls_session.pwcs
204 self.tls_session.pwcs = None
Drecord.py506 if self.tls_session.pwcs is not None:
507 self.tls_session.wcs = self.tls_session.pwcs
508 self.tls_session.pwcs = None
667 if self.tls_session.pwcs is not None:
668 self.tls_session.wcs = self.tls_session.pwcs
669 self.tls_session.pwcs = None
Dhandshake.py384 self.tls_session.pwcs = writeConnState(ciphersuite=cs_cls,
430 s.pwcs = writeConnState(ciphersuite=cs_cls,
699 if s.pwcs:
700 if s.pwcs.key_exchange.export:
703 cls = s.pwcs.key_exchange.server_kx_msg_cls(b"\x03")
716 if s.pwcs:
717 if not s.pwcs.key_exchange.anonymous:
1007 s.pwcs = writeConnState(ciphersuite=type(s.wcs.ciphersuite),
Dhandshake_sslv2.py358 s.pwcs = writeConnState(ciphersuite=cs_cls,
372 if s.pwcs.cipher.type == "block":
373 s.pwcs.cipher.iv = self.keyarg
/external/libcxx/include/
Dcstdlib75 size_t mbstowcs(wchar_t* restrict pwcs, const char* restrict s, size_t n);
76 size_t wcstombs(char* restrict s, const wchar_t* restrict pwcs, size_t n);
/external/scapy/test/
Dtls.uts1056 assert(isinstance(t.tls_session.pwcs.ciphersuite, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA))
1057 assert(isinstance(t.tls_session.pwcs.key_exchange, KX_ECDHE_RSA))
1058 assert(isinstance(t.tls_session.pwcs.cipher, Cipher_AES_256_CBC))
1059 assert(isinstance(t.tls_session.pwcs.hmac, Hmac_SHA))
Dsslv2.uts82 assert(t_enc.tls_session.pwcs.tls_version == 0x0002)