Home
last modified time | relevance | path

Searched refs:tls (Results 1 – 25 of 222) sorted by relevance

123456789

/external/syslinux/gpxe/src/net/
Dtls.c45 static int tls_send_plaintext ( struct tls_session *tls, unsigned int type,
47 static void tls_clear_cipher ( struct tls_session *tls,
83 struct tls_session *tls = in free_tls() local
87 tls_clear_cipher ( tls, &tls->tx_cipherspec ); in free_tls()
88 tls_clear_cipher ( tls, &tls->tx_cipherspec_pending ); in free_tls()
89 tls_clear_cipher ( tls, &tls->rx_cipherspec ); in free_tls()
90 tls_clear_cipher ( tls, &tls->rx_cipherspec_pending ); in free_tls()
91 x509_free_rsa_public_key ( &tls->rsa ); in free_tls()
92 free ( tls->rx_data ); in free_tls()
95 free ( tls ); in free_tls()
[all …]
/external/scapy/scapy/layers/tls/
Dall.py10 from scapy.layers.tls.cert import *
12 from scapy.layers.tls.automaton_cli import *
13 from scapy.layers.tls.automaton_srv import *
14 from scapy.layers.tls.extensions import *
15 from scapy.layers.tls.handshake import *
16 from scapy.layers.tls.handshake_sslv2 import *
17 from scapy.layers.tls.keyexchange import *
18 from scapy.layers.tls.keyexchange_tls13 import *
19 from scapy.layers.tls.record import *
20 from scapy.layers.tls.record_sslv2 import *
[all …]
Drecord_tls13.py20 from scapy.layers.tls.session import _GenericTLSSessionInheritance
21 from scapy.layers.tls.basefields import (_TLSVersionField, _tls_version,
23 from scapy.layers.tls.record import _TLSMsgListField
24 from scapy.layers.tls.crypto.cipher_aead import AEADTagError
25 from scapy.layers.tls.crypto.cipher_stream import Cipher_NULL
26 from scapy.layers.tls.crypto.ciphers import CipherError
Drecord.py23 from scapy.layers.tls.session import _GenericTLSSessionInheritance
24 from scapy.layers.tls.handshake import (_tls_handshake_cls, _TLSHandshake,
26 from scapy.layers.tls.basefields import (_TLSVersionField, _tls_version,
30 from scapy.layers.tls.crypto.pkcs1 import randstring, pkcs_i2osp
31 from scapy.layers.tls.crypto.compression import Comp_NULL
32 from scapy.layers.tls.crypto.cipher_aead import AEADTagError
34 from scapy.layers.tls.crypto.cipher_aead import Cipher_CHACHA20_POLY1305
35 from scapy.layers.tls.crypto.cipher_stream import Cipher_NULL
36 from scapy.layers.tls.crypto.ciphers import CipherError
37 from scapy.layers.tls.crypto.h_mac import HMACError
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DConnectionSpec.java79 private final boolean tls; field in ConnectionSpec
85 this.tls = builder.tls; in ConnectionSpec()
92 return tls; in isTls()
175 if (!tls) { in isCompatible()
214 if (this.tls != that.tls) return false; in equals()
216 if (tls) { in equals()
227 if (tls) { in hashCode()
236 if (!tls) { in toString()
250 private boolean tls; field in ConnectionSpec.Builder
255 Builder(boolean tls) { in Builder() argument
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DThreadLocal.inc26 DWORD* tls = new DWORD;
27 *tls = TlsAlloc();
28 assert(*tls != TLS_OUT_OF_INDEXES);
29 data = tls;
33 DWORD* tls = static_cast<DWORD*>(data);
34 TlsFree(*tls);
35 delete tls;
39 DWORD* tls = static_cast<DWORD*>(data);
40 return TlsGetValue(*tls);
44 DWORD* tls = static_cast<DWORD*>(data);
[all …]
/external/pdfium/third_party/libopenjpeg20/
Dthread.c514 static void opj_tls_destroy(opj_tls_t* tls) in opj_tls_destroy() argument
517 if (!tls) { in opj_tls_destroy()
520 for (i = 0; i < tls->key_val_count; i++) { in opj_tls_destroy()
521 if (tls->key_val[i].opj_free_func) { in opj_tls_destroy()
522 tls->key_val[i].opj_free_func(tls->key_val[i].value); in opj_tls_destroy()
525 opj_free(tls->key_val); in opj_tls_destroy()
526 opj_free(tls); in opj_tls_destroy()
529 void* opj_tls_get(opj_tls_t* tls, int key) in opj_tls_get() argument
532 for (i = 0; i < tls->key_val_count; i++) { in opj_tls_get()
533 if (tls->key_val[i].key == key) { in opj_tls_get()
[all …]
Dthread.h174 void* opj_tls_get(opj_tls_t* tls, int key);
186 OPJ_BOOL opj_tls_set(opj_tls_t* tls, int key, void* value,
213 typedef void (*opj_job_fn)(void* user_data, opj_tls_t* tls);
/external/llvm/lib/Support/Windows/
DThreadLocal.inc27 DWORD* tls = reinterpret_cast<DWORD*>(&data);
28 *tls = TlsAlloc();
29 assert(*tls != TLS_OUT_OF_INDEXES);
33 DWORD* tls = reinterpret_cast<DWORD*>(&data);
34 TlsFree(*tls);
38 DWORD* tls = reinterpret_cast<DWORD*>(&data);
39 return TlsGetValue(*tls);
43 DWORD* tls = reinterpret_cast<DWORD*>(&data);
44 int errorcode = TlsSetValue(*tls, const_cast<void*>(d));
/external/libcups/cups/
Dtls-boringssl.c292 return (SSL_pending(http->tls)); in _httpTLSPending()
305 return (SSL_read((SSL *)(http->tls), buf, len)); in _httpTLSRead()
362 http->tls = SSL_new(context); in _httpTLSStart()
363 SSL_set_bio(http->tls, bio, bio); in _httpTLSStart()
370 SSL_set_connect_state(http->tls); in _httpTLSStart()
391 SSL_set_tlsext_host_name(http->tls, hostname); in _httpTLSStart()
400 if (SSL_do_handshake(http->tls) != 1) in _httpTLSStart()
411 SSL_free(http->tls); in _httpTLSStart()
412 http->tls = NULL; in _httpTLSStart()
438 switch (SSL_shutdown(http->tls)) in _httpTLSStop()
[all …]
Dtls-gnutls.c313 if (!http || !http->tls || !credentials) in httpCopyCredentials()
317 certs = gnutls_certificate_get_peers(http->tls, &count); in httpCopyCredentials()
1162 return (gnutls_record_check_pending(http->tls)); in _httpTLSPending()
1178 result = gnutls_record_recv(http->tls, buf, (size_t)len); in _httpTLSRead()
1301 status = gnutls_init(&http->tls, http->mode == _HTTP_MODE_CLIENT ? GNUTLS_CLIENT : GNUTLS_SERVER); in _httpTLSStart()
1303 status = gnutls_set_default_priority(http->tls); in _httpTLSStart()
1313 gnutls_deinit(http->tls); in _httpTLSStart()
1316 http->tls = NULL; in _httpTLSStart()
1343 status = gnutls_server_name_set(http->tls, GNUTLS_NAME_DNS, hostname, strlen(hostname)); in _httpTLSStart()
1507 status = gnutls_credentials_set(http->tls, GNUTLS_CRD_CERTIFICATE, *credentials); in _httpTLSStart()
[all …]
Dtls-darwin.c449 if (!http || !http->tls || !credentials) in httpCopyCredentials()
452 if (!(error = SSLCopyPeerTrust(http->tls, &peerTrust)) && peerTrust) in httpCopyCredentials()
1080 if (!SSLGetBufferedReadSize(http->tls, &bytes)) in _httpTLSPending()
1101 error = SSLRead(http->tls, buf, (size_t)len, &processed); in _httpTLSRead()
1197 …if ((http->tls = SSLCreateContext(kCFAllocatorDefault, http->mode == _HTTP_MODE_CLIENT ? kSSLClien… in _httpTLSStart()
1207 error = SSLSetConnection(http->tls, http); in _httpTLSStart()
1212 error = SSLSetIOFuncs(http->tls, http_cdsa_read, http_cdsa_write); in _httpTLSStart()
1218 error = SSLSetSessionOption(http->tls, kSSLSessionOptionBreakOnServerAuth, in _httpTLSStart()
1236 error = SSLSetProtocolVersionMin(http->tls, protocols[tls_min_version]); in _httpTLSStart()
1242 error = SSLSetProtocolVersionMax(http->tls, protocols[tls_max_version]); in _httpTLSStart()
[all …]
Dtls-sspi.c149 if (!http || !http->tls || !http->tls->remoteCert || !credentials) in httpCopyCredentials()
158 …httpAddCredential(*credentials, http->tls->remoteCert->pbCertEncoded, http->tls->remoteCert->cbCer… in httpCopyCredentials()
691 if (http->tls) in _httpTLSPending()
692 return (http->tls->readBufferUsed); in _httpTLSPending()
708 _http_sspi_t *sspi = http->tls; /* SSPI data */ in _httpTLSRead()
946 if ((http->tls = http_sspi_alloc()) == NULL) in _httpTLSStart()
1023 _http_sspi_t *sspi = http->tls; /* SSPI data */ in _httpTLSStop()
1114 http->tls = NULL; in _httpTLSStop()
1127 _http_sspi_t *sspi = http->tls; /* SSPI data */ in _httpTLSWrite()
1260 http->tls = http_sspi_alloc();
[all …]
/external/llvm/test/DebugInfo/PowerPC/
Dtls.ll6 ; 10 bytes of data in this DW_FORM_block1 representation of the location of 'tls'
10 ; The debug relocation of the address of the tls variable
11 ; CHECK: .quad tls@DTPREL+32768
15 @tls = thread_local global i32 7, align 4
21 !1 = !DIFile(filename: "tls.cpp", directory: "/tmp")
24 …!DIGlobalVariable(name: "tls", line: 1, isLocal: false, isDefinition: true, scope: null, file: !5,…
25 !5 = !DIFile(filename: "tls.cpp", directory: "/tmp")
Dtls-fission.ll7 ; 3 bytes of data in this DW_FORM_block1 representation of the location of 'tls'
18 ; CHECK-NEXT: .quad tls@DTPREL+32768
20 @tls = thread_local global i32 0, align 4
25 …, producer: "clang version 3.4 ", isOptimized: false, splitDebugFilename: "tls.dwo", emissionKind:…
26 !1 = !DIFile(filename: "tls.cpp", directory: "/tmp")
29 …!DIGlobalVariable(name: "tls", line: 1, isLocal: false, isDefinition: true, scope: null, file: !5,…
30 !5 = !DIFile(filename: "tls.cpp", directory: "/tmp")
/external/libgsm/
DMANIFEST45 gsm-1.0/tls/bitter.c
46 gsm-1.0/tls/bitter.dta
47 gsm-1.0/tls/taste.c
48 gsm-1.0/tls/taste.h
49 gsm-1.0/tls/sweet.c
50 gsm-1.0/tls/sour.c
51 gsm-1.0/tls/sour1.dta
52 gsm-1.0/tls/sour2.dta
53 gsm-1.0/tls/ginger.c
/external/ltp/lib/
Dcloner.c50 pid_t *parent_tid, void *tls, pid_t *child_tid);
54 # define clone(fn, stack, flags, arg, ptid, tls, ctid) \ argument
66 size_t stack_size, void *stack, pid_t *ptid, void *tls, pid_t *ctid) in ltp_clone_() argument
71 ret = __clone2(fn, stack, stack_size, flags, arg, ptid, tls, ctid); in ltp_clone_()
87 ret = clone(fn, stack, flags, arg, ptid, tls, ctid); in ltp_clone_()
103 void *tls; in ltp_clone7() local
108 tls = va_arg(arg_clone, void *); in ltp_clone7()
113 return ltp_clone_(flags, fn, arg, stack_size, stack, ptid, tls, ctid); in ltp_clone7()
/external/llvm/test/DebugInfo/X86/
Dtls.ll19 ; RUN: llc %s -o - -filetype=asm -O0 -mtriple=x86_64-unknown-linux-gnu -emulated-tls \
23 ; RUN: llc %s -o - -filetype=asm -O0 -mtriple=i386-linux-gnu -emulated-tls \
27 ; TODO: Add expected output for -emulated-tls tests.
33 ; 3 bytes of data in this DW_FORM_block1 representation of the location of 'tls'
43 ; 10 bytes of data in this DW_FORM_block1 representation of the location of 'tls'
47 ; SINGLE-64-NEXT: .quad tls@DTPOFF
58 ; SINGLE-32-NEXT: .long tls@DTPOFF
82 ; FISSION-NEXT: .quad tls@DTPOFF
88 ; __thread int tls;
99 @tls = thread_local global i32 0, align 4
[all …]
/external/scapy/test/configs/
Dtravis.utsc9 "cert.uts": "load_layer(\"tls\")",
10 "sslv2.uts": "load_layer(\"tls\")",
11 "tls*.uts": "load_layer(\"tls\")"
Dwindows2.utsc9 "cert.uts": "load_layer(\"tls\")",
10 "sslv2.uts": "load_layer(\"tls\")",
11 "tls*.uts": "load_layer(\"tls\")"
Dwindows.utsc9 "test\\cert.uts": "load_layer(\"tls\")",
10 "test\\sslv2.uts": "load_layer(\"tls\")",
11 "test\\tls*.uts": "load_layer(\"tls\")"
/external/llvm/test/DebugInfo/ARM/
Dtls.ll3 ; RUN: llc -O0 -filetype=asm -mtriple=armv7-linux-gnuehabi -emulated-tls < %s \
19 ; The debug relocation of the address of the tls variable
22 ; TODO: Add expected output for -emulated-tls tests.
26 !1 = !DIFile(filename: "tls.c", directory: "/tmp")
30 !5 = !DIFile(filename: "tls.c", directory: "/tmp")
/external/valgrind/gdbserver_tests/
Dhgtls.vgtest1 # test tls addresses
2 prog: ../none/tests/tls
4 prereq: test -e ../none/tests/tls && grep '^#define HAVE_TLS 1' ../config.h > /dev/null && grep '^…
8 argsB: --quiet -l 60 --nx ../none/tests/tls
/external/llvm/test/MC/ARM/
Dthumb-types.s32 .long tls(TPOFF)
48 .type tls,%object
50 tls: label
52 .size tls, 4
92 @ CHECK: Name: tls
/external/scapy/scapy/layers/tls/crypto/
Dciphers.py20 from scapy.layers.tls.crypto.cipher_aead import _tls_aead_cipher_algs
21 from scapy.layers.tls.crypto.cipher_block import _tls_block_cipher_algs
22 from scapy.layers.tls.crypto.cipher_stream import _tls_stream_cipher_algs

123456789