Home
last modified time | relevance | path

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

12345678910>>...22

/OK3568_Linux_fs/external/security/librkcrypto/test/c_mode/
H A Daes_core.c792 u32 s0, s1, s2, s3, t0, t1, t2, t3; in rk_aes_encrypt() local
806 s2 = GETU32(in + 8) ^ rk[2]; in rk_aes_encrypt()
810 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[ 4]; in rk_aes_encrypt()
811 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[ 5]; in rk_aes_encrypt()
812 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[ 6]; in rk_aes_encrypt()
813 t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[ 7]; in rk_aes_encrypt()
817 s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[10]; in rk_aes_encrypt()
820 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[12]; in rk_aes_encrypt()
821 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[13]; in rk_aes_encrypt()
822 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[14]; in rk_aes_encrypt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/esa/common/
H A Drijndael.c880 u32 s0, s1, s2, s3, t0, t1, t2, t3; in rijndaelEncrypt() local
891 s2 = GETU32(pt + 8) ^ rk[2]; in rijndaelEncrypt()
895 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ in rijndaelEncrypt()
897 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ in rijndaelEncrypt()
899 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ in rijndaelEncrypt()
902 Te3[s2 & 0xff] ^ rk[7]; in rijndaelEncrypt()
908 s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ in rijndaelEncrypt()
913 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ in rijndaelEncrypt()
915 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ in rijndaelEncrypt()
917 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ in rijndaelEncrypt()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/crypt/
H A Daes_impl.c843 u32 s2 = 0; in rijndaelEncrypt() local
858 s2 = GETU32(plaintext + 8) ^ rk[2]; in rijndaelEncrypt()
863 Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[4]; in rijndaelEncrypt()
864 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ in rijndaelEncrypt()
866 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ in rijndaelEncrypt()
869 Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[7]; in rijndaelEncrypt()
875 s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ in rijndaelEncrypt()
881 Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[12]; in rijndaelEncrypt()
882 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ in rijndaelEncrypt()
884 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ in rijndaelEncrypt()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/libcxx/include/
H A Dcstring28 void* memcpy(void* restrict s1, const void* restrict s2, size_t n);
29 void* memmove(void* s1, const void* s2, size_t n);
30 char* strcpy (char* restrict s1, const char* restrict s2);
31 char* strncpy(char* restrict s1, const char* restrict s2, size_t n);
32 char* strcat (char* restrict s1, const char* restrict s2);
33 char* strncat(char* restrict s1, const char* restrict s2, size_t n);
34 int memcmp(const void* s1, const void* s2, size_t n);
35 int strcmp (const char* s1, const char* s2);
36 int strncmp(const char* s1, const char* s2, size_t n);
37 int strcoll(const char* s1, const char* s2);
[all …]
H A Dcwchar63 wchar_t* wcscpy(wchar_t* restrict s1, const wchar_t* restrict s2);
64 wchar_t* wcsncpy(wchar_t* restrict s1, const wchar_t* restrict s2, size_t n);
65 wchar_t* wcscat(wchar_t* restrict s1, const wchar_t* restrict s2);
66 wchar_t* wcsncat(wchar_t* restrict s1, const wchar_t* restrict s2, size_t n);
67 int wcscmp(const wchar_t* s1, const wchar_t* s2);
68 int wcscoll(const wchar_t* s1, const wchar_t* s2);
69 int wcsncmp(const wchar_t* s1, const wchar_t* s2, size_t n);
70 size_t wcsxfrm(wchar_t* restrict s1, const wchar_t* restrict s2, size_t n);
73 size_t wcscspn(const wchar_t* s1, const wchar_t* s2);
75 const wchar_t* wcspbrk(const wchar_t* s1, const wchar_t* s2);
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/libcxx/include/
H A Dcstring28 void* memcpy(void* restrict s1, const void* restrict s2, size_t n);
29 void* memmove(void* s1, const void* s2, size_t n);
30 char* strcpy (char* restrict s1, const char* restrict s2);
31 char* strncpy(char* restrict s1, const char* restrict s2, size_t n);
32 char* strcat (char* restrict s1, const char* restrict s2);
33 char* strncat(char* restrict s1, const char* restrict s2, size_t n);
34 int memcmp(const void* s1, const void* s2, size_t n);
35 int strcmp (const char* s1, const char* s2);
36 int strncmp(const char* s1, const char* s2, size_t n);
37 int strcoll(const char* s1, const char* s2);
[all …]
H A Dcwchar63 wchar_t* wcscpy(wchar_t* restrict s1, const wchar_t* restrict s2);
64 wchar_t* wcsncpy(wchar_t* restrict s1, const wchar_t* restrict s2, size_t n);
65 wchar_t* wcscat(wchar_t* restrict s1, const wchar_t* restrict s2);
66 wchar_t* wcsncat(wchar_t* restrict s1, const wchar_t* restrict s2, size_t n);
67 int wcscmp(const wchar_t* s1, const wchar_t* s2);
68 int wcscoll(const wchar_t* s1, const wchar_t* s2);
69 int wcsncmp(const wchar_t* s1, const wchar_t* s2, size_t n);
70 size_t wcsxfrm(wchar_t* restrict s1, const wchar_t* restrict s2, size_t n);
73 size_t wcscspn(const wchar_t* s1, const wchar_t* s2);
75 const wchar_t* wcspbrk(const wchar_t* s1, const wchar_t* s2);
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/
H A Dstring.h22 void *memcpy(void *__restrict s1, const void *__restrict s2, size_t n);
23 void *memmove(void *s1, const void *s2, size_t n);
24 int memcmp(const void *s1, const void *s2, size_t n);
27 int strcmp(const char *s1, const char *s2);
29 int strncmp(const char *s1, const char *s2, size_t n);
40 char *strncat (char *s1, const char *s2, size_t n);
43 size_t strxfrm(char *s1, const char *s2, size_t n);
44 size_t strspn(const char *s1, const char *s2);
45 size_t strcspn(const char *s1, const char *s2);
46 char *strpbrk(const char *s1, const char *s2);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/
H A Dstring.h22 void *memcpy(void *__restrict s1, const void *__restrict s2, size_t n);
23 void *memmove(void *s1, const void *s2, size_t n);
24 int memcmp(const void *s1, const void *s2, size_t n);
27 int strcmp(const char *s1, const char *s2);
29 int strncmp(const char *s1, const char *s2, size_t n);
40 char *strncat (char *s1, const char *s2, size_t n);
43 size_t strxfrm(char *s1, const char *s2, size_t n);
44 size_t strspn(const char *s1, const char *s2);
45 size_t strcspn(const char *s1, const char *s2);
46 char *strpbrk(const char *s1, const char *s2);
/OK3568_Linux_fs/kernel/arch/mips/kernel/
H A Drelocate_kernel.S24 PTR_L s2, (s0)
31 beqz s2, done
34 and s3, s2, 0x1
36 and s4, s2, ~0x1 /* store destination addr in s4 */
41 and s3, s2, 0x2
43 and s0, s2, ~0x2
48 and s3, s2, 0x4
53 and s3, s2, 0x8
55 and s2, s2, ~0x8
60 REG_L s5, (s2)
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dipa-icf-gimple.h81 return_different_stmts_1 (gimple *s1, gimple *s2, const char *code, in return_different_stmts_1() argument
90 print_gimple_stmt (dump_file, s2, 3, TDF_DETAILS); in return_different_stmts_1()
97 #define return_different_stmts(s1, s2, code) \ argument
98 return_different_stmts_1 (s1, s2, code, __func__, __LINE__)
164 bool compare_gimple_call (gcall *s1, gcall *s2);
168 bool compare_gimple_assign (gimple *s1, gimple *s2);
172 bool compare_gimple_cond (gimple *s1, gimple *s2);
176 bool compare_gimple_label (const glabel *s1, const glabel *s2);
180 bool compare_gimple_switch (const gswitch *s1, const gswitch *s2);
184 bool compare_gimple_return (const greturn *s1, const greturn *s2);
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dipa-icf-gimple.h81 return_different_stmts_1 (gimple *s1, gimple *s2, const char *code, in return_different_stmts_1() argument
90 print_gimple_stmt (dump_file, s2, 3, TDF_DETAILS); in return_different_stmts_1()
97 #define return_different_stmts(s1, s2, code) \ argument
98 return_different_stmts_1 (s1, s2, code, __func__, __LINE__)
164 bool compare_gimple_call (gcall *s1, gcall *s2);
168 bool compare_gimple_assign (gimple *s1, gimple *s2);
172 bool compare_gimple_cond (gimple *s1, gimple *s2);
176 bool compare_gimple_label (const glabel *s1, const glabel *s2);
180 bool compare_gimple_switch (const gswitch *s1, const gswitch *s2);
184 bool compare_gimple_return (const greturn *s1, const greturn *s2);
[all …]
/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Dnand_ecc.c137 uint8_t s0, s1, s2; in nand_correct_data() local
141 s2 = calc_ecc[2] ^ read_ecc[2]; in nand_correct_data()
142 if ((s0 | s1 | s2) == 0) in nand_correct_data()
148 ((s2 ^ (s2 >> 1)) & 0x54) == 0x54) { in nand_correct_data()
162 bitnum = (s2 >> 5) & 0x04; in nand_correct_data()
163 bitnum |= (s2 >> 4) & 0x02; in nand_correct_data()
164 bitnum |= (s2 >> 3) & 0x01; in nand_correct_data()
171 if(countbits(s0 | ((uint32_t)s1 << 8) | ((uint32_t)s2 <<16)) == 1) in nand_correct_data()
/OK3568_Linux_fs/kernel/arch/c6x/lib/
H A Ddivremu.S25 ||[!b1] b .s2 B3 ; RETURN A
30 || shl .s2 B4, B1, B4
36 || shru .s2 B4, 1, B4
41 || [b1] add .s2 -1, B1, B1
43 || [b1] add .s2 -1, B1, B1
49 || [b1] add .s2 -1, B1, B1
51 || [b1] add .s2 -1, B1, B1
54 || [b1] add .s2 -1, B1, B1
56 || [b1] add .s2 -1, B1, B1
58 || [b1] add .s2 -1, B1, B1
[all …]
H A Dremu.S33 || [!B1] b .s2 B3 ; RETURN A
37 || shl .s2 B4, B1, B4
41 shru .s2 B4, 1, B4
46 || [B1] add .s2 -1, B1, B1
49 || [B1] add .s2 -1, B1, B1
52 || [B1] add .s2 -1, B1, B1
54 || [B1] add .s2 -1, B1, B1
56 || [B1] add .s2 -1, B1, B1
58 || [B1] add .s2 -1, B1, B1
60 || [B1] add .s2 -1, B1, B1
[all …]
H A Ddivu.S39 || [!B1] b .s2 B3 ; RETURN A
42 || shl .s2 B4, B1, B4
48 || shru .s2 B4, 1, B4
53 || [B1] add .s2 -1, B1, B1
55 || [B1] add .s2 -1, B1, B1
61 || [B1] add .s2 -1, B1, B1
63 || [B1] add .s2 -1, B1, B1
66 || [B1] add .s2 -1, B1, B1
68 || [B1] add .s2 -1, B1, B1
70 || [B1] add .s2 -1, B1, B1
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp.c34 int test_memcmp(const void *s1, const void *s2, size_t n);
37 static void test_one(char *s1, char *s2, unsigned long max_offset, in test_one() argument
47 y = memcmp(s1+offset, s2+offset, size); in test_one()
48 x = test_memcmp(s1+offset, s2+offset, size); in test_one()
59 printf("%02x ", s2[i]); in test_one()
66 offset, size, s1, s2, vmx_count); in test_one()
77 char *p, *s1, *s2; in testcase() local
90 s2 = p + 3 * MAP_SIZE - alloc_size; in testcase()
102 char *rand_s2 = s2; in testcase()
128 char *rand_s2 = s2; in testcase()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/include/sanitizer/
H A Dcommon_interface_defs.h235 const void *s2, size_t n, int result);
245 const char *s2, size_t n, int result);
255 const char *s2, size_t n, int result);
264 const char *s2, int result);
273 const char *s2, int result);
282 const char *s2, char *result);
285 const char *s2, char *result);
289 const void *s2, size_t len2, void *result);
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/include/sanitizer/
H A Dcommon_interface_defs.h235 const void *s2, size_t n, int result);
245 const char *s2, size_t n, int result);
255 const char *s2, size_t n, int result);
264 const char *s2, int result);
273 const char *s2, int result);
282 const char *s2, char *result);
285 const char *s2, char *result);
289 const void *s2, size_t len2, void *result);
/OK3568_Linux_fs/buildroot/package/bc/
H A D0004-no-gen-libmath.patch49 +{"@iK20:s2:p@r",
52 +"K.44:l5:*+s13:pl5:cS1+s2:pN3:l5:1>Z4:l10:1+s10:pl5:K2:/s5:pl2:",
53 +"1+s2:pJ3:N4:l13:s2:p1l5:+s14:pl5:s6:p1s8:pK2:s11:pN6:1B7:J5:N8:",
55 +"l10:d10:Z12:l14:l14:*s14:pJ11:N12:N10:l15:s2:pl12:Z13:1l14:/R",
58 +"s14:pl7:s0:pl14:RN1:l5:0{Z2:1K10:l2:^-1/RN2:l2:s15:pK6:l2:+s2:",
62 +"/s9:pl9:0=Z11:l10:l14:*s14:pl15:s2:pl14:1/RN11:l14:l9:+s14:pJ10:N7:",
65 +"s14:pl7:s0:pl14:RN1:l2:s15:pK1.1:l15:*K2:+s2:p1C4,0:s14:pl5:0",
66 +"<Z2:1s12:pl5:ns5:pN2:0s2:pl5:l14:/K2:+K4:/s13:pl5:K4:l13:*l14:",
67 +"*-s5:pl13:K2:%Z3:l5:ns5:pN3:l15:K2:+s2:pl5:s9:s14:pl5:nl5:*s16:",
69 +"s9:pl9:0=Z8:l15:s2:pl12:Z9:l14:n1/RN9:l14:1/RN8:l14:l9:+s14:p",
[all …]
/OK3568_Linux_fs/kernel/arch/x86/boot/
H A Dstring.c32 int memcmp(const void *s1, const void *s2, size_t len) in memcmp() argument
36 : CC_OUT(nz) (diff), "+D" (s1), "+S" (s2), "+c" (len)); in memcmp()
43 int bcmp(const void *s1, const void *s2, size_t len) in bcmp() argument
45 return memcmp(s1, s2, len); in bcmp()
51 const unsigned char *s2 = (const unsigned char *)str2; in strcmp() local
54 while (*s1 || *s2) { in strcmp()
55 delta = *s1 - *s2; in strcmp()
59 s2++; in strcmp()
171 char *strstr(const char *s1, const char *s2) in strstr() argument
175 l2 = strlen(s2); in strstr()
[all …]
/OK3568_Linux_fs/kernel/arch/s390/lib/
H A Dstring.c222 int strcmp(const char *s1, const char *s2) in strcmp() argument
234 : "+d" (ret), "+d" (r0), "+a" (s1), "+a" (s2) in strcmp()
261 const char *s2, unsigned long l2) in clcle() argument
265 register unsigned long r4 asm("4") = (unsigned long) s2; in clcle()
284 char *strstr(const char *s1, const char *s2) in strstr() argument
288 l2 = __strend(s2) - s2; in strstr()
295 cc = clcle(s1, l2, s2, l2); in strstr()
338 int memcmp(const void *s1, const void *s2, size_t n) in memcmp() argument
342 ret = clcle(s1, n, s2, n); in memcmp()
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dutil.c23 int lsx_strcasecmp(const char * s1, const char * s2) in lsx_strcasecmp() argument
26 return strcasecmp(s1, s2); in lsx_strcasecmp()
28 return _stricmp(s1, s2); in lsx_strcasecmp()
30 while (*s1 && (toupper(*s1) == toupper(*s2))) in lsx_strcasecmp()
31 s1++, s2++; in lsx_strcasecmp()
32 return toupper(*s1) - toupper(*s2); in lsx_strcasecmp()
36 int lsx_strncasecmp(char const * s1, char const * s2, size_t n) in lsx_strncasecmp() argument
39 return strncasecmp(s1, s2, n); in lsx_strncasecmp()
41 return _strnicmp(s1, s2, n); in lsx_strncasecmp()
43 while (--n && *s1 && (toupper(*s1) == toupper(*s2))) in lsx_strncasecmp()
[all …]
/OK3568_Linux_fs/kernel/arch/sparc/include/asm/
H A Dprom.h23 #define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l)) argument
24 #define of_prop_cmp(s1, s2) strcasecmp((s1), (s2)) argument
25 #define of_node_cmp(s1, s2) strcmp((s1), (s2)) argument
/OK3568_Linux_fs/kernel/arch/ia64/lib/
H A Dxor.S33 .rotr s1[6+1], s2[6+1], d[2]
37 (p[0]) ld8.nta s2[0] = [r17], 8
38 (p[6]) xor d[0] = s1[6], s2[6]
72 .rotr s1[6+1], s2[6+1], s3[6+1], d[2]
76 (p[0]) ld8.nta s2[0] = [r17], 8
77 (p[6]) xor d[0] = s1[6], s2[6]
114 .rotr s1[6+1], s2[6+1], s3[6+1], s4[6+1], d[2]
118 (p[0]) ld8.nta s2[0] = [r17], 8
119 (p[6]) xor d[0] = s1[6], s2[6]
159 .rotr s1[6+1], s2[6+1], s3[6+1], s4[6+1], s5[6+1], d[2]
[all …]

12345678910>>...22