Home
last modified time | relevance | path

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

/lib/
Drandom32.c56 state->s2 = TAUSWORTHE(state->s2, 2U, 27U, 4294967288U, 2U); in prandom_u32_state()
60 return (state->s1 ^ state->s2 ^ state->s3 ^ state->s4); in prandom_u32_state()
120 state->s2 = __seed(seeds[1], 8U); in prandom_seed_full_state()
252 state->s2 = __seed(LCG(state->s1), 8U); in prandom_state_selftest_seed()
253 state->s3 = __seed(LCG(state->s2), 16U); in prandom_state_selftest_seed()
Dstring.c39 int strncasecmp(const char *s1, const char *s2, size_t len) in strncasecmp() argument
49 c2 = *s2++; in strncasecmp()
65 int strcasecmp(const char *s1, const char *s2) in strcasecmp() argument
71 c2 = tolower(*s2++); in strcasecmp()
833 char *strstr(const char *s1, const char *s2) in strstr() argument
837 l2 = strlen(s2); in strstr()
843 if (!memcmp(s1, s2, l2)) in strstr()
859 char *strnstr(const char *s1, const char *s2, size_t len) in strnstr() argument
863 l2 = strlen(s2); in strnstr()
868 if (!memcmp(s1, s2, l2)) in strnstr()
Dtest-string_helpers.c383 static __init const char *test_string_find_match(const struct test_string_2 *s2, in test_string_find_match() argument
386 const struct test_string_1 *s1 = s2->s1; in test_string_find_match()
390 return s2->in; in test_string_find_match()
418 const struct test_string_2 *s2, in test_string_escape() argument
431 for (; s2->in; s2++) { in test_string_escape()
448 out = test_string_find_match(s2, flags); in test_string_escape()
453 len = strlen(s2->in); in test_string_escape()
454 memcpy(&in[p], s2->in, len); in test_string_escape()
Dstring_helpers.c895 bool sysfs_streq(const char *s1, const char *s2) in sysfs_streq() argument
897 while (*s1 && *s1 == *s2) { in sysfs_streq()
899 s2++; in sysfs_streq()
902 if (*s1 == *s2) in sysfs_streq()
904 if (!*s1 && *s2 == '\n' && !s2[1]) in sysfs_streq()
906 if (*s1 == '\n' && !s1[1] && !*s2) in sysfs_streq()
/lib/crypto/
Dpoly1305-donna64.c41 u64 s1, s2; in poly1305_core_blocks() local
60 s2 = key->precomputed_s.r64[1]; in poly1305_core_blocks()
75 d = (u128)h1 * s2; in poly1305_core_blocks()
82 d = (u128)h2 * s2; in poly1305_core_blocks()
Dpoly1305-donna32.c37 u32 s1, s2, s3, s4; in poly1305_core_blocks() local
54 s2 = key->precomputed_s.r[1]; in poly1305_core_blocks()
74 ((u64)h2 * s3) + ((u64)h3 * s2) + in poly1305_core_blocks()
78 ((u64)h4 * s2); in poly1305_core_blocks()
Dcurve25519-hacl64.c234 u128 s2 = ((((((u128)(d0) * (r2))) + (((u128)(r1) * (r1))))) + in fsquare_fsquare__() local
242 tmp[2] = s2; in fsquare_fsquare__()