Home
last modified time | relevance | path

Searched defs:x (Results 1 – 25 of 59) sorted by relevance

123

/lib/crypto/
Dsm4.c64 static inline u32 sm4_t_non_lin_sub(u32 x) in sm4_t_non_lin_sub()
76 static inline u32 sm4_key_lin_sub(u32 x) in sm4_key_lin_sub()
81 static inline u32 sm4_enc_lin_sub(u32 x) in sm4_enc_lin_sub()
86 static inline u32 sm4_key_sub(u32 x) in sm4_key_sub()
91 static inline u32 sm4_enc_sub(u32 x) in sm4_enc_sub()
154 u32 x[4], i; in sm4_crypt_block() local
Dchacha.c16 static void chacha_permute(u32 *x, int nrounds) in chacha_permute()
78 u32 x[16]; in chacha_block_generic() local
105 u32 x[16]; in hchacha_block_generic() local
Dsha256.c41 static inline u32 Ch(u32 x, u32 y, u32 z) in Ch()
46 static inline u32 Maj(u32 x, u32 y, u32 z) in Maj()
51 #define e0(x) (ror32(x, 2) ^ ror32(x, 13) ^ ror32(x, 22)) argument
52 #define e1(x) (ror32(x, 6) ^ ror32(x, 11) ^ ror32(x, 25)) argument
53 #define s0(x) (ror32(x, 7) ^ ror32(x, 18) ^ (x >> 3)) argument
54 #define s1(x) (ror32(x, 17) ^ ror32(x, 19) ^ (x >> 10)) argument
Daes.c94 u32 x = w & 0x7f7f7f7f; in mul_by_x() local
103 u32 x = w & 0x3f3f3f3f; in mul_by_x2() local
111 static u32 mix_columns(u32 x) in mix_columns()
126 static u32 inv_mix_columns(u32 x) in inv_mix_columns()
Ddes.c25 #define ROL(x, r) ((x) = rol32((x), (r))) argument
26 #define ROR(x, r) ((x) = ror32((x), (r))) argument
604 #define T1(x) pt[2 * (x) + 0] argument
605 #define T2(x) pt[2 * (x) + 1] argument
606 #define T3(x) pt[2 * (x) + 2] argument
607 #define T4(x) pt[2 * (x) + 3] argument
/lib/
Dlocking-selftest.c223 #define L(x) spin_lock(&lock_##x) argument
224 #define U(x) spin_unlock(&lock_##x) argument
225 #define LU(x) L(x); U(x) argument
226 #define SI(x) spin_lock_init(&lock_##x) argument
228 #define WL(x) write_lock(&rwlock_##x) argument
229 #define WU(x) write_unlock(&rwlock_##x) argument
230 #define WLU(x) WL(x); WU(x) argument
232 #define RL(x) read_lock(&rwlock_##x) argument
233 #define RU(x) read_unlock(&rwlock_##x) argument
234 #define RLU(x) RL(x); RU(x) argument
[all …]
Dextable.c16 #define ex_to_insn(x) ((x)->insn) argument
18 static inline unsigned long ex_to_insn(const struct exception_table_entry *x) in ex_to_insn()
29 struct exception_table_entry *x = a, *y = b, tmp; in swap_ex() local
53 const struct exception_table_entry *x = a, *y = b; in cmp_ex_sort() local
Ddecompress_unzstd.c92 static int INIT handle_zstd_error(size_t ret, void (*error)(char *x)) in handle_zstd_error()
125 void (*error)(char *x)) in decompress_single()
168 void (*error)(char *x)) in __unzstd()
336 void (*error)(char *x)) in unzstd()
346 void (*error)(char *x)) in __decompress()
Dcrc32.c37 # define tole(x) ((__force u32) cpu_to_le32(x)) argument
39 # define tole(x) (x) argument
43 # define tobe(x) ((__force u32) cpu_to_be32(x)) argument
45 # define tobe(x) (x) argument
61 # define DO_CRC(x) crc = t0[(crc ^ (x)) & 255] ^ (crc >> 8) argument
217 static u32 __attribute_const__ gf2_multiply(u32 x, u32 y, u32 modulus)
Ddecompress_inflate.c47 void(*error)(char *x)) { in __gunzip()
205 void (*error)(char *x)) in gunzip()
215 void (*error)(char *x)) in __decompress()
Dsha1.c39 #define setW(x, val) (*(volatile __u32 *)&W(x) = (val)) argument
41 #define setW(x, val) do { W(x) = (val); __asm__("":::"memory"); } while (0) argument
43 #define setW(x, val) (W(x) = (val)) argument
47 #define W(x) (array[(x)&15]) argument
Dchecksum.c37 static inline unsigned short from32to16(unsigned int x) in from32to16()
149 static inline u32 from64to32(u64 x) in from64to32()
Ddecompress_unxz.c179 const uint8_t *x = a; in memeq() local
255 void (*error)(char *x)) in unxz()
403 void (*error)(char *x)) in __decompress()
Ddecompress_unlz4.c31 STATIC inline int INIT unlz4(u8 *input, long in_len, in unlz4()
212 void (*error)(char *x) in __decompress()
Dcrc4.c25 uint8_t crc4(uint8_t c, uint64_t x, int bits) in crc4()
Ddecompress_unlzo.c97 STATIC int INIT unlzo(u8 *input, long in_len, in unlzo()
282 void (*error)(char *x)) in __decompress()
Dtest_bits.c44 unsigned int x, y; in genmask_input_check_test() local
/lib/math/
Dprime_numbers.c69 static bool slow_is_prime_number(unsigned long x) in slow_is_prime_number()
82 static unsigned long slow_next_prime_number(unsigned long x) in slow_next_prime_number()
90 static unsigned long clear_multiples(unsigned long x, in clear_multiples()
109 static bool expand_to_next_prime(unsigned long x) in expand_to_next_prime()
188 unsigned long next_prime_number(unsigned long x) in next_prime_number()
221 bool is_prime_number(unsigned long x) in is_prime_number()
266 unsigned long x, last; in selftest() local
Dint_sqrt.c20 unsigned long int_sqrt(unsigned long x) in int_sqrt()
49 u32 int_sqrt64(u64 x) in int_sqrt64()
/lib/lzo/
Dlzo1x_decompress_safe.c23 #define HAVE_IP(x) ((size_t)(ip_end - ip) >= (size_t)(x)) argument
24 #define HAVE_OP(x) ((size_t)(op_end - op) >= (size_t)(x)) argument
25 #define NEED_IP(x) if (!HAVE_IP(x)) goto input_overrun argument
26 #define NEED_OP(x) if (!HAVE_OP(x)) goto output_overrun argument
/lib/mpi/
Dmpi-inline.h27 mpi_limb_t x; in mpihelp_add_1() local
70 mpi_limb_t x; in mpihelp_sub_1() local
Dgeneric_mpih-add1.c24 mpi_limb_t x, y, cy; in mpihelp_add_n() local
Dgeneric_mpih-sub1.c23 mpi_limb_t x, y, cy; in mpihelp_sub_n() local
Dgeneric_mpih-mul3.c26 mpi_limb_t x; in mpihelp_submul_1() local
Dgeneric_mpih-mul2.c26 mpi_limb_t x; in mpihelp_addmul_1() local

123