Home
last modified time | relevance | path

Searched refs:s1 (Results 1 – 25 of 33) sorted by relevance

12

/optee_os/core/lib/libtomcrypt/src/misc/
A Dadler32.c35 s1 = ctx->s[0]; in adler32_update()
41 s2 += s1; in adler32_update()
52 s1 += input[0]; in adler32_update()
53 s2 += s1; in adler32_update()
55 s2 += s1; in adler32_update()
57 s2 += s1; in adler32_update()
59 s2 += s1; in adler32_update()
61 s2 += s1; in adler32_update()
63 s2 += s1; in adler32_update()
65 s2 += s1; in adler32_update()
[all …]
/optee_os/lib/libmbedtls/mbedtls/library/
A Dpem.c257 if( *s1 == ' ' ) s1++; in mbedtls_pem_read_buffer()
258 if( *s1 == '\r' ) s1++; in mbedtls_pem_read_buffer()
259 if( *s1 == '\n' ) s1++; in mbedtls_pem_read_buffer()
277 s1 += 22; in mbedtls_pem_read_buffer()
278 if( *s1 == '\r' ) s1++; in mbedtls_pem_read_buffer()
279 if( *s1 == '\n' ) s1++; in mbedtls_pem_read_buffer()
289 if( s2 - s1 < 16 || pem_get_iv( s1, pem_iv, 8 ) != 0 ) in mbedtls_pem_read_buffer()
299 if( s2 - s1 < 16 || pem_get_iv( s1, pem_iv, 8) != 0 ) in mbedtls_pem_read_buffer()
331 if( *s1 == '\r' ) s1++; in mbedtls_pem_read_buffer()
332 if( *s1 == '\n' ) s1++; in mbedtls_pem_read_buffer()
[all …]
/optee_os/lib/libutils/isoc/newlib/
A Dstrcmp.c96 int _DEFUN(strcmp, (s1, s2), _CONST char *s1 _AND _CONST char *s2)
99 while (*s1 != '\0' && *s1 == *s2) {
100 s1++;
104 return (*(unsigned char *)s1) - (*(unsigned char *)s2);
110 if (!UNALIGNED(s1, s2)) {
114 a1 = (unsigned long *)s1;
132 s1 = (char *)a1;
136 while (*s1 != '\0' && *s1 == *s2) {
137 s1++;
140 return (*(unsigned char *)s1) - (*(unsigned char *)s2);
A Dstrncmp.c96 _DEFUN (strncmp, (s1, s2, n),
97 _CONST char *s1 _AND
105 while (n-- != 0 && *s1 == *s2)
107 if (n == 0 || *s1 == '\0')
109 s1++;
122 if (!UNALIGNED (s1, s2))
125 a1 = (unsigned long*)s1;
141 s1 = (char*)a1;
145 while (n-- > 0 && *s1 == *s2)
149 if (n == 0 || *s1 == '\0')
[all …]
A Dmemcmp.c87 unsigned char *s1 = (unsigned char *)m1; variable
91 if (*s1 != *s2)
92 return *s1 - *s2;
93 s1++;
98 unsigned char *s1 = (unsigned char *)m1;
106 if (!TOO_SMALL(n) && !UNALIGNED(s1, s2)) {
111 a1 = (unsigned long *)s1;
123 s1 = (unsigned char *)a1;
128 if (*s1 != *s2)
129 return *s1 - *s2;
[all …]
A Dstrchr.c95 _DEFUN (strchr, (s1, i),
96 _CONST char *s1 _AND
99 _CONST unsigned char *s = (_CONST unsigned char *)s1;
/optee_os/core/lib/libtomcrypt/src/ciphers/aes/
A Daes.c310 LOAD32H(s1, pt + 4); s1 ^= rk[1]; in _rijndael_ecb_encrypt()
320 Te1(LTC_BYTE(s1, 2)) ^ in _rijndael_ecb_encrypt()
325 Te0(LTC_BYTE(s1, 3)) ^ in _rijndael_ecb_encrypt()
334 Te3(LTC_BYTE(s1, 0)) ^ in _rijndael_ecb_encrypt()
392 s1 = in _rijndael_ecb_encrypt()
425 s1 = in _rijndael_ecb_encrypt()
431 STORE32H(s1, ct+4); in _rijndael_ecb_encrypt()
494 LOAD32H(s1, ct + 4); s1 ^= rk[1]; in _rijndael_ecb_decrypt()
577 s1 = in _rijndael_ecb_decrypt()
609 s1 = in _rijndael_ecb_decrypt()
[all …]
/optee_os/lib/libutils/isoc/include/
A Dstring.h17 void *memcpy(void *__restrict s1, const void *__restrict s2, size_t n);
18 void *memmove(void *s1, const void *s2, size_t n);
19 int memcmp(const void *s1, const void *s2, size_t n);
22 int strcmp(const char *s1, const char *s2);
23 int strncmp(const char *s1, const char *s2, size_t n);
A Dstrings.h8 int bcmp(const void *s1, const void *s2, size_t n);
/optee_os/out/arm/export-ta_arm32/include/
A Dstring.h17 void *memcpy(void *__restrict s1, const void *__restrict s2, size_t n);
18 void *memmove(void *s1, const void *s2, size_t n);
19 int memcmp(const void *s1, const void *s2, size_t n);
22 int strcmp(const char *s1, const char *s2);
23 int strncmp(const char *s1, const char *s2, size_t n);
A Dstring_ext.h28 static inline int buf_compare_ct(const void *s1, const void *s2, size_t n) in buf_compare_ct() argument
30 return consttime_memcmp(s1, s2, n); in buf_compare_ct()
A Dstrings.h8 int bcmp(const void *s1, const void *s2, size_t n);
/optee_os/out/arm/export-ta_arm64/include/
A Dstring.h17 void *memcpy(void *__restrict s1, const void *__restrict s2, size_t n);
18 void *memmove(void *s1, const void *s2, size_t n);
19 int memcmp(const void *s1, const void *s2, size_t n);
22 int strcmp(const char *s1, const char *s2);
23 int strncmp(const char *s1, const char *s2, size_t n);
A Dstring_ext.h28 static inline int buf_compare_ct(const void *s1, const void *s2, size_t n) in buf_compare_ct() argument
30 return consttime_memcmp(s1, s2, n); in buf_compare_ct()
A Dstrings.h8 int bcmp(const void *s1, const void *s2, size_t n);
/optee_os/core/lib/libtomcrypt/src/mac/pelican/
A Dpelican.c57 ulong32 s0, s1, s2, s3, t0, t1, t2, t3; in _four_rounds() local
61 LOAD32H(s1, pelmac->state + 4); in _four_rounds()
67 Te1(LTC_BYTE(s1, 2)) ^ in _four_rounds()
71 Te0(LTC_BYTE(s1, 3)) ^ in _four_rounds()
79 Te3(LTC_BYTE(s1, 0)); in _four_rounds()
83 Te2(LTC_BYTE(s1, 1)) ^ in _four_rounds()
85 s0 = t0; s1 = t1; s2 = t2; s3 = t3; in _four_rounds()
88 STORE32H(s1, pelmac->state + 4); in _four_rounds()
/optee_os/core/include/kernel/
A Dasan.h29 void *asan_memcpy_unchecked(void *__restrict s1, const void *__restrict s2,
50 static inline void *asan_memcpy_unchecked(void *__restrict s1, in asan_memcpy_unchecked() argument
53 return memcpy(s1, s2, n); in asan_memcpy_unchecked()
/optee_os/lib/libutils/ext/include/
A Dstring_ext.h28 static inline int buf_compare_ct(const void *s1, const void *s2, size_t n) in buf_compare_ct() argument
30 return consttime_memcmp(s1, s2, n); in buf_compare_ct()
/optee_os/core/lib/zlib/
A Dzutil.c161 int ZLIB_INTERNAL zmemcmp(s1, s2, len) in zmemcmp() argument
162 const Bytef* s1; in zmemcmp()
169 if (s1[j] != s2[j]) return 2*(s1[j] > s2[j])-1;
/optee_os/core/arch/arm/crypto/
A Dsha256_armv8a_ce_a32.S39 .macro add_update, ev, s0, s1, s2, s3
40 sha256su0.32 q\s0, q\s1
41 add_only \ev, \s1
A Dsha1_armv8a_ce_a32.S45 .macro add_update, op, ev, rc, s0, s1, s2, s3, dg1
46 sha1su0.32 q\s0, q\s1, q\s2
47 add_only \op, \ev, \rc, \s1, \dg1
A Dsha256_armv8a_ce_a64.S43 .macro add_update, ev, rc, s0, s1, s2, s3
44 sha256su0 v\s0\().4s, v\s1\().4s
45 add_only \ev, \rc, \s1
A Dsha1_armv8a_ce_a64.S51 .macro add_update, op, ev, rc, s0, s1, s2, s3, dg1
52 sha1su0 v\s0\().4s, v\s1\().4s, v\s2\().4s
53 add_only \op, \ev, \rc, \s1, \dg1
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/
A Dbn_mul.h953 mbedtls_mpi_uint s0, s1, b0, b1; \
960 s1 = ( *s >> biH ); s++; \
962 ry = s1 * b0; r1 = s1 * b1; \
/optee_os/out/arm/export-ta_arm64/include/mbedtls/
A Dbn_mul.h953 mbedtls_mpi_uint s0, s1, b0, b1; \
960 s1 = ( *s >> biH ); s++; \
962 ry = s1 * b0; r1 = s1 * b1; \

Completed in 28 milliseconds

12