/lib/mpi/ |
D | mpi-bit.c | 30 void mpi_normalize(MPI a) in mpi_normalize() 40 unsigned mpi_get_nbits(MPI a) in mpi_get_nbits() 62 int mpi_test_bit(MPI a, unsigned int n) in mpi_test_bit() 80 void mpi_set_bit(MPI a, unsigned int n) in mpi_set_bit() 99 void mpi_set_highbit(MPI a, unsigned int n) in mpi_set_highbit() 122 void mpi_clear_highbit(MPI a, unsigned int n) in mpi_clear_highbit() 140 void mpi_clear_bit(MPI a, unsigned int n) in mpi_clear_bit() 158 void mpi_rshift_limbs(MPI a, unsigned int count) in mpi_rshift_limbs() 178 void mpi_rshift(MPI x, MPI a, unsigned int n) in mpi_rshift() 250 void mpi_lshift_limbs(MPI a, unsigned int count) in mpi_lshift_limbs() [all …]
|
D | mpiutil.c | 89 MPI a; in mpi_alloc() local 124 void mpi_free_limb_space(mpi_ptr_t a) in mpi_free_limb_space() 132 void mpi_assign_limb_space(MPI a, mpi_ptr_t ap, unsigned nlimbs) in mpi_assign_limb_space() 143 int mpi_resize(MPI a, unsigned nlimbs) in mpi_resize() 166 void mpi_clear(MPI a) in mpi_clear() 175 void mpi_free(MPI a) in mpi_free() 195 MPI mpi_copy(MPI a) in mpi_copy() 218 MPI mpi_alloc_like(MPI a) in mpi_alloc_like() 300 void mpi_swap_cond(MPI a, MPI b, unsigned long swap) in mpi_swap_cond()
|
D | mpicoder.c | 41 mpi_limb_t a; in mpi_read_raw_data() local 122 mpi_limb_t a; in mpi_fromstr() local 204 MPI a; in mpi_scanval() local 219 static int count_lzeros(MPI a) in count_lzeros() 250 int mpi_read_buffer(MPI a, uint8_t *buf, unsigned buf_len, unsigned *nbytes, in mpi_read_buffer() 310 void *mpi_get_buffer(MPI a, unsigned *nbytes, int *sign) in mpi_get_buffer() 354 int mpi_write_to_sgl(MPI a, struct scatterlist *sgl, unsigned nbytes, in mpi_write_to_sgl() 444 mpi_limb_t a; in mpi_read_raw_from_sgl() local 556 size_t buflen, size_t *nwritten, MPI a) in mpi_print()
|
D | mpi-inv.c | 27 int mpi_invm(MPI x, MPI a, MPI n) in mpi_invm()
|
/lib/ |
D | memneq.c | 68 __crypto_memneq_generic(const void *a, const void *b, size_t size) in __crypto_memneq_generic() 92 static inline unsigned long __crypto_memneq_16(const void *a, const void *b) in __crypto_memneq_16() 156 noinline unsigned long __crypto_memneq(const void *a, const void *b, in __crypto_memneq()
|
D | list-test.c | 48 struct list_head a, b; in list_test_list_add() local 62 struct list_head a, b; in list_test_list_add_tail() local 76 struct list_head a, b; in list_test_list_del() local 127 struct list_head a, b; in list_test_list_swap() local 149 struct list_head a, b; in list_test_list_del_init() local 166 struct list_head a, b; in list_test_list_move() local 185 struct list_head a, b; in list_test_list_move_tail() local 204 struct list_head a, b, c, d, x, y; in list_test_list_bulk_move_tail() local 239 struct list_head a, b, c; in list_test_list_is_head() local 257 struct list_head a, b; in list_test_list_is_first() local [all …]
|
D | sort.c | 58 static void swap_words_32(void *a, void *b, size_t n) in swap_words_32() 83 static void swap_words_64(void *a, void *b, size_t n) in swap_words_64() 111 static void swap_bytes(void *a, void *b, size_t n) in swap_bytes() 133 static void do_swap(void *a, void *b, size_t size, swap_func_t swap_func) in do_swap() 147 static int do_cmp(const void *a, const void *b, cmp_r_func_t cmp, const void *priv) in do_cmp() 205 size_t n = num * size, a = (num/2) * size; in sort_r() local
|
D | list_sort.c | 17 struct list_head *a, struct list_head *b) in merge() 53 struct list_head *a, struct list_head *b) in merge_final() 223 struct list_head *a = *tail, *b = a->prev; in list_sort() local
|
D | test_sort.c | 13 static int cmpint(const void *a, const void *b) in cmpint() 20 int *a, i, r = 1; in test_sort() local
|
D | extable.c | 27 static void swap_ex(void *a, void *b, int size) in swap_ex() 51 static int cmp_ex_sort(const void *a, const void *b) in cmp_ex_sort()
|
D | ucmpdi2.c | 8 word_type notrace __ucmpdi2(unsigned long long a, unsigned long long b) in __ucmpdi2()
|
D | cmpdi2.c | 9 word_type notrace __cmpdi2(long long a, long long b) in __cmpdi2()
|
D | memcat_p.c | 10 void **__memcat_p(void **a, void **b) in __memcat_p()
|
D | bch.c | 362 static inline unsigned int gf_mul(struct bch_control *bch, unsigned int a, in gf_mul() 369 static inline unsigned int gf_sqr(struct bch_control *bch, unsigned int a) in gf_sqr() 374 static inline unsigned int gf_div(struct bch_control *bch, unsigned int a, in gf_div() 381 static inline unsigned int gf_inv(struct bch_control *bch, unsigned int a) in gf_inv() 575 static int find_affine4_roots(struct bch_control *bch, unsigned int a, in find_affine4_roots() 673 unsigned int a, b, c, a2, b2, c2, e3, tmp[4]; in find_poly_deg3_roots() local 706 unsigned int a, b, c, d, e = 0, f, a2, b2, c2, e4; in find_poly_deg4_roots() local 767 const struct gf_poly *a, int *rep) in gf_poly_logrep() 779 static void gf_poly_mod(struct bch_control *bch, struct gf_poly *a, in gf_poly_mod() 815 static void gf_poly_div(struct bch_control *bch, struct gf_poly *a, in gf_poly_div() [all …]
|
D | glob.c | 73 unsigned char a = *class++; in glob_match() local
|
D | timerqueue.c | 20 static inline bool __timerqueue_less(struct rb_node *a, const struct rb_node *b) in __timerqueue_less()
|
D | test_fpu.c | 30 volatile double a, b, c, d, e, f, g; in test_fpu() local
|
/lib/math/ |
D | lcm.c | 8 unsigned long lcm(unsigned long a, unsigned long b) in lcm() 17 unsigned long lcm_not_zero(unsigned long a, unsigned long b) in lcm_not_zero()
|
D | gcd.c | 23 unsigned long gcd(unsigned long a, unsigned long b) in gcd() 50 unsigned long gcd(unsigned long a, unsigned long b) in gcd()
|
D | rational.c | 58 unsigned long dp, a; in rational_best_approximation() local
|
/lib/raid6/ |
D | mktables.c | 21 static uint8_t gfmul(uint8_t a, uint8_t b) in gfmul() 35 static uint8_t gfpow(uint8_t a, int b) in gfpow()
|
/lib/crypto/ |
D | arc4.c | 24 u32 a = ctx->S[i]; in arc4_setkey() local 40 u32 x, y, a, b; in arc4_crypt() local
|
D | curve25519-hacl64.c | 19 static __always_inline u64 u64_eq_mask(u64 a, u64 b) in u64_eq_mask() 29 static __always_inline u64 u64_gte_mask(u64 a, u64 b) in u64_gte_mask() 307 u64 *a; in crecip_crecip() local 342 static __always_inline void fsum(u64 *a, u64 *b) in fsum() 351 static __always_inline void fdifference(u64 *a, u64 *b) in fdifference() 434 static __always_inline void fmul(u64 *output, u64 *a, u64 *b) in fmul() 444 static __always_inline void point_swap_conditional_step(u64 *a, u64 *b, in point_swap_conditional_step() 457 static __always_inline void point_swap_conditional5(u64 *a, u64 *b, u64 swap1) in point_swap_conditional5() 466 static __always_inline void point_swap_conditional(u64 *a, u64 *b, u64 iswap) in point_swap_conditional()
|
D | des.c | 609 #define DES_PC2(a, b, c, d) (T4(d) | T3(c) | T2(b) | T1(a)) argument 626 unsigned long a, b, c, d, w; in des_ekey() local 717 unsigned long a, b, c, d; in dkey() local
|
D | blake2s-generic.c | 68 #define G(r, i, a, b, c, d) do { \ in blake2s_compress_generic() argument
|