Home
last modified time | relevance | path

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

/lib/
Dstring.c44 int strncasecmp(const char *s1, const char *s2, size_t len) in strncasecmp() argument
54 c2 = *s2++; in strncasecmp()
70 int strcasecmp(const char *s1, const char *s2) in strcasecmp() argument
76 c2 = tolower(*s2++); in strcasecmp()
701 bool sysfs_streq(const char *s1, const char *s2) in sysfs_streq() argument
703 while (*s1 && *s1 == *s2) { in sysfs_streq()
705 s2++; in sysfs_streq()
708 if (*s1 == *s2) in sysfs_streq()
710 if (!*s1 && *s2 == '\n' && !s2[1]) in sysfs_streq()
712 if (*s1 == '\n' && !s1[1] && !*s2) in sysfs_streq()
[all …]
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()
Drandom32.c57 state->s2 = TAUSWORTHE(state->s2, 2U, 27U, 4294967288U, 2U); in prandom_u32_state()
61 return (state->s1 ^ state->s2 ^ state->s3 ^ state->s4); in prandom_u32_state()
121 state->s2 = __seed(seeds[1], 8U); in prandom_seed_full_state()
265 state->s2 = __seed(HWSEED() ^ LCG(state->s1), 8U); in prandom_seed_early()
266 state->s3 = __seed(HWSEED() ^ LCG(state->s2), 16U); in prandom_seed_early()
/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__()