Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 25 of 1533) sorted by relevance

12345678910>>...62

/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/camellia/
H A Dcamellia.c282 register u32 s0, s1, s2, s3; in Camellia_Ekeygen() local
286 k[2] = s2 = GETU32(rawKey + 8); in Camellia_Ekeygen()
293 k[10] = s2 = ~s0; in Camellia_Ekeygen()
296 k[10] = s2 = GETU32(rawKey + 24); 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 …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/camellia/
H A Dcamellia.c288 register u32 s0, s1, s2, s3; in Camellia_Ekeygen() local
292 k[2] = s2 = GETU32(rawKey + 8); in Camellia_Ekeygen()
299 k[10] = s2 = ~s0; in Camellia_Ekeygen()
302 k[10] = s2 = GETU32(rawKey + 24); in Camellia_Ekeygen()
305 s0 ^= k[0], s1 ^= k[1], s2 ^= k[2], s3 ^= k[3]; in Camellia_Ekeygen()
309 Camellia_Feistel(s0, s1, s2, s3, SIGMA + 0); in Camellia_Ekeygen()
310 Camellia_Feistel(s2, s3, s0, s1, SIGMA + 2); in Camellia_Ekeygen()
312 s0 ^= k[0], s1 ^= k[1], s2 ^= k[2], s3 ^= k[3]; in Camellia_Ekeygen()
313 Camellia_Feistel(s0, s1, s2, s3, SIGMA + 4); in Camellia_Ekeygen()
314 Camellia_Feistel(s2, s3, s0, s1, SIGMA + 6); in Camellia_Ekeygen()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/aes/asm/
H A Daes-armv4.pl61 $s2="r2";
229 ldrb $s2,[$rounds,#11]
235 orr $s2,$s2,$t1,lsl#8
237 orr $s2,$s2,$t2,lsl#16
239 orr $s2,$s2,$t3,lsl#24
248 ldr $s2,[$rounds,#8]
253 rev $s2,$s2
264 rev $s2,$s2
269 str $s2,[$rounds,#8]
284 mov $t1,$s2,lsr#24
[all …]
H A Daes-s390x.pl119 $s2="%r10";
275 llgf $s2,8($inp)
284 st $s2,8($out)
297 x $s2,8($key)
333 srlg $i1,$s2,`8-3` # i0
334 srlg $i2,$s2,`16-3` # i1
337 sllg $i3,$s2,`0+3`
338 srl $s2,`24-3`
339 nr $s2,$mask
351 l $s2,0($s2,$tbl) # Te0[s2>>24]
[all …]
H A Daes-ppc.pl88 $s2="r10";
381 lwz $s2,8($inp)
391 rotlwi $s2,$t2,8
395 rlwimi $s2,$t2,24,0,7
399 rlwimi $s2,$t2,24,16,23
410 rotlwi $t2,$s2,8
414 rlwimi $t2,$s2,24,0,7
418 rlwimi $t2,$s2,24,16,23
428 stw $s2,8($out)
455 lbz $s2,11($inp)
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/aes/asm/
H A Daes-armv4.pl59 $s2="r2";
226 ldrb $s2,[$rounds,#11]
232 orr $s2,$s2,$t1,lsl#8
234 orr $s2,$s2,$t2,lsl#16
236 orr $s2,$s2,$t3,lsl#24
245 ldr $s2,[$rounds,#8]
250 rev $s2,$s2
261 rev $s2,$s2
266 str $s2,[$rounds,#8]
281 mov $t1,$s2,lsr#24
[all …]
H A Daes-s390x.pl117 $s2="%r10";
273 llgf $s2,8($inp)
282 st $s2,8($out)
295 x $s2,8($key)
331 srlg $i1,$s2,`8-3` # i0
332 srlg $i2,$s2,`16-3` # i1
335 sllg $i3,$s2,`0+3`
336 srl $s2,`24-3`
337 nr $s2,$mask
349 l $s2,0($s2,$tbl) # Te0[s2>>24]
[all …]
H A Daes-ppc.pl84 $s2="r10";
377 lwz $s2,8($inp)
387 rotlwi $s2,$t2,8
391 rlwimi $s2,$t2,24,0,7
395 rlwimi $s2,$t2,24,16,23
406 rotlwi $t2,$s2,8
410 rlwimi $t2,$s2,24,0,7
414 rlwimi $t2,$s2,24,16,23
424 stw $s2,8($out)
451 lbz $s2,11($inp)
[all …]
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Dstreq.h35 streq9 (const char *s1, const char *s2) in streq9() argument
37 return strcmp (s1 + 9, s2 + 9) == 0; in streq9()
41 streq8 (const char *s1, const char *s2, char s28) in streq8() argument
48 return streq9 (s1, s2); in streq8()
55 streq7 (const char *s1, const char *s2, char s27, char s28) in streq7() argument
62 return streq8 (s1, s2, s28); in streq7()
69 streq6 (const char *s1, const char *s2, char s26, char s27, char s28) in streq6() argument
76 return streq7 (s1, s2, s27, s28); in streq6()
83 streq5 (const char *s1, const char *s2, char s25, char s26, char s27, char s28) in streq5() argument
90 return streq6 (s1, s2, s26, s27, s28); in streq5()
[all …]
/netbsd-src/external/bsd/ntp/dist/sntp/libpkgver/
H A Dcolcomp.c39 colcomp (s1, s2) in colcomp() argument
41 register char *s2;
45 while (*s1 && *s2)
48 && MyIsDigit(*s2))
50 hilo = (*s1 < *s2) ? -1 : (*s1 > *s2) ? 1 : 0;
52 ++s2;
54 && MyIsDigit(*s2))
57 hilo = (*s1 < *s2) ? -1 : (*s1 > *s2) ? 1 : 0;
59 ++s2;
63 if (MyIsDigit(*s2))
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Drijndael-alg-fst.c866 uint32_t s0, s1, s2, s3, t0, t1, t2, t3; in rijndaelEncrypt() local
877 s2 = GETU32(pt + 8) ^ rk[2]; in rijndaelEncrypt()
881 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[ 4]; in rijndaelEncrypt()
882 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[ 5]; in rijndaelEncrypt()
883 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[ 6]; in rijndaelEncrypt()
884 t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[ 7]; in rijndaelEncrypt()
888 s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[10]; in rijndaelEncrypt()
891 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[12]; in rijndaelEncrypt()
892 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[13]; in rijndaelEncrypt()
893 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[14]; in rijndaelEncrypt()
[all …]
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Drijndael.c765 u32 s0, s1, s2, s3, t0, t1, t2, t3; in rijndaelEncrypt() local
776 s2 = GETU32(pt + 8) ^ rk[2]; 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()
787 s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[10]; 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 …]
/netbsd-src/external/gpl2/groff/dist/src/include/
H A Dstringclass.h131 inline string operator+(const string &s1, const string &s2)
133 return string(s1.ptr, s1.len, s2.ptr, s2.len);
136 inline string operator+(const string &s1, const char *s2)
139 if (s2 == 0)
142 return string(s1.ptr, s1.len, s2, strlen(s2));
144 return s2 == 0 ? s1 : string(s1.ptr, s1.len, s2, strlen(s2));
148 inline string operator+(const char *s1, const string &s2)
152 return s2;
154 return string(s1, strlen(s1), s2.ptr, s2.len);
156 return s1 == 0 ? s2 : string(s1, strlen(s1), s2.ptr, s2.len);
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/testutil/
H A Dtests.c191 const char *s1, const char *s2, \
196 test_fail_message(NULL, file, line, #type, s1, s2, #op, \
254 const char *s1, const char *s2) in test_str_eq() argument
256 if (s1 == NULL && s2 == NULL) in test_str_eq()
258 if (s1 == NULL || s2 == NULL || strcmp(s1, s2) != 0) { in test_str_eq()
261 s2, s2 == NULL ? 0 : strlen(s2)); in test_str_eq()
268 const char *s1, const char *s2) in test_str_ne() argument
270 if ((s1 == NULL) ^ (s2 == NULL)) in test_str_ne()
272 if (s1 == NULL || strcmp(s1, s2) == 0) { in test_str_ne()
275 s2, s2 == NULL ? 0 : strlen(s2)); in test_str_ne()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/typeinfo/
H A Dti_Along.d36 long[] s2 = *cast(long[]*)p2; in equals()
38 return s1.length == s2.length && in equals()
39 memcmp(cast(void *)s1, cast(void *)s2, s1.length * long.sizeof) == 0; in equals()
45 long[] s2 = *cast(long[]*)p2; in compare()
48 if (s2.length < len) in compare()
49 len = s2.length; in compare()
52 if (s1[u] < s2[u]) in compare()
54 else if (s1[u] > s2[u]) in compare()
57 if (s1.length < s2.length) in compare()
59 else if (s1.length > s2.length) in compare()
[all …]
H A Dti_Aint.d38 int[] s2 = *cast(int[]*)p2; in equals()
40 return s1.length == s2.length && in equals()
41 memcmp(cast(void *)s1, cast(void *)s2, s1.length * int.sizeof) == 0; in equals()
47 int[] s2 = *cast(int[]*)p2; in compare()
50 if (s2.length < len) in compare()
51 len = s2.length; in compare()
54 if (s1[u] < s2[u]) in compare()
56 else if (s1[u] > s2[u]) in compare()
59 if (s1.length < s2.length) in compare()
61 else if (s1.length > s2.length) in compare()
[all …]
H A Dti_Ashort.d36 short[] s2 = *cast(short[]*)p2; in equals()
38 return s1.length == s2.length && in equals()
39 memcmp(cast(void *)s1, cast(void *)s2, s1.length * short.sizeof) == 0; in equals()
45 short[] s2 = *cast(short[]*)p2; in compare()
48 if (s2.length < len) in compare()
49 len = s2.length; in compare()
52 int result = s1[u] - s2[u]; in compare()
56 if (s1.length < s2.length) in compare()
58 else if (s1.length > s2.length) in compare()
79 ushort[] s2 = *cast(ushort[]*)p2; in compare()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/test/testutil/
H A Dtests.c214 const char *s1, const char *s2, \
219 test_fail_message(NULL, file, line, #type, s1, s2, #op, \
278 const char *s1, const char *s2) in test_str_eq() argument
280 if (s1 == NULL && s2 == NULL) in test_str_eq()
282 if (s1 == NULL || s2 == NULL || strcmp(s1, s2) != 0) { in test_str_eq()
285 s2, s2 == NULL ? 0 : strlen(s2)); in test_str_eq()
292 const char *s1, const char *s2) in test_str_ne() argument
294 if ((s1 == NULL) ^ (s2 == NULL)) in test_str_ne()
296 if (s1 == NULL || strcmp(s1, s2) == 0) { in test_str_ne()
299 s2, s2 == NULL ? 0 : strlen(s2)); in test_str_ne()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/stdc/
H A Dstring.d40 int memcmp(scope const void* s1, scope const void* s2, size_t n) pure;
42 void* memcpy(return scope void* s1, scope const void* s2, size_t n) pure;
46 int memicmp(scope const char* s1, scope const char* s2, size_t n); in version()
49 void* memmove(return scope void* s1, scope const void* s2, size_t n) pure;
54 char* strcat(return scope char* s1, scope const char* s2) pure;
58 int strcmp(scope const char* s1, scope const char* s2) pure;
60 int strcoll(scope const char* s1, scope const char* s2);
62 char* strcpy(return scope char* s1, scope const char* s2) pure;
64 size_t strcspn(scope const char* s1, scope const char* s2) pure;
83 char* strncat(return scope char* s1, scope const char* s2, size_t n) pure;
[all …]
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/c6x/
H A Dlib1funcs.S48 call .s2 __c6xabi_divu
58 [A1] addkpc .s2 1f, B3, 4
60 [A1] mvkl .s2 1f, B3
61 [A1] mvkh .s2 1f, B3
67 || ret .s2 B5
91 || call .s2 __c6xabi_divu
99 [B0] addkpc .s2 1f, B3, 1
100 [!B0] addkpc .s2 2f, B3, 1
103 [B0] mvkl .s2 1f,B3
104 [!B0] mvkl .s2 2f,B3
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/c6x/
H A Dlib1funcs.S48 call .s2 __c6xabi_divu
58 [A1] addkpc .s2 1f, B3, 4
60 [A1] mvkl .s2 1f, B3
61 [A1] mvkh .s2 1f, B3
67 || ret .s2 B5
91 || call .s2 __c6xabi_divu
99 [B0] addkpc .s2 1f, B3, 1
100 [!B0] addkpc .s2 2f, B3, 1
103 [B0] mvkl .s2 1f,B3
104 [!B0] mvkl .s2 2f,B3
[all …]
/netbsd-src/external/gpl2/groff/dist/src/libs/libgroff/
H A Dstring.cpp213 string::string(const char *s1, int n1, const char *s2, int n2) in string() argument
224 memcpy(ptr, s2, n2); in string()
228 memcpy(ptr + n1, s2, n2); in string()
233 int operator<=(const string &s1, const string &s2) in operator <=() argument
235 return (s1.len <= s2.len in operator <=()
236 ? s1.len == 0 || memcmp(s1.ptr, s2.ptr, s1.len) <= 0 in operator <=()
237 : s2.len != 0 && memcmp(s1.ptr, s2.ptr, s2.len) < 0); in operator <=()
240 int operator<(const string &s1, const string &s2) in operator <() argument
242 return (s1.len < s2.len in operator <()
243 ? s1.len == 0 || memcmp(s1.ptr, s2.ptr, s1.len) <= 0 in operator <()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dipa-icf-gimple.c441 gimple *s1, *s2; in compare_bb() local
452 s2 = gsi_stmt (gsi2); in compare_bb()
457 (DECL_STRUCT_FUNCTION (m_target_func_decl), s2); in compare_bb()
462 if (gimple_code (s1) != gimple_code (s2)) in compare_bb()
469 as_a <gcall *> (s2))) in compare_bb()
470 return return_different_stmts (s1, s2, "GIMPLE_CALL"); in compare_bb()
473 if (!compare_gimple_assign (s1, s2)) in compare_bb()
474 return return_different_stmts (s1, s2, "GIMPLE_ASSIGN"); in compare_bb()
477 if (!compare_gimple_cond (s1, s2)) in compare_bb()
478 return return_different_stmts (s1, s2, "GIMPLE_COND"); in compare_bb()
[all …]
/netbsd-src/external/bsd/openldap/dist/libraries/liblber/
H A Dstdio.c138 char *ptr, *pct, *s2, *f2, *end; in ber_pvt_vsnprintf() local
143 s2 = str; in ber_pvt_vsnprintf()
154 rem = end-s2; in ber_pvt_vsnprintf()
158 s2 = lutil_strncopy( s2, ptr, len ); in ber_pvt_vsnprintf()
164 *s2++ = '%'; in ber_pvt_vsnprintf()
179 if (end && strlen(ss) > (rem=end-s2)) { in ber_pvt_vsnprintf()
180 strncpy(s2, ss, rem); in ber_pvt_vsnprintf()
183 s2 += sprintf(s2, fm2, ss); in ber_pvt_vsnprintf()
186 s2 += sprintf(s2, fm2, va_arg(ap, int)); in ber_pvt_vsnprintf()
192 rem = end-s2; in ber_pvt_vsnprintf()
[all …]
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Dcstring27 void* memcpy(void* restrict s1, const void* restrict s2, size_t n);
28 void* memmove(void* s1, const void* s2, size_t n);
29 char* strcpy (char* restrict s1, const char* restrict s2);
30 char* strncpy(char* restrict s1, const char* restrict s2, size_t n);
31 char* strcat (char* restrict s1, const char* restrict s2);
32 char* strncat(char* restrict s1, const char* restrict s2, size_t n);
33 int memcmp(const void* s1, const void* s2, size_t n);
34 int strcmp (const char* s1, const char* s2);
35 int strncmp(const char* s1, const char* s2, size_t n);
36 int strcoll(const char* s1, const char* s2);
[all …]

12345678910>>...62