Home
last modified time | relevance | path

Searched refs:rl (Results 1 – 25 of 112) sorted by relevance

12345

/external/wpa_supplicant_8/src/tls/
Dtlsv1_record.c30 int tlsv1_record_set_cipher_suite(struct tlsv1_record_layer *rl, in tlsv1_record_set_cipher_suite() argument
38 rl->cipher_suite = cipher_suite; in tlsv1_record_set_cipher_suite()
45 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_MD5; in tlsv1_record_set_cipher_suite()
46 rl->hash_size = MD5_MAC_LEN; in tlsv1_record_set_cipher_suite()
48 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_SHA1; in tlsv1_record_set_cipher_suite()
49 rl->hash_size = SHA1_MAC_LEN; in tlsv1_record_set_cipher_suite()
51 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_SHA256; in tlsv1_record_set_cipher_suite()
52 rl->hash_size = SHA256_MAC_LEN; in tlsv1_record_set_cipher_suite()
59 rl->key_material_len = data->key_material; in tlsv1_record_set_cipher_suite()
60 rl->iv_size = data->block_size; in tlsv1_record_set_cipher_suite()
[all …]
Dtlsv1_client.c65 if (tls_prf(conn->rl.tls_version, in tls_derive_keys()
79 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len); in tls_derive_keys()
80 if (conn->rl.tls_version == TLS_VERSION_1) in tls_derive_keys()
81 key_block_len += 2 * conn->rl.iv_size; in tls_derive_keys()
82 if (tls_prf(conn->rl.tls_version, in tls_derive_keys()
95 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size); in tls_derive_keys()
96 pos += conn->rl.hash_size; in tls_derive_keys()
98 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size); in tls_derive_keys()
99 pos += conn->rl.hash_size; in tls_derive_keys()
102 os_memcpy(conn->rl.write_key, pos, conn->rl.key_material_len); in tls_derive_keys()
[all …]
Dtlsv1_server.c71 if (tls_prf(conn->rl.tls_version, in tlsv1_server_derive_keys()
85 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len + in tlsv1_server_derive_keys()
86 conn->rl.iv_size); in tlsv1_server_derive_keys()
87 if (tls_prf(conn->rl.tls_version, in tlsv1_server_derive_keys()
100 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size); in tlsv1_server_derive_keys()
101 pos += conn->rl.hash_size; in tlsv1_server_derive_keys()
103 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size); in tlsv1_server_derive_keys()
104 pos += conn->rl.hash_size; in tlsv1_server_derive_keys()
107 os_memcpy(conn->rl.read_key, pos, conn->rl.key_material_len); in tlsv1_server_derive_keys()
108 pos += conn->rl.key_material_len; in tlsv1_server_derive_keys()
[all …]
Dtlsv1_record.h60 int tlsv1_record_set_cipher_suite(struct tlsv1_record_layer *rl,
62 int tlsv1_record_change_write_cipher(struct tlsv1_record_layer *rl);
63 int tlsv1_record_change_read_cipher(struct tlsv1_record_layer *rl);
64 int tlsv1_record_send(struct tlsv1_record_layer *rl, u8 content_type, u8 *buf,
67 int tlsv1_record_receive(struct tlsv1_record_layer *rl,
Dtlsv1_server_write.c85 WPA_PUT_BE16(pos, conn->rl.tls_version); in tls_write_server_hello()
170 if (tlsv1_record_send(&conn->rl, TLS_CONTENT_TYPE_HANDSHAKE, in tls_write_server_hello()
194 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_write_server_certificate()
260 if (tlsv1_record_send(&conn->rl, TLS_CONTENT_TYPE_HANDSHAKE, in tls_write_server_certificate()
347 if (tlsv1_record_send(&conn->rl, TLS_CONTENT_TYPE_HANDSHAKE, in tls_write_server_certificate_status()
377 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_write_server_key_exchange()
383 if (!tls_server_key_exchange_allowed(conn->rl.cipher_suite)) { in tls_write_server_key_exchange()
566 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_write_server_key_exchange()
569 conn->rl.tls_version, TLS_HASH_ALG_SHA256, in tls_write_server_key_exchange()
618 conn->rl.tls_version, conn->client_random, in tls_write_server_key_exchange()
[all …]
Dtlsv1_client_write.c129 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_send_client_hello()
245 if (tlsv1_record_send(&conn->rl, TLS_CONTENT_TYPE_HANDSHAKE, in tls_send_client_hello()
327 if (tlsv1_record_send(&conn->rl, TLS_CONTENT_TYPE_HANDSHAKE, in tls_write_client_certificate()
523 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_write_client_key_exchange()
556 if (tlsv1_record_send(&conn->rl, TLS_CONTENT_TYPE_HANDSHAKE, in tls_write_client_key_exchange()
618 if (conn->rl.tls_version == TLS_VERSION_1_2) { in tls_write_client_certificate_verify()
683 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_write_client_certificate_verify()
727 if (tlsv1_record_send(&conn->rl, TLS_CONTENT_TYPE_HANDSHAKE, in tls_write_client_certificate_verify()
755 if (tlsv1_record_send(&conn->rl, TLS_CONTENT_TYPE_CHANGE_CIPHER_SPEC, in tls_write_client_change_cipher_spec()
764 if (tlsv1_record_change_write_cipher(&conn->rl) < 0) { in tls_write_client_change_cipher_spec()
[all …]
Dtlsv1_server_read.c186 conn->rl.tls_version = TLS_VERSION_1; in tls_process_client_hello()
189 conn->rl.tls_version = TLS_VERSION_1_2; in tls_process_client_hello()
192 conn->rl.tls_version = TLS_VERSION_1_1; in tls_process_client_hello()
194 conn->rl.tls_version = conn->client_version; in tls_process_client_hello()
196 tls_version_str(conn->rl.tls_version)); in tls_process_client_hello()
251 if (tlsv1_record_set_cipher_suite(&conn->rl, cipher_suite) < 0) { in tls_process_client_hello()
834 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_process_client_key_exchange()
931 if (conn->rl.tls_version == TLS_VERSION_1_2) { in tls_process_certificate_verify()
1002 if (tls_verify_signature(conn->rl.tls_version, conn->client_rsa_key, in tls_process_certificate_verify()
1051 if (tlsv1_record_change_read_cipher(&conn->rl) < 0) { in tls_process_change_cipher_spec()
[all …]
/external/curl/tests/libtest/
Dlib537.c109 struct rlimit rl; local
117 if(sizeof(rl.rlim_max) > sizeof(long))
121 fmt = (sizeof(rl.rlim_max) < sizeof(long))?fmt_u:fmt_lu;
125 if(getrlimit(RLIMIT_NOFILE, &rl) != 0) {
134 if(rl.rlim_cur == RLIM_INFINITY)
138 snprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_cur);
142 if(rl.rlim_max == RLIM_INFINITY)
146 snprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_max);
158 if(rl.rlim_cur != rl.rlim_max) {
161 if((rl.rlim_cur > 0) &&
[all …]
Dlib518.c107 struct rlimit rl; in rlimit() local
116 if(sizeof(rl.rlim_max) > sizeof(long)) in rlimit()
120 fmt = (sizeof(rl.rlim_max) < sizeof(long))?fmt_u:fmt_lu; in rlimit()
124 if(getrlimit(RLIMIT_NOFILE, &rl) != 0) { in rlimit()
133 if(rl.rlim_cur == RLIM_INFINITY) in rlimit()
137 snprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_cur); in rlimit()
141 if(rl.rlim_max == RLIM_INFINITY) in rlimit()
145 snprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_max); in rlimit()
163 if(rl.rlim_cur != rl.rlim_max) { in rlimit()
166 if((rl.rlim_cur > 0) && in rlimit()
[all …]
/external/clang/test/CodeGen/
Darm-atomics-m.c30 long long rl; in test_presence() local
31 __atomic_load(&l, &rl, memory_order_seq_cst); in test_presence()
33 rl = 0; in test_presence()
34 __atomic_store(&l, &rl, memory_order_seq_cst); in test_presence()
Darm-atomics-m0.c30 long long rl; in test_presence() local
31 __atomic_load(&l, &rl, memory_order_seq_cst); in test_presence()
33 rl = 0; in test_presence()
34 __atomic_store(&l, &rl, memory_order_seq_cst); in test_presence()
Darm-atomics.c32 long long rl; in test_presence() local
33 __atomic_load(&l, &rl, memory_order_seq_cst); in test_presence()
35 rl = 0; in test_presence()
36 __atomic_store(&l, &rl, memory_order_seq_cst); in test_presence()
Darm-asm-variable.c9 register uint32_t rl asm("r1"); in foo()
17 : [_rl] "=&r" (rl), [_rh] "=&r" (rh) \ in foo()
/external/libxml2/
Dregressions.py74 rl = len(res)
76 if el != rl:
77 print 'Length of expected is %d, result is %d' % (el, rl)
79 for i in range(min(el, rl)):
83 if el > rl:
84 for i in range(rl, el):
87 elif rl > el:
88 for i in range (el, rl):
/external/curl/tests/data/
Dtest103541 http://too-long-IDN-name-c�rl-r�les-la-la-la-dee-da-flooby-nooby.local/page/1035 -x %HOSTIP:%HTTPPO…
52 GET http://too-long-IDN-name-c�rl-r�les-la-la-la-dee-da-flooby-nooby.local/page/1035 HTTP/1.1
53 Host: too-long-IDN-name-c�rl-r�les-la-la-la-dee-da-flooby-nooby.local
/external/toybox/toys/posix/
Dulimit.c94 rlim_t rl = (toys.optflags&FLAG_H) ? rr.rlim_max : rr.rlim_cur; in ulimit_main() local
96 if (rl == RLIM_INFINITY) printf("unlimited\n"); in ulimit_main()
97 else printf("%ld\n", (long)rl); in ulimit_main()
/external/libevent/
Ddevpoll.c121 struct rlimit rl; in devpoll_init() local
127 if (getrlimit(RLIMIT_NOFILE, &rl) == 0 && in devpoll_init()
128 rl.rlim_cur != RLIM_INFINITY) in devpoll_init()
129 nfiles = rl.rlim_cur; in devpoll_init()
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/
DNavCalculator.java77 RLSailing rl = mercatorSailing(p1, p2); in rhumbLineSailing() local
78 return rl; in rhumbLineSailing()
91 RLSailing rl = planeSailing(p1, p2); in mercatorSailing() local
92 return rl; in mercatorSailing()
102 RLSailing rl = new RLSailing(degCrs, (float) distance); in mercatorSailing() local
103 trueCourse = rl.getCourse(); in mercatorSailing()
107 return rl; in mercatorSailing()
/external/libchrome/base/message_loop/
Dmessage_pump_mac.mm26 void CFRunLoopAddSourceToAllModes(CFRunLoopRef rl, CFRunLoopSourceRef source) {
27 CFRunLoopAddSource(rl, source, kCFRunLoopCommonModes);
28 CFRunLoopAddSource(rl, source, kMessageLoopExclusiveRunLoopMode);
31 void CFRunLoopRemoveSourceFromAllModes(CFRunLoopRef rl,
33 CFRunLoopRemoveSource(rl, source, kCFRunLoopCommonModes);
34 CFRunLoopRemoveSource(rl, source, kMessageLoopExclusiveRunLoopMode);
37 void CFRunLoopAddTimerToAllModes(CFRunLoopRef rl, CFRunLoopTimerRef timer) {
38 CFRunLoopAddTimer(rl, timer, kCFRunLoopCommonModes);
39 CFRunLoopAddTimer(rl, timer, kMessageLoopExclusiveRunLoopMode);
42 void CFRunLoopRemoveTimerFromAllModes(CFRunLoopRef rl,
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux_libcdep.cc83 struct rlimit rl; in GetThreadStackTopAndBottom() local
84 CHECK_EQ(getrlimit(RLIMIT_STACK, &rl), 0); in GetThreadStackTopAndBottom()
92 if ((uptr)&rl < end) in GetThreadStackTopAndBottom()
96 CHECK((uptr)&rl >= start && (uptr)&rl < end); in GetThreadStackTopAndBottom()
100 uptr stacksize = rl.rlim_cur; in GetThreadStackTopAndBottom()
/external/harfbuzz_ng/src/
DMakefile.am262 hb-buffer-deserialize-json.rl \
263 hb-buffer-deserialize-text.rl \
264 hb-ot-shape-complex-indic-machine.rl \
265 hb-ot-shape-complex-myanmar-machine.rl \
266 hb-ot-shape-complex-use-machine.rl \
269 $(srcdir)/%.hh: $(srcdir)/%.rl
/external/avahi/avahi-core/
Dbrowse.c429 AvahiRList *rl; in lookup_drop_cname() local
436 for (rl = l->cname_lookups; rl; rl = rl->rlist_next) { in lookup_drop_cname()
437 n = rl->data; in lookup_drop_cname()
450 if (rl) { in lookup_drop_cname()
451 l->cname_lookups = avahi_rlist_remove_by_link(l->cname_lookups, rl); in lookup_drop_cname()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DRequestLineParser.java89 RequestLine rl = rlp.parse(); in main() local
90 System.out.println("encoded = " + rl.encode()); in main()
/external/valgrind/VEX/priv/
Dhost_generic_regs.h436 static inline Bool is_RetLoc_INVALID ( RetLoc rl ) { in is_RetLoc_INVALID() argument
437 return rl.pri == RLPri_INVALID && rl.spOff == 0; in is_RetLoc_INVALID()
/external/v8/test/mjsunit/compiler/
Dmul-div-52bit.js19 const rl = m & 0x3ffffff;
22 return rl | rh;

12345