Home
last modified time | relevance | path

Searched refs:s3 (Results 1 – 25 of 1131) sorted by relevance

12345678910>>...46

/external/boringssl/src/ssl/
Dhandoff.cc53 const SSL3_STATE *const s3 = ssl->s3; in SSL_serialize_handoff() local
55 s3->hs == nullptr || in SSL_serialize_handoff()
56 s3->rwstate != SSL_HANDOFF) { in SSL_serialize_handoff()
61 Span<const uint8_t> transcript = s3->hs->transcript.buffer(); in SSL_serialize_handoff()
66 reinterpret_cast<uint8_t *>(s3->hs_buf->data), in SSL_serialize_handoff()
67 s3->hs_buf->length) || in SSL_serialize_handoff()
77 const SSL3_STATE *const s3 = ssl->s3; in SSL_decline_handoff() local
79 s3->hs == nullptr || in SSL_decline_handoff()
80 s3->rwstate != SSL_HANDOFF) { in SSL_decline_handoff()
84 s3->hs->config->handoff = false; in SSL_decline_handoff()
[all …]
Ds3_both.cc138 assert(!ssl->s3->pending_hs_data); in add_record_to_flight()
140 assert(ssl->s3->pending_flight_offset == 0); in add_record_to_flight()
142 if (ssl->s3->pending_flight == nullptr) { in add_record_to_flight()
143 ssl->s3->pending_flight.reset(BUF_MEM_new()); in add_record_to_flight()
144 if (ssl->s3->pending_flight == nullptr) { in add_record_to_flight()
150 size_t new_cap = ssl->s3->pending_flight->length + max_out; in add_record_to_flight()
157 if (!BUF_MEM_reserve(ssl->s3->pending_flight.get(), new_cap) || in add_record_to_flight()
159 (uint8_t *)ssl->s3->pending_flight->data + in add_record_to_flight()
160 ssl->s3->pending_flight->length, in add_record_to_flight()
165 ssl->s3->pending_flight->length += len; in add_record_to_flight()
[all …]
Ds3_pkt.cc132 assert(!ssl->s3->aead_write_ctx->is_null_cipher()); in ssl3_write_app_data()
136 if (ssl->s3->write_shutdown != ssl_shutdown_none) { in ssl3_write_app_data()
143 assert(ssl->s3->wnum <= INT_MAX); in ssl3_write_app_data()
144 tot = ssl->s3->wnum; in ssl3_write_app_data()
145 ssl->s3->wnum = 0; in ssl3_write_app_data()
160 !ssl->server && SSL_in_early_data(ssl) && ssl->s3->hs->can_early_write; in ssl3_write_app_data()
168 ssl->s3->hs->early_data_written) { in ssl3_write_app_data()
170 ssl->session->ticket_max_early_data - ssl->s3->hs->early_data_written; in ssl3_write_app_data()
172 ssl->s3->wnum = tot; in ssl3_write_app_data()
173 ssl->s3->hs->can_early_write = false; in ssl3_write_app_data()
[all …]
Dtls_record.cc145 return !ssl->s3->aead_write_ctx->is_null_cipher() && in ssl_needs_record_splitting()
146 ssl->s3->aead_write_ctx->ProtocolVersion() < TLS1_1_VERSION && in ssl_needs_record_splitting()
148 SSL_CIPHER_is_block_cipher(ssl->s3->aead_write_ctx->cipher()); in ssl_needs_record_splitting()
173 return header_len + ssl->s3->aead_read_ctx->ExplicitNonceLen(); in ssl_record_prefix_len()
178 return DTLS1_RT_HEADER_LENGTH + ssl->s3->aead_write_ctx->ExplicitNonceLen(); in ssl_seal_align_prefix_len()
182 SSL3_RT_HEADER_LENGTH + ssl->s3->aead_write_ctx->ExplicitNonceLen(); in ssl_seal_align_prefix_len()
185 ret += ssl_cipher_get_record_split_len(ssl->s3->aead_write_ctx->cipher()); in ssl_seal_align_prefix_len()
192 ssl->s3->early_data_skipped += consumed; in skip_early_data()
193 if (ssl->s3->early_data_skipped < consumed) { in skip_early_data()
194 ssl->s3->early_data_skipped = kMaxEarlyDataSkipped + 1; in skip_early_data()
[all …]
Ds3_lib.cc186 UniquePtr<SSL3_STATE> s3 = MakeUnique<SSL3_STATE>(); in ssl3_new() local
187 if (!s3) { in ssl3_new()
191 s3->aead_read_ctx = SSLAEADContext::CreateNullCipher(SSL_is_dtls(ssl)); in ssl3_new()
192 s3->aead_write_ctx = SSLAEADContext::CreateNullCipher(SSL_is_dtls(ssl)); in ssl3_new()
193 s3->hs = ssl_handshake_new(ssl); in ssl3_new()
194 if (!s3->aead_read_ctx || !s3->aead_write_ctx || !s3->hs) { in ssl3_new()
198 ssl->s3 = s3.release(); in ssl3_new()
210 if (ssl == NULL || ssl->s3 == NULL) { in ssl3_free()
214 Delete(ssl->s3); in ssl3_free()
215 ssl->s3 = NULL; in ssl3_free()
Dssl_lib.cc204 ssl->s3->rwstate = SSL_NOTHING; in ssl_reset_error_state()
210 ssl->s3->read_shutdown = ssl_shutdown_error; in ssl_set_read_error()
211 ssl->s3->read_error.reset(ERR_save_state()); in ssl_set_read_error()
215 if (ssl->s3->read_shutdown == ssl_shutdown_error) { in check_read_error()
216 ERR_restore_state(ssl->s3->read_error.get()); in check_read_error()
223 return !SSL_in_init(ssl) || ssl->s3->hs->can_early_write; in ssl_can_write()
227 return !SSL_in_init(ssl) || ssl->s3->hs->can_early_read; in ssl_can_read()
279 if (ssl->s3->established_session->session_id_length == 0 || in ssl_update_cache()
280 ssl->s3->established_session->not_resumable || in ssl_update_cache()
292 if (ssl->s3->established_session.get() != ssl->session.get() || in ssl_update_cache()
[all …]
Dhandshake.cc286 const SSL_SESSION *prev_session = ssl->s3->established_session.get(); in ssl_verify_peer_cert()
386 assert(ssl->s3->established_session == nullptr); in ssl_reverify_peer_cert()
452 if (finished_len > sizeof(ssl->s3->previous_client_finished) || in ssl_get_finished()
453 finished_len > sizeof(ssl->s3->previous_server_finished)) { in ssl_get_finished()
459 OPENSSL_memcpy(ssl->s3->previous_client_finished, finished, finished_len); in ssl_get_finished()
460 ssl->s3->previous_client_finished_len = finished_len; in ssl_get_finished()
462 OPENSSL_memcpy(ssl->s3->previous_server_finished, finished, finished_len); in ssl_get_finished()
463 ssl->s3->previous_server_finished_len = finished_len; in ssl_get_finished()
488 if (finished_len > sizeof(ssl->s3->previous_client_finished) || in ssl_send_finished()
489 finished_len > sizeof(ssl->s3->previous_server_finished)) { in ssl_send_finished()
[all …]
/external/libvpx/libvpx/vpx_dsp/arm/
Dhighbd_idct32x32_34_add_neon.c40 int32x4x2_t in[8], s1[32], s2[32], s3[32]; in vpx_highbd_idct32_6_neon() local
169 s3[24] = highbd_idct_sub_dual(s1[31], s2[24]); in vpx_highbd_idct32_6_neon()
170 s3[25] = highbd_idct_sub_dual(s1[30], s2[25]); in vpx_highbd_idct32_6_neon()
171 s3[26] = highbd_idct_sub_dual(s1[29], s1[26]); in vpx_highbd_idct32_6_neon()
172 s3[27] = highbd_idct_sub_dual(s1[28], s1[27]); in vpx_highbd_idct32_6_neon()
196 s1[20] = sub_multiply_shift_and_narrow_s32_dual(s3[27], s2[20], cospi_16_64); in vpx_highbd_idct32_6_neon()
197 s1[27] = add_multiply_shift_and_narrow_s32_dual(s2[20], s3[27], cospi_16_64); in vpx_highbd_idct32_6_neon()
199 s1[21] = sub_multiply_shift_and_narrow_s32_dual(s3[26], s2[21], cospi_16_64); in vpx_highbd_idct32_6_neon()
200 s1[26] = add_multiply_shift_and_narrow_s32_dual(s2[21], s3[26], cospi_16_64); in vpx_highbd_idct32_6_neon()
202 s1[22] = sub_multiply_shift_and_narrow_s32_dual(s3[25], s2[22], cospi_16_64); in vpx_highbd_idct32_6_neon()
[all …]
Didct32x32_135_add_neon.c93 int16x8_t in[12], s1[32], s2[32], s3[32], s4[32], s5[32], s6[32], s7[32]; in vpx_idct32_12_neon() local
144 s3[4] = multiply_shift_and_narrow_s16(in[4], cospi_28_64); in vpx_idct32_12_neon()
145 s3[7] = multiply_shift_and_narrow_s16(in[4], cospi_4_64); in vpx_idct32_12_neon()
147 s3[10] = vsubq_s16(s2[11], s2[10]); in vpx_idct32_12_neon()
148 s3[11] = vaddq_s16(s2[10], s2[11]); in vpx_idct32_12_neon()
149 s3[12] = vaddq_s16(s2[12], s2[13]); in vpx_idct32_12_neon()
150 s3[13] = vsubq_s16(s2[12], s2[13]); in vpx_idct32_12_neon()
152 s3[17] = multiply_accumulate_shift_and_narrow_s16(s1[16], -cospi_4_64, s1[31], in vpx_idct32_12_neon()
154 s3[30] = multiply_accumulate_shift_and_narrow_s16(s1[16], cospi_28_64, s1[31], in vpx_idct32_12_neon()
157 s3[18] = multiply_accumulate_shift_and_narrow_s16(s2[18], -cospi_28_64, in vpx_idct32_12_neon()
[all …]
Dhighbd_idct32x32_135_add_neon.c101 int32x4x2_t in[12], s1[32], s2[32], s3[32], s4[32], s5[32], s6[32], s7[32], in vpx_highbd_idct32_12_neon() local
155 s3[4] = multiply_shift_and_narrow_s32_dual(in[4], cospi_28_64); in vpx_highbd_idct32_12_neon()
156 s3[7] = multiply_shift_and_narrow_s32_dual(in[4], cospi_4_64); in vpx_highbd_idct32_12_neon()
158 s3[10] = highbd_idct_sub_dual(s2[11], s2[10]); in vpx_highbd_idct32_12_neon()
159 s3[11] = highbd_idct_add_dual(s2[10], s2[11]); in vpx_highbd_idct32_12_neon()
160 s3[12] = highbd_idct_add_dual(s2[12], s2[13]); in vpx_highbd_idct32_12_neon()
161 s3[13] = highbd_idct_sub_dual(s2[12], s2[13]); in vpx_highbd_idct32_12_neon()
163 s3[17] = multiply_accumulate_shift_and_narrow_s32_dual(s1[16], -cospi_4_64, in vpx_highbd_idct32_12_neon()
165 s3[30] = multiply_accumulate_shift_and_narrow_s32_dual(s1[16], cospi_28_64, in vpx_highbd_idct32_12_neon()
168 s3[18] = multiply_accumulate_shift_and_narrow_s32_dual(s2[18], -cospi_28_64, in vpx_highbd_idct32_12_neon()
[all …]
Dhighbd_vpx_convolve8_neon.c22 int16x4_t *const s2, int16x4_t *const s3) { in load_4x4() argument
29 *s3 = vld1_s16(s); in load_4x4()
34 uint16x8_t *const s2, uint16x8_t *const s3) { in load_8x4() argument
41 *s3 = vld1q_u16(s); in load_8x4()
46 int16x8_t *const s2, int16x8_t *const s3, in load_8x8() argument
55 *s3 = vld1q_s16(s); in load_8x8()
68 const uint16x8_t s2, const uint16x8_t s3, in store_8x8() argument
77 vst1q_u16(s, s3); in store_8x8()
90 const int16x4_t s3, const int16x4_t s4, const int16x4_t s5, in highbd_convolve8_4() argument
99 sum = vmlal_lane_s16(sum, s3, filters_lo, 3); in highbd_convolve8_4()
[all …]
/external/boringssl/src/crypto/fipsmodule/aes/asm/
Daes-armv4.pl60 $s3="r3";
238 ldrb $s3,[$rounds,#15]
244 orr $s3,$s3,$t1,lsl#8
245 orr $s3,$s3,$t2,lsl#16
246 orr $s3,$s3,$t3,lsl#24
251 ldr $s3,[$rounds,#12]
256 rev $s3,$s3
267 rev $s3,$s3
272 str $s3,[$rounds,#12]
293 mov $t1,$s3,lsr#24
[all …]
Daes-586.pl212 $s3="edx";
320 &rotr ($s3,16); # 13,12,15,14
325 &movz ($v0,&HB($s3)); # 13,12,15*,14
332 &movz ($v0,&LB($s3)); # 13,12,15,14*
335 &and ($s3,0xffff0000); # 13,12, -, -
338 &or ($s3,$s1); # 13,12, 7, 6
345 &movz ($v0,&HB($s3)); # 13,12, 7*, 6
349 &mov ($v0,$s3);
358 &movz ($v0,&LB($s3)); # 13,12, 7, 6*
359 &shr ($s3,16); # , ,13,12
[all …]
Daes-x86_64.pl59 $s3="%edx";
112 movzb `&lo("$s3")`,$acc2
117 movzb `&hi("$s3")`,$acc0
121 shr \$16,$s3
129 movzb `&lo("$s3")`,$acc1
135 movzb `&hi("$s3")`,$acc0
142 mov 12($key),$s3
154 xor $t3,$s3
169 movzb `&lo("$s3")`,$acc0
183 movzb `&hi("$s3")`,$acc0
[all …]
/external/openssh/
Drijndael.c765 u32 s0, s1, s2, s3, t0, t1, t2, t3; in rijndaelEncrypt() local
777 s3 = GETU32(pt + 12) ^ rk[3]; in rijndaelEncrypt()
780 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[ 4]; in rijndaelEncrypt()
781 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[ 5]; in rijndaelEncrypt()
782 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[ 6]; in rijndaelEncrypt()
783 t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[ 7]; in rijndaelEncrypt()
788 s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[11]; in rijndaelEncrypt()
790 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[12]; in rijndaelEncrypt()
791 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[13]; in rijndaelEncrypt()
792 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[14]; in rijndaelEncrypt()
[all …]
/external/libcxx/test/std/localization/locale.categories/category.collate/locale.collate.byname/
Dcompare.pass.cpp43 std::string s3("BaaaaaA"); in main() local
45 s3.data(), s3.data() + s3.size()) == 1); in main()
50 std::wstring s3(L"BaaaaaA"); in main() local
52 s3.data(), s3.data() + s3.size()) == 1); in main()
60 std::string s3("BaaaaaA"); in main() local
62 s3.data(), s3.data() + s3.size()) == 1); in main()
67 std::wstring s3(L"BaaaaaA"); in main() local
69 s3.data(), s3.data() + s3.size()) == 1); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/ARM/
Dpr22395.s15 vadd.f32 s1, s2, s3
16 @ CHECK: vadd.f32 s1, s2, s3
20 vadd.f32 s1, s2, s3
21 @ CHECK: vadd.f32 s1, s2, s3
25 vadd.f32 s1, s2, s3
26 @ CHECK: vadd.f32 s1, s2, s3
30 vadd.f32 s1, s2, s3
31 @ CHECK: vadd.f32 s1, s2, s3
35 vadd.f32 s1, s2, s3
36 @ CHECK: vadd.f32 s1, s2, s3
[all …]
Dinvalid-fp-armv8.s10 vsel.f32 s3, s4, s6
12 vselne.f32 s3, s4, s6
14 vselmi.f32 s3, s4, s6
16 vselpl.f32 s3, s4, s6
18 vselvc.f32 s3, s4, s6
20 vselcs.f32 s3, s4, s6
22 vselcc.f32 s3, s4, s6
24 vselhs.f32 s3, s4, s6
26 vsello.f32 s3, s4, s6
28 vselhi.f32 s3, s4, s6
[all …]
/external/llvm/test/MC/ARM/
Dpr22395.s15 vadd.f32 s1, s2, s3
16 @ CHECK: vadd.f32 s1, s2, s3
20 vadd.f32 s1, s2, s3
21 @ CHECK: vadd.f32 s1, s2, s3
25 vadd.f32 s1, s2, s3
26 @ CHECK: vadd.f32 s1, s2, s3
30 vadd.f32 s1, s2, s3
31 @ CHECK: vadd.f32 s1, s2, s3
35 vadd.f32 s1, s2, s3
36 @ CHECK: vadd.f32 s1, s2, s3
[all …]
Dinvalid-fp-armv8.s10 vsel.f32 s3, s4, s6
12 vselne.f32 s3, s4, s6
14 vselmi.f32 s3, s4, s6
16 vselpl.f32 s3, s4, s6
18 vselvc.f32 s3, s4, s6
20 vselcs.f32 s3, s4, s6
22 vselcc.f32 s3, s4, s6
24 vselhs.f32 s3, s4, s6
26 vsello.f32 s3, s4, s6
28 vselhi.f32 s3, s4, s6
[all …]
/external/grpc-grpc/test/cpp/util/
Dstring_ref_test.cc124 string_ref s3(kTestStringWithEmbeddedNull, kTestStringWithEmbeddedNullLength); in TEST_F() local
127 EXPECT_NE(0, s1.compare(s3)); in TEST_F()
133 string_ref s3(kTestStringWithEmbeddedNull, kTestStringWithEmbeddedNullLength); in TEST_F() local
137 EXPECT_FALSE(s1.starts_with(s3)); in TEST_F()
138 EXPECT_TRUE(s3.starts_with(s1)); in TEST_F()
144 string_ref s3(kTestStringWithEmbeddedNull, kTestStringWithEmbeddedNullLength); in TEST_F() local
148 EXPECT_FALSE(s2.ends_with(s3)); in TEST_F()
149 EXPECT_TRUE(s3.ends_with(s2)); in TEST_F()
155 string_ref s3(kTestStringWithEmbeddedNull, kTestStringWithEmbeddedNullLength); in TEST_F() local
158 EXPECT_EQ(0U, s3.find(s3)); in TEST_F()
[all …]
/external/libaom/libaom/av1/common/arm/
Dmem_neon.h35 uint8x8_t *const s2, uint8x8_t *const s3, in load_u8_8x8() argument
44 *s3 = vld1_u8(s); in load_u8_8x8()
57 uint8x16_t *const s2, uint8x16_t *const s3) { in load_u8_8x16() argument
64 *s3 = vld1q_u8(s); in load_u8_8x16()
69 uint8x8_t *const s2, uint8x8_t *const s3) { in load_u8_8x4() argument
76 *s3 = vld1_u8(s); in load_u8_8x4()
81 uint16x4_t *const s2, uint16x4_t *const s3) { in load_u16_4x4() argument
88 *s3 = vld1_u16(s); in load_u16_4x4()
94 uint16x8_t *const s2, uint16x8_t *const s3) { in load_u16_8x4() argument
101 *s3 = vld1q_u16(s); in load_u16_8x4()
[all …]
/external/libcxx/test/std/utilities/utility/exchange/
Dexchange.pass.cpp66 std::string s3 = s1; // Mom in main() local
67 assert ( std::exchange ( s3, s2 ) == s1 ); in main()
68 assert ( s3 == s2 ); in main()
69 assert ( std::exchange ( s3, "Hi Mom!" ) == s2 ); in main()
70 assert ( s3 == s1 ); in main()
72 s3 = s2; // Dad in main()
73 assert ( std::exchange ( s3, {} ) == s2 ); in main()
74 assert ( s3.size () == 0 ); in main()
76 s3 = s2; // Dad in main()
77 assert ( std::exchange ( s3, "" ) == s2 ); in main()
[all …]
/external/libvpx/libvpx/vp9/common/x86/
Dvp9_highbd_iht4x4_add_sse4.c23 __m128i s0[2], s1[2], s2[2], s3[2], s4[2], s5[2], s6[2], t0[2], t1[2], t2[2]; in highbd_iadst4_sse4_1() local
39 s3[0] = _mm_mul_epi32(pair_c4, temp[0]); in highbd_iadst4_sse4_1()
40 s3[1] = _mm_mul_epi32(pair_c4, temp[1]); in highbd_iadst4_sse4_1()
50 t0[0] = _mm_add_epi64(s0[0], s3[0]); in highbd_iadst4_sse4_1()
51 t0[1] = _mm_add_epi64(s0[1], s3[1]); in highbd_iadst4_sse4_1()
68 s3[0] = _mm_add_epi64(t0[0], t1[0]); in highbd_iadst4_sse4_1()
69 s3[1] = _mm_add_epi64(t0[1], t1[1]); in highbd_iadst4_sse4_1()
70 s3[0] = _mm_sub_epi64(s3[0], s2[0]); in highbd_iadst4_sse4_1()
71 s3[1] = _mm_sub_epi64(s3[1], s2[1]); in highbd_iadst4_sse4_1()
79 s3[0] = dct_const_round_shift_64bit(s3[0]); in highbd_iadst4_sse4_1()
[all …]
/external/clang/test/Analysis/
Dpr22954.c450 char s3[4]; member
459 memcpy(m24->s3, input, 4); in f24()
460 clang_analyzer_eval(m24->s3[0] == 1); // expected-warning{{UNKNOWN}} in f24()
461 clang_analyzer_eval(m24->s3[1] == 1); // expected-warning{{UNKNOWN}} in f24()
462 clang_analyzer_eval(m24->s3[2] == 1); // expected-warning{{UNKNOWN}} in f24()
463 clang_analyzer_eval(m24->s3[3] == 1); // expected-warning{{UNKNOWN}} in f24()
476 m->s3[0] = 1; in f25()
477 m->s3[1] = 2; in f25()
478 m->s3[2] = 3; in f25()
479 m->s3[3] = 4; in f25()
[all …]

12345678910>>...46