Home
last modified time | relevance | path

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

/lib/
A 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()
A Dstring.c40 int strncasecmp(const char *s1, const char *s2, size_t len) in strncasecmp() argument
50 c2 = *s2++; in strncasecmp()
66 int strcasecmp(const char *s1, const char *s2) in strcasecmp() argument
72 c2 = tolower(*s2++); in strcasecmp()
751 char *strstr(const char *s1, const char *s2) in strstr() argument
755 l2 = strlen(s2); in strstr()
761 if (!memcmp(s1, s2, l2)) in strstr()
777 char *strnstr(const char *s1, const char *s2, size_t len) in strnstr() argument
781 l2 = strlen(s2); in strnstr()
786 if (!memcmp(s1, s2, l2)) in strnstr()
A Dstring_helpers.c889 bool sysfs_streq(const char *s1, const char *s2) in sysfs_streq() argument
891 while (*s1 && *s1 == *s2) { in sysfs_streq()
893 s2++; in sysfs_streq()
896 if (*s1 == *s2) in sysfs_streq()
898 if (!*s1 && *s2 == '\n' && !s2[1]) in sysfs_streq()
900 if (*s1 == '\n' && !s1[1] && !*s2) in sysfs_streq()
/lib/tests/
A Dstring_helpers_kunit.c372 static const char *test_string_find_match(const struct test_string_2 *s2, in test_string_find_match() argument
375 const struct test_string_1 *s1 = s2->s1; in test_string_find_match()
379 return s2->in; in test_string_find_match()
406 const struct test_string_2 *s2, in test_string_escape() argument
420 for (; s2->in; s2++) { in test_string_escape()
437 out = test_string_find_match(s2, flags); in test_string_escape()
442 len = strlen(s2->in); in test_string_escape()
443 memcpy(&in[p], s2->in, len); in test_string_escape()
/lib/crypto/
A Dpoly1305-donna64.c40 u64 s1, s2; in poly1305_core_blocks() local
59 s2 = key->precomputed_s.r64[1]; in poly1305_core_blocks()
74 d = (u128)h1 * s2; in poly1305_core_blocks()
81 d = (u128)h2 * s2; in poly1305_core_blocks()
A Dpoly1305-donna32.c38 u32 s1, s2, s3, s4; in poly1305_core_blocks() local
55 s2 = key->precomputed_s.r[1]; in poly1305_core_blocks()
75 ((u64)h2 * s3) + ((u64)h3 * s2) + in poly1305_core_blocks()
79 ((u64)h4 * s2); in poly1305_core_blocks()
A Dcurve25519-hacl64.c232 u128 s2 = ((((((u128)(d0) * (r2))) + (((u128)(r1) * (r1))))) + in fsquare_fsquare__() local
240 tmp[2] = s2; in fsquare_fsquare__()
/lib/crypto/mips/
A Dpoly1305-mips.pl227 ($s0,$s1,$s2,$s3,$s4,$s5,$in0,$in1,$t2);
263 sd $s2,16($sp)
432 ld $s2,16($sp)
760 sw $s2, 4*2($sp)
925 maddu $rs2,$d2 # d2*s2
935 maddu $rs2,$d3 # d3*s2
945 maddu $rs2,$h4 # h4*s2
980 multu ($rs2,$d2) # d2*s2
1017 multu ($rs2,$d3) # d3*s2
1063 multu ($rs2,$h4) # h4*s2
[all …]
A Dchacha-core.S26 #define X15 $s2
217 sw $s2, 8($sp)
296 lw $s2, 8($sp)
/lib/crypto/arm/
A Dsha256-ce.S44 .macro add_update, ev, s0, s1, s2, s3
47 sha256su1.32 q\s0, q\s2, q\s3
A Dblake2s-core.S68 .macro _blake2s_quarterround a0, b0, c0, d0, a1, b1, c1, d1, s0, s1, s2, s3
71 ldr M_1, [sp, #32 + 4 * \s2]
128 .macro _blake2s_round s0, s1, s2, s3, s4, s5, s6, s7, \
135 \s0, \s1, \s2, \s3
A Dsha1-ce-core.S48 .macro add_update, op, ev, rc, s0, s1, s2, s3, dg1
49 sha1su0.32 q\s0, q\s1, q\s2
A Dpoly1305-armv4.pl178 my ($s1,$s2,$s3)=($r1,$r2,$r3);
295 add $s2,$r2,$r2,lsr#2
307 umlal r2,r3,$h3,$s2
308 umlal r0,r1,$h2,$s2
311 mul r0,$s2,$h4
/lib/crypto/arm64/
A Dsha256-ce.S44 .macro add_update, ev, rc, s0, s1, s2, s3
47 sha256su1 v\s0\().4s, v\s2\().4s, v\s3\().4s
A Dsha1-ce-core.S52 .macro add_update, op, ev, rc, s0, s1, s2, s3, dg1
53 sha1su0 v\s0\().4s, v\s1\().4s, v\s2\().4s
/lib/raid6/
A Drvv.h26 int s1, int s2, \
/lib/crypto/x86/
A Dpoly1305-x86_64-cryptogams.pl1024 vpmuludq $T4,$H4,$H0 # h4*s2
1025 vpmuludq $T3,$H4,$H4 # h3*s2
1125 vpmuludq $H4,$T4,$T0 # h4*s2
1129 vpmuludq $H3,$T4,$T4 # h3*s2
1268 vpmuludq $T4,$H2,$H1 # h4*s2
1271 vpmuludq $T3,$H2,$H2 # h3*s2
1362 vpmuludq $H4,$T2,$T1 # h4*s2
1365 vpmuludq $H3,$T2,$T2 # h3*s2
1969 vpmuludq $H3,$T1,$T4 # h3*s2
1970 vpmuludq $H4,$T1,$H2 # h4*s2
[all …]
A Dchacha-ssse3-x86_64.S150 # o2 = i2 ^ (x2 + s2)
537 # x8[0-3] += s2[0]
538 # x9[0-3] += s2[1]
544 # x10[0-3] += s2[2]
545 # x11[0-3] += s2[3]
A Dchacha-avx512vl-x86_64.S127 # o2 = i2 ^ (x2 + s2)
339 # o2 = i2 ^ (x2 + s2), first block
393 # o2 = i2 ^ (x2 + s2), third block
A Dchacha-avx2-x86_64.S154 # o2 = i2 ^ (x2 + s2)
405 # o2 = i2 ^ (x2 + s2), first block
459 # o2 = i2 ^ (x2 + s2), third block
/lib/crypto/riscv/
A Dchacha-riscv64-zvkb.S65 #define KEY2 s2
148 sd s2, 16(sp)
285 ld s2, 16(sp)
/lib/crc/arm64/
A Dcrc32-core.S170 ldr s2, [x5, #8]
/lib/crypto/powerpc/
A Dpoly1305-p10le_64.S25 # 07/22/21 - this revison based on the above sum of products. Setup r^4, r^3, r^2, r and s3, s2, …

Completed in 35 milliseconds