Home
last modified time | relevance | path

Searched refs:c (Results 1 – 25 of 97) sorted by relevance

1234

/lib/crypto/
A Ddes.c629 c = k[5]; c &= 0x0e; c <<= 4; c |= k[1] & 0x1e; c = pc1[c]; in des_ekey()
640 pe[ 8 * 2 + 0] = DES_PC2(d, a, b, c); c = rs[c]; in des_ekey()
657 c = k[1]; c &= 0xe0; c >>= 4; c |= k[5] & 0xf0; c = pc1[c + 1]; in des_ekey()
671 pe[ 8 * 2 + 1] = DES_PC2(d, a, b, c); c = rs[c]; in des_ekey()
720 c = k[5]; c &= 0x0e; c <<= 4; c |= k[1] & 0x1e; c = pc1[c]; in dkey()
725 pe[ 1 * 2] = DES_PC2(d, a, b, c); c = rs[c]; b = rs[b]; in dkey()
727 pe[ 3 * 2] = DES_PC2(d, a, b, c); c = rs[c]; b = rs[b]; in dkey()
729 pe[ 5 * 2] = DES_PC2(d, a, b, c); c = rs[c]; b = rs[b]; in dkey()
731 pe[ 7 * 2] = DES_PC2(d, a, b, c); c = rs[c]; in dkey()
745 c = k[1]; c &= 0xe0; c >>= 4; c |= k[5] & 0xf0; c = pc1[c + 1]; in dkey()
[all …]
A Dpoly1305-donna64.c42 u64 c; in poly1305_core_blocks() local
92 d1 += c; in poly1305_core_blocks()
95 d2 += c; in poly1305_core_blocks()
127 h2 += c; in poly1305_core_emit()
133 h1 += c; in poly1305_core_emit()
136 h2 += c; in poly1305_core_emit()
142 h1 += c; in poly1305_core_emit()
155 g0 &= c; in poly1305_core_emit()
156 g1 &= c; in poly1305_core_emit()
157 g2 &= c; in poly1305_core_emit()
[all …]
A Dsm3.c52 #define R1(a, b, c, d, e, f, g, h, t, w1, w2) \ argument
53 R(1, a, b, c, d, e, f, g, h, t, w1, w2)
54 #define R2(a, b, c, d, e, f, g, h, t, w1, w2) \ argument
55 R(2, a, b, c, d, e, f, g, h, t, w1, w2)
77 u32 a, b, c, d, e, f, g, h, ss1, ss2; in sm3_transform() local
81 c = sctx->state[2]; in sm3_transform()
88 R1(a, b, c, d, e, f, g, h, K[0], I(0), I(4)); in sm3_transform()
89 R1(d, a, b, c, h, e, f, g, K[1], I(1), I(5)); in sm3_transform()
90 R1(c, d, a, b, g, h, e, f, K[2], I(2), I(6)); in sm3_transform()
91 R1(b, c, d, a, f, g, h, e, K[3], I(3), I(7)); in sm3_transform()
[all …]
A Dpoly1305-donna32.c41 u32 c; in poly1305_core_blocks() local
93 d1 += c; in poly1305_core_blocks()
96 d2 += c; in poly1305_core_blocks()
99 d3 += c; in poly1305_core_blocks()
102 d4 += c; in poly1305_core_blocks()
108 h1 += c; in poly1305_core_blocks()
139 h2 += c; in poly1305_core_emit()
142 h3 += c; in poly1305_core_emit()
145 h4 += c; in poly1305_core_emit()
148 h0 += c * 5; in poly1305_core_emit()
[all …]
/lib/raid6/test/
A DMakefile68 .c.o:
71 %.c: ../%.c
84 raid6test: test.c raid6.a
123 int1.c: int.uc ../unroll.awk
126 int2.c: int.uc ../unroll.awk
129 int4.c: int.uc ../unroll.awk
132 int8.c: int.uc ../unroll.awk
135 int16.c: int.uc ../unroll.awk
141 tables.c: mktables
142 ./mktables > tables.c
[all …]
/lib/raid6/
A DMakefile40 targets += int1.c int2.c int4.c int8.c
41 $(obj)/int%.c: $(src)/int.uc $(src)/unroll.awk FORCE
48 targets += altivec1.c altivec2.c altivec4.c altivec8.c
49 $(obj)/altivec%.c: $(src)/altivec.uc $(src)/unroll.awk FORCE
56 targets += vpermxor1.c vpermxor2.c vpermxor4.c vpermxor8.c
70 targets += neon1.c neon2.c neon4.c neon8.c
71 $(obj)/neon%.c: $(src)/neon.uc $(src)/unroll.awk FORCE
74 targets += s390vx8.c
75 $(obj)/s390vx%.c: $(src)/s390vx.uc $(src)/unroll.awk FORCE
81 targets += tables.c
[all …]
A D.gitignore3 altivec*.c
4 int*.c
5 tables.c
6 neon?.c
7 s390vx?.c
8 vpermxor*.c
/lib/
A Ducs2_string.c68 ucs2_char_t c; in ucs2_strscpy() local
70 c = src[res]; in ucs2_strscpy()
71 dst[res] = c; in ucs2_strscpy()
73 if (!c) in ucs2_strscpy()
113 u16 c = src[i]; in ucs2_utf8size() local
115 if (c >= 0x800) in ucs2_utf8size()
117 else if (c >= 0x80) in ucs2_utf8size()
142 u16 c = src[i]; in ucs2_as_utf8() local
144 if (c >= 0x800) { in ucs2_as_utf8()
151 } else if (c >= 0x80) { in ucs2_as_utf8()
[all …]
A Dstring.c150 unsigned long c, data; in sized_strscpy() local
165 c &= ALLBUTLAST_BYTE_MASK; in sized_strscpy()
175 char c; in sized_strscpy() local
177 c = src[res]; in sized_strscpy()
178 dest[res] = c; in sized_strscpy()
179 if (!c) in sized_strscpy()
331 for (; *s != (char)c; ++s) in strchr()
384 if (*s == (char)c) in strrchr()
405 if (*s == (char)c) in strnchr()
539 *xs++ = c; in memset()
[all …]
A Dbch.c476 for (c = 0; c < m; c++) { in solve_linear_system()
520 for (c = 0; c < k; c++) in solve_linear_system()
521 rows[param[c]] = (rows[param[c]] & ~1)|((p >> c) & 1); in solve_linear_system()
596 if (poly->c[0] && poly->c[1]) { in find_poly_deg2_roots()
677 c = gf_div(bch, poly->c[1], e4); in find_poly_deg4_roots()
746 unsigned int i, j, *c = a->c; in gf_poly_mod() local
839 out->c[j] ^= z->c[j]; in compute_trace_bk_mod()
840 z->c[2*j] = gf_sqr(bch, z->c[j]); in compute_trace_bk_mod()
947 syn0 = gf_div(bch, p->c[0], p->c[p->deg]); in chien_search()
1225 g->c[j] = gf_mul(bch, g->c[j], r)^g->c[j-1]; in compute_generator_polynomial()
[all …]
A Dstrncpy_from_user.c38 unsigned long c, data, mask; in do_strncpy_from_user() local
41 unsafe_get_user(c, (unsigned long __user *)(src+res), byte_at_a_time); in do_strncpy_from_user()
54 if (has_zero(c, &data, &constants)) { in do_strncpy_from_user()
55 data = prep_zero_mask(c, data, &constants); in do_strncpy_from_user()
58 *(unsigned long *)(dst+res) = c & mask; in do_strncpy_from_user()
62 *(unsigned long *)(dst+res) = c; in do_strncpy_from_user()
70 char c; in do_strncpy_from_user() local
72 unsafe_get_user(c,src+res, efault); in do_strncpy_from_user()
73 dst[res] = c; in do_strncpy_from_user()
74 if (!c) in do_strncpy_from_user()
A Dtest_meminit.c220 struct kmem_cache *c; in do_kmem_cache_size() local
251 kmem_cache_free(c, buf); in do_kmem_cache_size()
268 kmem_cache_free(c, buf); in do_kmem_cache_size()
282 kmem_cache_destroy(c); in do_kmem_cache_size()
294 struct kmem_cache *c; in do_kmem_cache_rcu_persistent() local
309 kmem_cache_free(c, buf); in do_kmem_cache_rcu_persistent()
314 kmem_cache_free(c, buf); in do_kmem_cache_rcu_persistent()
319 kmem_cache_free(c, buf); in do_kmem_cache_rcu_persistent()
342 kmem_cache_destroy(c); in do_kmem_cache_rcu_persistent()
349 struct kmem_cache *c; in do_kmem_cache_size_bulk() local
[all …]
A Dstring_helpers.c366 *out = c; in escape_passthrough()
376 switch (c) { in escape_space()
412 switch (c) { in escape_special()
444 if (c) in escape_null()
466 *out = ((c >> 6) & 0x07) + '0'; in escape_octal()
469 *out = ((c >> 3) & 0x07) + '0'; in escape_octal()
472 *out = ((c >> 0) & 0x07) + '0'; in escape_octal()
490 *out = hex_asc_hi(c); in escape_hex()
493 *out = hex_asc_lo(c); in escape_hex()
586 unsigned char c = *src++; in string_escape_mem() local
[all …]
A Dglob.c56 unsigned char c = *str++; in glob_match() local
61 if (c == '\0') in glob_match()
71 if (c == '\0') /* No possible match */ in glob_match()
97 match |= (a <= c && c <= b); in glob_match()
110 if (c == d) { in glob_match()
116 if (c == '\0' || !back_pat) in glob_match()
A Dbootconfig.c577 if (!isprint(c) && !isspace(c)) in __xbc_parse_value()
585 c = *p; in __xbc_parse_value()
586 if (c && !strchr(",;\n#}", c)) in __xbc_parse_value()
607 return c; in __xbc_parse_value()
614 int c = 0; in xbc_parse_array() local
621 if (c < 0) in xbc_parse_array()
622 return c; in xbc_parse_array()
631 return c; in xbc_parse_array()
705 if (c < 0) in xbc_parse_kv()
706 return c; in xbc_parse_kv()
[all …]
A Dstrnlen_user.c27 unsigned long c; in do_strnlen_user() local
37 unsafe_get_user(c, (unsigned long __user *)src, efault); in do_strnlen_user()
38 c |= aligned_byte_mask(align); in do_strnlen_user()
42 if (has_zero(c, &data, &constants)) { in do_strnlen_user()
43 data = prep_zero_mask(c, data, &constants); in do_strnlen_user()
52 unsafe_get_user(c, (unsigned long __user *)(src+res), efault); in do_strnlen_user()
A Dbuild_OID_registry63 my $c = $components[$loop];
66 my $tmp = ($c == 0) ? 0 : int(log($c)/log(2));
103 my $c = $components[$loop];
106 my $tmp = ($c == 0) ? 0 : int(log($c)/log(2));
110 push @octets, (($c >> $tmp * 7) & 0x7f) | 0x80;
112 push @octets, $c & 0x7f;
A Dbitmap-str.c260 static inline bool end_of_str(char c) in end_of_str() argument
262 return c == '\0' || c == '\n'; in end_of_str()
265 static inline bool __end_of_region(char c) in __end_of_region() argument
267 return isspace(c) || c == ','; in __end_of_region()
270 static inline bool end_of_region(char c) in end_of_region() argument
272 return __end_of_region(c) || end_of_str(c); in end_of_region()
437 int c, i; in bitmap_get_x32_reverse() local
440 c = hex_to_bin(*end--); in bitmap_get_x32_reverse()
441 if (c < 0) in bitmap_get_x32_reverse()
444 ret |= c << i; in bitmap_get_x32_reverse()
/lib/zstd/compress/
A Dhist.c105 Counting1[(BYTE) c ]++; in HIST_count_parallel_wksp()
106 Counting2[(BYTE)(c>>8) ]++; in HIST_count_parallel_wksp()
107 Counting3[(BYTE)(c>>16)]++; in HIST_count_parallel_wksp()
108 Counting4[ c>>24 ]++; in HIST_count_parallel_wksp()
110 Counting1[(BYTE) c ]++; in HIST_count_parallel_wksp()
111 Counting2[(BYTE)(c>>8) ]++; in HIST_count_parallel_wksp()
112 Counting3[(BYTE)(c>>16)]++; in HIST_count_parallel_wksp()
113 Counting4[ c>>24 ]++; in HIST_count_parallel_wksp()
115 Counting1[(BYTE) c ]++; in HIST_count_parallel_wksp()
116 Counting2[(BYTE)(c>>8) ]++; in HIST_count_parallel_wksp()
[all …]
/lib/fonts/
A Dfonts.c115 int i, c, cc, res; in get_default_font() local
122 c = f->pref; in get_default_font()
126 c = 100; in get_default_font()
130 c = 100; in get_default_font()
134 c += 1000; in get_default_font()
139 c += 20 - res; in get_default_font()
143 c += 1000; in get_default_font()
145 if (c > cc) { in get_default_font()
146 cc = c; in get_default_font()
/lib/crc/
A Dgen_crc64table.c20 uint64_t i, j, c, crc; in generate_reflected_crc64_table() local
24 c = i; in generate_reflected_crc64_table()
27 if ((crc ^ (c >> j)) & 1) in generate_reflected_crc64_table()
38 uint64_t i, j, c, crc; in generate_crc64_table() local
42 c = i << 56; in generate_crc64_table()
45 if ((crc ^ c) & 0x8000000000000000ULL) in generate_crc64_table()
49 c <<= 1; in generate_crc64_table()
/lib/crc/arm/
A Dcrc32-core.S242 .macro __crc32, c
244 bmi .Ltail\c
247 bne .Lunaligned\c
250 .Laligned8\c:
254 crc32\c\()w r0, r0, r2
258 bpl .Laligned8\c
260 .Ltail\c:
279 .Lunaligned\c:
294 bpl .Laligned8\c
295 b .Ltail\c
[all …]
/lib/crc/arm64/
A Dcrc32-core.S73 crc32\c\()x w8, w0, x3
78 crc32\c\()w w8, w0, w3
83 crc32\c\()h w8, w0, w3
87 crc32\c\()b w8, w0, w3
90 crc32\c\()x w8, w0, x5
91 crc32\c\()x w8, w8, x6
99 crc32\c\()x w0, w0, x3
100 crc32\c\()x w0, w0, x4
101 crc32\c\()x w0, w0, x5
102 crc32\c\()x w0, w0, x6
[all …]
/lib/crypto/x86/
A Dsha256-avx2-asm.S95 c = %ecx define
147 d = c
148 c = b define
161 or c, y3 # y3 = a|c # MAJA
185 and c, T1 # T1 = a&c # MAJB
189 or T1, y3 # y3 = MAJ = (a|c)&b)|(a&c) # MAJ
209 or c, y3 # y3 = a|c # MAJA
236 and c, T1 # T1 = a&c # MAJB
241 or T1, y3 # y3 = MAJ = (a|c)&b)|(a&c) # MAJ
263 or c, y3 # y3 = a|c # MAJA
[all …]
/lib/tests/module/
A D.gitignore1 test_kallsyms_a.c
2 test_kallsyms_b.c
3 test_kallsyms_c.c
4 test_kallsyms_d.c

Completed in 43 milliseconds

1234