Home
last modified time | relevance | path

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

12345678910>>...25

/third_party/openssl/crypto/camellia/
Dcamellia.c282 register u32 s0, s1, s2, s3; in Camellia_Ekeygen() local
287 k[3] = s3 = GETU32(rawKey + 12); in Camellia_Ekeygen()
294 k[11] = s3 = ~s1; in Camellia_Ekeygen()
297 k[11] = s3 = GETU32(rawKey + 28); in Camellia_Ekeygen()
299 s0 ^= k[0], s1 ^= k[1], s2 ^= k[2], s3 ^= k[3]; in Camellia_Ekeygen()
303 Camellia_Feistel(s0, s1, s2, s3, SIGMA + 0); in Camellia_Ekeygen()
304 Camellia_Feistel(s2, s3, s0, s1, SIGMA + 2); in Camellia_Ekeygen()
306 s0 ^= k[0], s1 ^= k[1], s2 ^= k[2], s3 ^= k[3]; in Camellia_Ekeygen()
307 Camellia_Feistel(s0, s1, s2, s3, SIGMA + 4); in Camellia_Ekeygen()
308 Camellia_Feistel(s2, s3, s0, s1, SIGMA + 6); in Camellia_Ekeygen()
[all …]
/third_party/openssl/crypto/aes/asm/
Daes-armv4.pl60 $s3="r3";
233 ldrb $s3,[$rounds,#15]
239 orr $s3,$s3,$t1,lsl#8
240 orr $s3,$s3,$t2,lsl#16
241 orr $s3,$s3,$t3,lsl#24
246 ldr $s3,[$rounds,#12]
251 rev $s3,$s3
262 rev $s3,$s3
267 str $s3,[$rounds,#12]
288 mov $t1,$s3,lsr#24
[all …]
Daes-s390x.pl118 $s3="%r11";
274 llgf $s3,12($inp)
283 st $s3,12($out)
296 x $s3,12($key)
341 srlg $ra,$s3,`8-3` # i1
342 sllg $t1,$s3,`0+3` # i0
352 srlg $i3,$s3,`16-3` # i2
354 srl $s3,`24-3`
356 nr $s3,$mask
366 l $s3,0($s3,$tbl) # Te0[s3>>24]
[all …]
Daes-ppc.pl85 $s3="r11";
378 lwz $s3,12($inp)
388 rotlwi $s3,$t3,8
392 rlwimi $s3,$t3,24,0,7
396 rlwimi $s3,$t3,24,16,23
407 rotlwi $t3,$s3,8
411 rlwimi $t3,$s3,24,0,7
415 rlwimi $t3,$s3,24,16,23
425 stw $s3,12($out)
459 lbz $s3,15($inp)
[all …]
Daes-parisc.pl61 ($s0,$s1,$s2,$s3) = ("%r1","%r2","%r3","%r4");
113 ldw 12($inp),$s3
121 vshd $s2,$s3,$s2
122 vshd $s3,$t1,$s3
149 _srm $s3,24,$acc4
151 _srm $s3,16,$acc5
153 _srm $s3,8,$acc6
160 stb $s3,15($out)
166 stw $s3,12($out)
208 xor $t3,$s3,$s3
[all …]
/third_party/FreeBSD/sys/crypto/rijndael/
Drijndael-alg-fst.c864 u32 s0, s1, s2, s3, t0, t1, t2, t3; in rijndaelEncrypt() local
876 s3 = GETU32(pt + 12) ^ rk[3]; in rijndaelEncrypt()
879 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[ 4]; in rijndaelEncrypt()
880 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[ 5]; in rijndaelEncrypt()
881 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[ 6]; in rijndaelEncrypt()
882 t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[ 7]; in rijndaelEncrypt()
887 s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[11]; in rijndaelEncrypt()
889 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[12]; in rijndaelEncrypt()
890 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[13]; in rijndaelEncrypt()
891 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[14]; in rijndaelEncrypt()
[all …]
/third_party/mindspore/tests/st/auto_monad/
Dtest_effect_random.py41 s3 = self.n1.sample(self.shape, mean, sd)
42 return s1, s2, s3
67 s3 = C.normal(self.shape, mean, stddev, self.seed)
68 return s1, s2, s3
80 s1, s2, s3 = net(mean, stddev)
81 assert ((s1 != s2).any() and (s1 != s3).any() and (s2 != s3).any()), \
94 s3 = C.laplace(self.shape, mean, lambda_param, self.seed)
95 return s1, s2, s3
107 s1, s2, s3 = net(mean, lambda_param)
108 assert ((s1 != s2).any() and (s1 != s3).any() and (s2 != s3).any()), \
[all …]
/third_party/openssl/ssl/
Ds3_enc.c54 || !EVP_DigestUpdate(s1, s->s3->server_random, SSL3_RANDOM_SIZE) in ssl3_generate_key_block()
55 || !EVP_DigestUpdate(s1, s->s3->client_random, SSL3_RANDOM_SIZE) in ssl3_generate_key_block()
104 c = s->s3->tmp.new_sym_enc; in ssl3_change_cipher_state()
105 m = s->s3->tmp.new_hash; in ssl3_change_cipher_state()
113 if (s->s3->tmp.new_compression == NULL) in ssl3_change_cipher_state()
116 comp = s->s3->tmp.new_compression->method; in ssl3_change_cipher_state()
154 mac_secret = &(s->s3->read_mac_secret[0]); in ssl3_change_cipher_state()
190 mac_secret = &(s->s3->write_mac_secret[0]); in ssl3_change_cipher_state()
196 p = s->s3->tmp.key_block; in ssl3_change_cipher_state()
225 if (n > s->s3->tmp.key_block_length) { in ssl3_change_cipher_state()
[all …]
Dt1_enc.c73 TLS_MD_KEY_EXPANSION_CONST_SIZE, s->s3->server_random, in tls1_generate_key_block()
74 SSL3_RANDOM_SIZE, s->s3->client_random, SSL3_RANDOM_SIZE, in tls1_generate_key_block()
98 c = s->s3->tmp.new_sym_enc; in tls1_change_cipher_state()
99 m = s->s3->tmp.new_hash; in tls1_change_cipher_state()
100 mac_type = s->s3->tmp.new_mac_pkey_type; in tls1_change_cipher_state()
102 comp = s->s3->tmp.new_compression; in tls1_change_cipher_state()
107 s->s3->flags |= TLS1_FLAGS_ENCRYPT_THEN_MAC_READ; in tls1_change_cipher_state()
109 s->s3->flags &= ~TLS1_FLAGS_ENCRYPT_THEN_MAC_READ; in tls1_change_cipher_state()
111 if (s->s3->tmp.new_cipher->algorithm2 & TLS1_STREAM_MAC) in tls1_change_cipher_state()
150 mac_secret = &(s->s3->read_mac_secret[0]); in tls1_change_cipher_state()
[all …]
Ds3_msg.c21 if (s->s3->tmp.key_block == NULL) { in ssl3_do_change_cipher_spec()
28 s->session->cipher = s->s3->tmp.new_cipher; in ssl3_do_change_cipher_spec()
57 s->s3->alert_dispatch = 1; in ssl3_send_alert()
58 s->s3->send_alert[0] = level; in ssl3_send_alert()
59 s->s3->send_alert[1] = desc; in ssl3_send_alert()
78 s->s3->alert_dispatch = 0; in ssl3_dispatch_alert()
80 i = do_ssl3_write(s, SSL3_RT_ALERT, &s->s3->send_alert[0], &alertlen, 1, 0, in ssl3_dispatch_alert()
83 s->s3->alert_dispatch = 1; in ssl3_dispatch_alert()
92 s->msg_callback(1, s->version, SSL3_RT_ALERT, s->s3->send_alert, in ssl3_dispatch_alert()
101 j = (s->s3->send_alert[0] << 8) | s->s3->send_alert[1]; in ssl3_dispatch_alert()
/third_party/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 …]
/third_party/libphonenumber/cpp/src/phonenumbers/
Dstringutil.cc159 const StringHolder& s3) { in StrCat() argument
160 return absl::StrCat(s1, s2, s3); in StrCat()
164 const StringHolder& s3, const StringHolder& s4) { in StrCat() argument
165 return absl::StrCat(s1, s2, s3, s4); in StrCat()
169 const StringHolder& s3, const StringHolder& s4, in StrCat() argument
171 return absl::StrCat(s1, s2, s3, s4, s5); in StrCat()
175 const StringHolder& s3, const StringHolder& s4, in StrCat() argument
177 return absl::StrCat(s1, s2, s3, s4, s5, s6); in StrCat()
181 const StringHolder& s3, const StringHolder& s4, in StrCat() argument
184 return absl::StrCat(s1, s2, s3, s4, s5, s6, s7); in StrCat()
[all …]
Dstringutil.h108 const StringHolder& s3);
111 const StringHolder& s3, const StringHolder& s4);
114 const StringHolder& s3, const StringHolder& s4,
118 const StringHolder& s3, const StringHolder& s4,
122 const StringHolder& s3, const StringHolder& s4,
127 const StringHolder& s3, const StringHolder& s4,
132 const StringHolder& s3, const StringHolder& s4,
138 const StringHolder& s3, const StringHolder& s4,
145 const StringHolder& s3, const StringHolder& s4,
152 const StringHolder& s3, const StringHolder& s4,
[all …]
/third_party/typescript/tests/baselines/reference/
DshorthandPropertyAssignmentsInDestructuring.types112 >(function() { var s3: string; for ({ s3 = 5 } of [{ s3: "" }]) { }}) : () => void
113 >function() { var s3: string; for ({ s3 = 5 } of [{ s3: "" }]) { }} : () => void
115 var s3: string;
116 >s3 : string
118 for ({ s3 = 5 } of [{ s3: "" }]) {
119 >{ s3 = 5 } : { s3?: string; }
120 >s3 : string
122 >[{ s3: "" }] : { s3: string; }[]
123 >{ s3: "" } : { s3: string; }
124 >s3 : string
[all …]
DshorthandPropertyAssignmentsInDestructuring_ES6.types112 >(function() { var s3: string; for ({ s3 = 5 } of [{ s3: "" }]) { }}) : () => void
113 >function() { var s3: string; for ({ s3 = 5 } of [{ s3: "" }]) { }} : () => void
115 var s3: string;
116 >s3 : string
118 for ({ s3 = 5 } of [{ s3: "" }]) {
119 >{ s3 = 5 } : { s3?: string; }
120 >s3 : string
122 >[{ s3: "" }] : { s3: string; }[]
123 >{ s3: "" } : { s3: string; }
124 >s3 : string
[all …]
DshorthandPropertyAssignmentsInDestructuring_ES6.js38 var s3: string;
39 for ({ s3 = 5 } of [{ s3: "" }]) { property
44 var s3: string;
45 for ({ s3:s3 = 5 } of [{ s3: "" }]) { property
150 var s3;
151 for ({ s3 = 5 } of [{ s3: "" }]) { property
155 var s3;
156 for ({ s3: s3 = 5 } of [{ s3: "" }]) { property
DshorthandPropertyAssignmentsInDestructuring.js38 var s3: string;
39 for ({ s3 = 5 } of [{ s3: "" }]) { property
44 var s3: string;
45 for ({ s3:s3 = 5 } of [{ s3: "" }]) { property
163 var s3;
164 for (var _i = 0, _b = [{ s3: "" }]; _i < _b.length; _i++) { property
165 _a = _b[_i].s3, s3 = _a === void 0 ? 5 : _a;
170 var s3;
171 for (var _i = 0, _b = [{ s3: "" }]; _i < _b.length; _i++) { property
172 _a = _b[_i].s3, s3 = _a === void 0 ? 5 : _a;
/third_party/boost/boost/numeric/odeint/algebra/
Dvector_space_algebra.hpp87 static void for_each3( S1 &s1 , S2 &s2 , S3 &s3 , Op op ) in for_each3()
89 op( s1 , s2 , s3 ); in for_each3()
93 static void for_each4( S1 &s1 , S2 &s2 , S3 &s3 , S4 &s4 , Op op ) in for_each4()
95 op( s1 , s2 , s3 , s4 ); in for_each4()
99 static void for_each5( S1 &s1 , S2 &s2 , S3 &s3 , S4 &s4 , S5 &s5 , Op op ) in for_each5()
101 op( s1 , s2 , s3 , s4 , s5 ); in for_each5()
105 static void for_each6( S1 &s1 , S2 &s2 , S3 &s3 , S4 &s4 , S5 &s5 , S6 &s6 , Op op ) in for_each6()
107 op( s1 , s2 , s3 , s4 , s5 , s6 ); in for_each6()
111 static void for_each7( S1 &s1 , S2 &s2 , S3 &s3 , S4 &s4 , S5 &s5 , S6 &s6 , S7 &s7 , Op op ) in for_each7()
113 op( s1 , s2 , s3 , s4 , s5 , s6 , s7 ); in for_each7()
[all …]
Dmulti_array_algebra.hpp50 static void for_each3( S1 &s1 , S2 &s2 , S3 &s3 , Op op ) in for_each3()
52 detail::for_each3( s1.data() , s1.data() + s1.num_elements() , s2.data() , s3.data() , op ); in for_each3()
56 static void for_each4( S1 &s1 , S2 &s2 , S3 &s3 , S4 &s4 , Op op ) in for_each4()
58 …detail::for_each4( s1.data() , s1.data() + s1.num_elements() , s2.data() , s3.data() , s4.data() ,… in for_each4()
62 static void for_each5( S1 &s1 , S2 &s2 , S3 &s3 , S4 &s4 , S5 &s5 , Op op ) in for_each5()
64 …detail::for_each5( s1.data() , s1.data() + s1.num_elements() , s2.data() , s3.data() , s4.data() ,… in for_each5()
68 static void for_each6( S1 &s1 , S2 &s2 , S3 &s3 , S4 &s4 , S5 &s5 , S6 &s6 , Op op ) in for_each6()
70 …detail::for_each6( s1.data() , s1.data() + s1.num_elements() , s2.data() , s3.data() , s4.data() ,… in for_each6()
74 static void for_each7( S1 &s1 , S2 &s2 , S3 &s3 , S4 &s4 , S5 &s5 , S6 &s6 , S7 &s7 , Op op ) in for_each7()
76 …detail::for_each7( s1.data() , s1.data() + s1.num_elements() , s2.data() , s3.data() , s4.data() ,… in for_each7()
[all …]
/third_party/ffmpeg/libavcodec/ppc/
Dvc1dsp_altivec.c34 #define STEP8(s0, s1, s2, s3, s4, s5, s6, s7, vec_rnd) \ argument
51 t0 = vec_sl(vec_add(s1, s3), vec_4); \
54 t0 = vec_add(t0, vec_sub(s5, s3)); \
58 t1 = vec_sub(t1, vec_sl(s3, vec_2)); \
61 t2 = vec_sl(vec_sub(s7, s3), vec_4); \
67 t3 = vec_sub(t3, vec_sl(s3, vec_3)); \
69 t3 = vec_sub(t3, vec_add(s3, s5)); \
74 s3 = vec_add(t7, t3); \
81 #define SHIFT_HOR8(s0, s1, s2, s3, s4, s5, s6, s7) \ argument
86 s3 = vec_sra(s3, vec_3); \
[all …]
Dfft_vsx.h98 x2 = vec_perm(x0, x1, vcprm(2,s2,3,s3)); in pass_vsx_interleave()
99 x3 = vec_perm(x0, x1, vcprm(s3,3,s2,2)); in pass_vsx_interleave()
102 y5 = vec_perm(y0, y1, vcprm(s3,3,s2,2)); in pass_vsx_interleave()
104 y3 = vec_perm(y0, y1, vcprm(2,s2,3,s3)); in pass_vsx_interleave()
117 x8 = vec_perm(x6, x7, vcprm(0,1,s2,s3)); in pass_vsx_interleave()
118 y10 = vec_perm(y8, y9, vcprm(0,1,s2,s3)); in pass_vsx_interleave()
119 y15 = vec_perm(y13, y14, vcprm(0,1,s2,s3)); in pass_vsx_interleave()
122 x10 = vec_perm(x1, x8, vcprm(1,0,s3,s1)); in pass_vsx_interleave()
125 y17 = vec_perm(y10, y15, vcprm(3,1,s3,s1)); in pass_vsx_interleave()
137 x15 = vec_perm(x13, x14, vcprm(0,s1,2,s3)); in pass_vsx_interleave()
[all …]
/third_party/boost/libs/compute/test/
Dtest_fill.cpp77 S s3 = S(42.0f); in BOOST_AUTO_TEST_CASE_TEMPLATE() local
81 T v2 = T(s3, s4); in BOOST_AUTO_TEST_CASE_TEMPLATE()
91 S s3 = S(42.0f); in BOOST_AUTO_TEST_CASE_TEMPLATE() local
94 T v1 = T(s1, s2, s3, s4); in BOOST_AUTO_TEST_CASE_TEMPLATE()
95 T v2 = T(s3, s4, s1, s2); in BOOST_AUTO_TEST_CASE_TEMPLATE()
96 T v3 = T(s4, s3, s2, s1); in BOOST_AUTO_TEST_CASE_TEMPLATE()
105 S s3 = S(42.0f); in BOOST_AUTO_TEST_CASE_TEMPLATE() local
112 T v1 = T(s1, s2, s3, s4, s5, s6, s7, s8); in BOOST_AUTO_TEST_CASE_TEMPLATE()
113 T v2 = T(s3, s4, s1, s2, s7, s8, s5, s6); in BOOST_AUTO_TEST_CASE_TEMPLATE()
114 T v3 = T(s4, s3, s2, s1, s8, s7, s6, s5); in BOOST_AUTO_TEST_CASE_TEMPLATE()
[all …]
/third_party/openssl/crypto/aes/
Daes_core.c1421 u32 s0, s1, s2, s3, t0, t1, t2, t3; in AES_encrypt() local
1436 s3 = GETU32(in + 12) ^ rk[3]; in AES_encrypt()
1439 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[ 4]; in AES_encrypt()
1440 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[ 5]; in AES_encrypt()
1441 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[ 6]; in AES_encrypt()
1442 t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[ 7]; in AES_encrypt()
1447 s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[11]; in AES_encrypt()
1449 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[12]; in AES_encrypt()
1450 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[13]; in AES_encrypt()
1451 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[14]; in AES_encrypt()
[all …]
Daes_x86core.c663 u32 s0, s1, s2, s3, t[4]; in AES_encrypt() local
676 s3 = GETU32(in + 12) ^ rk[3]; in AES_encrypt()
684 (u32)Te4[(s3 >> 24) ] << 24; in AES_encrypt()
687 (u32)Te4[(s3 >> 16) & 0xff] << 16 ^ in AES_encrypt()
690 (u32)Te4[(s3 >> 8) & 0xff] << 8 ^ in AES_encrypt()
693 t[3] = (u32)Te4[(s3 ) & 0xff] ^ in AES_encrypt()
722 Te3[(s3 >> 24) ] ^ in AES_encrypt()
726 Te2[(s3 >> 16) & 0xff] ^ in AES_encrypt()
730 Te1[(s3 >> 8) & 0xff] ^ in AES_encrypt()
734 t[3] = Te0[(s3 ) & 0xff] ^ in AES_encrypt()
[all …]
/third_party/boost/boost/numeric/odeint/external/thrust/
Dthrust_algebra.hpp82 static void for_each3( StateType1 &s1 , StateType2 &s2 , StateType3 &s3 , Operation op ) in for_each3()
87 boost::begin(s3) ) ) , in for_each3()
90 boost::end(s3) ) ) , in for_each3()
96 static void for_each4( StateType1 &s1 , StateType2 &s2 , StateType3 &s3 , StateType4 &s4 , in for_each4()
102 boost::begin(s3) , in for_each4()
106 boost::end(s3) , in for_each4()
113 static void for_each5( StateType1 &s1 , StateType2 &s2 , StateType3 &s3 , StateType4 &s4 , in for_each5()
119 boost::begin(s3) , in for_each5()
124 boost::end(s3) , in for_each5()
132 static void for_each6( StateType1 &s1 , StateType2 &s2 , StateType3 &s3 , StateType4 &s4 , in for_each6()
[all …]

12345678910>>...25