Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 50) sorted by relevance

12

/lib/crypto/
A Dsm3.c46 h += GG ## i(e, f, g) + ss1 + (w1); \
48 f = rol32((f), 19); \
52 #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
84 f = sctx->state[5]; 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()
[all …]
A Dpoly1305-donna32.c127 u64 f; in poly1305_core_emit() local
191 f = (u64)h0 + nonce[0]; in poly1305_core_emit()
192 h0 = (u32)f; in poly1305_core_emit()
193 f = (u64)h1 + nonce[1] + (f >> 32); in poly1305_core_emit()
194 h1 = (u32)f; in poly1305_core_emit()
195 f = (u64)h2 + nonce[2] + (f >> 32); in poly1305_core_emit()
196 h2 = (u32)f; in poly1305_core_emit()
197 f = (u64)h3 + nonce[3] + (f >> 32); in poly1305_core_emit()
198 h3 = (u32)f; in poly1305_core_emit()
A Dsha256.c78 u32 a, b, c, d, e, f, g, h; in sha256_block_generic() local
111 f = state->h[5]; in sha256_block_generic()
117 SHA256_ROUND(i + 0, a, b, c, d, e, f, g, h); in sha256_block_generic()
118 SHA256_ROUND(i + 1, h, a, b, c, d, e, f, g); in sha256_block_generic()
119 SHA256_ROUND(i + 2, g, h, a, b, c, d, e, f); in sha256_block_generic()
120 SHA256_ROUND(i + 3, f, g, h, a, b, c, d, e); in sha256_block_generic()
121 SHA256_ROUND(i + 4, e, f, g, h, a, b, c, d); in sha256_block_generic()
122 SHA256_ROUND(i + 5, d, e, f, g, h, a, b, c); in sha256_block_generic()
123 SHA256_ROUND(i + 6, c, d, e, f, g, h, a, b); in sha256_block_generic()
124 SHA256_ROUND(i + 7, b, c, d, e, f, g, h, a); in sha256_block_generic()
[all …]
A Dsha512.c80 u64 f = state->h[5]; in sha512_block_generic() local
97 t1 = h + e1(e) + Ch(e, f, g) + sha512_K[i] + W[(i & 15)]; in sha512_block_generic()
99 t1 = g + e1(d) + Ch(d, e, f) + sha512_K[i+1] + W[(i & 15) + 1]; in sha512_block_generic()
101 t1 = f + e1(c) + Ch(c, d, e) + sha512_K[i+2] + W[(i & 15) + 2]; in sha512_block_generic()
102 t2 = e0(g) + Maj(g, h, a); b += t1; f = t1 + t2; in sha512_block_generic()
104 t2 = e0(f) + Maj(f, g, h); a += t1; e = t1 + t2; in sha512_block_generic()
106 t2 = e0(e) + Maj(e, f, g); h += t1; d = t1 + t2; in sha512_block_generic()
108 t2 = e0(d) + Maj(d, e, f); g += t1; c = t1 + t2; in sha512_block_generic()
110 t2 = e0(c) + Maj(c, d, e); f += t1; b = t1 + t2; in sha512_block_generic()
111 t1 = a + e1(f) + Ch(f, g, h) + sha512_K[i+7] + W[(i & 15) + 7]; in sha512_block_generic()
[all …]
A Dcurve25519-fiat32.c167 fe_freeze(h, f->v); in fe_tobytes()
205 memmove(h, f, sizeof(u32) * 10); in fe_copy()
266 fe_add_impl(h->v, f->v, g->v); in fe_add()
309 fe_sub_impl(h->v, f->v, g->v); in fe_sub()
430 fe_mul_impl(h->v, f->v, g->v); in fe_mul_ttt()
435 fe_mul_impl(h->v, f->v, g->v); in fe_mul_tlt()
441 fe_mul_impl(h->v, f->v, g->v); in fe_mul_tll()
552 fe_sqr_impl(h->v, f->v); in fe_sq_tl()
557 fe_sqr_impl(h->v, f->v); in fe_sq_tt()
627 u32 x = f->v[i] ^ g->v[i]; in fe_cswap()
[all …]
A Dblake2s-generic.c65 v[14] = BLAKE2S_IV6 ^ state->f[0]; in blake2s_compress_generic()
66 v[15] = BLAKE2S_IV7 ^ state->f[1]; in blake2s_compress_generic()
/lib/fonts/
A Dfonts.c116 const struct font_desc *f, *g; in get_default_font() local
121 f = fonts[i]; in get_default_font()
122 c = f->pref; in get_default_font()
125 if (MACH_IS_AMIGA && f->idx == PEARL8x8_IDX) in get_default_font()
129 if (MACH_IS_MAC && xres < 640 && f->idx == VGA6x11_IDX) in get_default_font()
133 if ((yres < 400) == (f->height <= 8)) in get_default_font()
137 res = (xres / f->width) * (yres / f->height) / 1000; in get_default_font()
141 if ((!font_w || test_bit(f->width - 1, font_w)) && in get_default_font()
142 (!font_h || test_bit(f->height - 1, font_h))) in get_default_font()
147 g = f; in get_default_font()
/lib/crypto/x86/
A Dsha256-avx2-asm.S104 f = %r9d define
144 g = f
145 f = e define
163 mov f, y2 # y2 = f # CH
213 mov f, y2 # y2 = f # CH
264 mov f, y2 # y2 = f # CH
314 mov f, y2 # y2 = f # CH
358 mov f, y2 # y2 = f # CH
395 mov f, y2 # y2 = f # CH
435 mov f, y2 # y2 = f # CH
[all …]
A Dsha256-avx-asm.S109 f = %r9d define
144 g = f
145 f = e define
163 mov f, y2 # y2 = f
166 xor g, y2 # y2 = f^g
197 mov f, y2 # y2 = f
236 mov f, y2 # y2 = f
274 mov f, y2 # y2 = f
315 mov f, y2 # y2 = f
369 mov 4*5(CTX), f
[all …]
A Dsha256-ssse3-asm.S102 f = %r9d define
138 g = f
139 f = e define
157 mov f, y2 # y2 = f
161 xor g, y2 # y2 = f^g
197 mov f, y2 # y2 = f
239 mov f, y2 # y2 = f
280 mov f, y2 # y2 = f
322 mov f, y2 # y2 = f
376 mov 4*5(CTX), f
[all …]
A Dsha512-avx2-asm.S89 f = %r9 define
146 g = f
147 f = e define
186 mov f, y2 # y2 = f # CH
250 mov f, y2 # y2 = f # CH
307 mov f, y2 # y2 = f # CH
365 mov f, y2 # y2 = f # CH
405 mov f, y2 # y2 = f # CH
442 mov f, y2 # y2 = f # CH
480 mov f, y2 # y2 = f # CH
[all …]
/lib/
A Dtest_fpu_impl.c15 volatile double a, b, c, d, e, f, g; in test_fpu() local
28 f = b / c; in test_fpu()
31 g = a + c * f; in test_fpu()
A Dtest_hexdump.c167 int ae, he, e, f, r; in test_hexdump_overflow() local
188 f = min_t(int, e + 1, buflen); in test_hexdump_overflow()
191 test[f - 1] = '\0'; in test_hexdump_overflow()
193 memset(test + f, FILL_CHAR, sizeof(test) - f); in test_hexdump_overflow()
A Dclosure.c259 static int debug_show(struct seq_file *f, void *data) in debug_show() argument
268 seq_printf(f, "%p: %pS -> %pS p %p r %i ", in debug_show()
272 seq_printf(f, "%s%s\n", in debug_show()
278 seq_printf(f, " W %pS\n", in debug_show()
281 seq_putc(f, '\n'); in debug_show()
A Dbch.c686 f = gf_div(bch, c, a); in find_poly_deg4_roots()
687 l = a_log(bch, f); in find_poly_deg4_roots()
719 roots[i] = a_ilog(bch, f^e); in find_poly_deg4_roots()
831 memset(out, 0, GF_POLY_SZ(f->deg)); in compute_trace_bk_mod()
834 gf_poly_logrep(bch, f, bch->cache); in compute_trace_bk_mod()
849 gf_poly_mod(bch, z, f, bch->cache); in compute_trace_bk_mod()
872 *g = f; in factor_polynomial()
876 compute_trace_bk_mod(bch, k, f, z, tk); in factor_polynomial()
880 gf_poly_copy(f2, f); in factor_polynomial()
882 if (gcd->deg < f->deg) { in factor_polynomial()
[all …]
A Dinflate.c338 unsigned f; /* i repeats in table every f entries */ in huft_build() local
471 if ((f = 1 << (j = k - w)) > a + 1) /* try a k-w bit table */ in huft_build()
474 f -= a + 1; /* deduct codes from patterns left */ in huft_build()
479 if ((f <<= 1) <= *++xp) in huft_build()
481 f -= *xp; /* else deduct codes from patterns */ in huft_build()
535 f = 1 << (k - w); in huft_build()
536 for (j = i >> w; j < z; j += f) in huft_build()
A Dkstrtox.c412 #define kstrto_from_user(f, g, type) \ argument
413 int f(const char __user *s, size_t count, unsigned int base, type *res) \
424 EXPORT_SYMBOL(f)
/lib/zstd/common/
A Derror_private.h50 #define CHECK_V_F(e, f) \ argument
51 size_t const e = f; \
56 #define CHECK_F(f) do { CHECK_V_F(_var_err__, f); } while (0) argument
/lib/crc/arm64/
A Dcrc32-core.S59 b.lt 8f // less than 16 bytes
63 cbz x7, 32f // multiple of 32 bytes
93 cbz x2, 0f
107 8: tbz x2, #3, 4f
111 4: tbz x2, #2, 2f
115 2: tbz x2, #1, 1f
119 1: tbz x2, #0, 0f
/lib/crc/arm/
A Dcrc32-core.S128 b 0f
262 beq 2f
268 beq 1f
281 beq 2f
287 beq 0f
/lib/crypto/arm64/
A Dsha2-armv8.pl68 ( $xlate="${dir}arm-xlate.pl" and -f $xlate ) or
69 ( $xlate="${dir}../../perlasm/arm-xlate.pl" and -f $xlate) or
107 my ($i,$a,$b,$c,$d,$e,$f,$g,$h)=@_;
143 and $t1,$f,$e
165 and $t1,$f,$e
481 my ($a,$b,$c,$d,$e,$f,$g,$h);
588 my ($a,$b,$c,$d,$e,$f,$g,$h);
/lib/crypto/powerpc/
A Dsha256-spe-asm.S101 #define R_LOAD_W(a, b, c, d, e, f, g, h, w, off) \ argument
107 and rT3,e,f; /* 1: ch = e and f */ \
136 andc rT1,f,d; /* 2: ch' = ~e and g */ \
156 #define R_CALC_W(a, b, c, d, e, f, g, h, w0, w1, w4, w5, w7, k, off) \ argument
169 and rT2,e,f; /* 1: ch = e and f */ \
206 andc rT1,f,d; /* 2: ch' = ~e and g */ \
/lib/xz/
A Dxz_dec_test.c63 static int xz_dec_test_open(struct inode *i, struct file *f) in xz_dec_test_open() argument
82 static int xz_dec_test_release(struct inode *i, struct file *f) in xz_dec_test_release() argument
/lib/tests/
A Drandstruct_kunit.c26 macro(f, args) \
74 u64 f; \
237 .f = 13, \ in randstruct_initializers()
/lib/crypto/arm/
A Dsha256-armv4.pl72 my ($i,$a,$b,$c,$d,$e,$f,$g,$h) = @_;
106 eor $t1,$f,$g
140 my ($i,$a,$b,$c,$d,$e,$f,$g,$h) = @_;
310 my ($a,$b,$c,$d,$e,$f,$g,$h);
411 my ($a,$b,$c,$d,$e,$f,$g,$h);

Completed in 38 milliseconds

12