Home
last modified time | relevance | path

Searched defs:a (Results 1 – 25 of 69) sorted by relevance

123

/lib/crypto/mpi/
A Dmpiutil.c34 MPI a; in mpi_alloc() local
69 void mpi_free_limb_space(mpi_ptr_t a) in mpi_free_limb_space()
77 void mpi_assign_limb_space(MPI a, mpi_ptr_t ap, unsigned nlimbs) in mpi_assign_limb_space()
88 int mpi_resize(MPI a, unsigned nlimbs) in mpi_resize()
111 void mpi_free(MPI a) in mpi_free()
131 MPI mpi_copy(MPI a) in mpi_copy()
A Dmpi-bit.c32 void mpi_normalize(MPI a) in mpi_normalize()
41 unsigned mpi_get_nbits(MPI a) in mpi_get_nbits()
63 int mpi_test_bit(MPI a, unsigned int n) in mpi_test_bit()
81 int mpi_set_bit(MPI a, unsigned int n) in mpi_set_bit()
105 int mpi_rshift(MPI x, MPI a, unsigned int n) in mpi_rshift()
A Dmpicoder.c41 mpi_limb_t a; in mpi_read_raw_data() local
113 static int count_lzeros(MPI a) in count_lzeros()
144 int mpi_read_buffer(MPI a, uint8_t *buf, unsigned buf_len, unsigned *nbytes, in mpi_read_buffer()
204 void *mpi_get_buffer(MPI a, unsigned *nbytes, int *sign) in mpi_get_buffer()
248 int mpi_write_to_sgl(MPI a, struct scatterlist *sgl, unsigned nbytes, in mpi_write_to_sgl()
338 mpi_limb_t a; in mpi_read_raw_from_sgl() local
/lib/tests/
A Dlist-test.c49 struct list_head a, b; in list_test_list_add() local
63 struct list_head a, b; in list_test_list_add_tail() local
77 struct list_head a, b; in list_test_list_del() local
132 struct list_head a, b; in list_test_list_swap() local
154 struct list_head a, b; in list_test_list_del_init() local
174 struct list_head a, b; in list_test_list_del_init_careful() local
191 struct list_head a, b; in list_test_list_move() local
210 struct list_head a, b; in list_test_list_move_tail() local
306 struct list_head a; in list_test_list_empty() local
319 struct list_head a; in list_test_list_empty_careful() local
[all …]
A Dtest_sort.c13 static int cmpint(const void *a, const void *b) in cmpint()
20 int *a, i, r = 1; in test_sort() local
A Dhashtable_test.c36 struct hashtable_test_entry a; in hashtable_test_hash_empty() local
51 struct hashtable_test_entry a, b; in hashtable_test_hash_hashed() local
67 struct hashtable_test_entry a, b, *x; in hashtable_test_hash_add() local
97 struct hashtable_test_entry a, b, *x; in hashtable_test_hash_del() local
/lib/crypto/
A Dmemneq.c69 __crypto_memneq_generic(const void *a, const void *b, size_t size) in __crypto_memneq_generic()
94 static inline unsigned long __crypto_memneq_16(const void *a, const void *b) in __crypto_memneq_16()
164 noinline unsigned long __crypto_memneq(const void *a, const void *b, in __crypto_memneq()
A Dgf128mul.c142 u64 a = be64_to_cpu(x->a); in gf128mul_x8_lle() local
153 u64 a = be64_to_cpu(x->a); in gf128mul_x8_lle_ti() local
163 u64 a = be64_to_cpu(x->a); in gf128mul_x8_bbe() local
173 u64 a = le64_to_cpu(x->a); in gf128mul_x8_ble() local
295 void gf128mul_64k_bbe(be128 *a, const struct gf128mul_64k *t) in gf128mul_64k_bbe()
346 void gf128mul_4k_lle(be128 *a, const struct gf128mul_4k *t) in gf128mul_4k_lle()
A Darc4.c25 u32 a = ctx->S[i]; in arc4_setkey() local
41 u32 x, y, a, b; in arc4_crypt() local
A Dsm3.c41 #define R(i, a, b, c, d, e, f, g, h, t, w1, w2) \ argument
52 #define R1(a, b, c, d, e, f, g, h, t, w1, w2) \ argument
54 #define R2(a, b, c, d, e, f, g, h, t, w1, w2) \ argument
77 u32 a, b, c, d, e, f, g, h, ss1, ss2; in sm3_transform() local
/lib/math/
A Dlcm.c8 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()
A Dgcd.c20 static unsigned long binary_gcd(unsigned long a, unsigned long b) in binary_gcd()
50 unsigned long gcd(unsigned long a, unsigned long b) in gcd()
A Dtest_mul_u64_u64_div_u64.c13 typedef struct { u64 a; u64 b; u64 c; u64 result; } test_params; member
73 u64 a = test_values[i].a; in test_init() local
/lib/
A Dlist_sort.c14 struct list_head *a, struct list_head *b) in merge()
50 struct list_head *a, struct list_head *b) in merge_final()
227 struct list_head *a = *tail, *b = a->prev; in list_sort() local
A Dsort.c56 static void swap_words_32(void *a, void *b, size_t n) in swap_words_32()
81 static void swap_words_64(void *a, void *b, size_t n) in swap_words_64()
109 static void swap_bytes(void *a, void *b, size_t n) in swap_bytes()
137 static void do_swap(void *a, void *b, size_t size, swap_r_func_t swap_func, const void *priv) in do_swap()
156 static int do_cmp(const void *a, const void *b, cmp_r_func_t cmp, const void *priv) in do_cmp()
198 size_t n = num * size, a = (num/2) * size; in __sort_r() local
A Dextable.c27 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()
A Dcmpdi2.c9 word_type notrace __cmpdi2(long long a, long long b) in __cmpdi2()
A Ducmpdi2.c8 word_type notrace __ucmpdi2(unsigned long long a, unsigned long long b) in __ucmpdi2()
A Dmemcat_p.c10 void **__memcat_p(void **a, void **b) in __memcat_p()
A Dtest_fpu_impl.c15 volatile double a, b, c, d, e, f, g; in test_fpu() local
A Dbch.c328 static inline unsigned int gf_mul(struct bch_control *bch, unsigned int a, in gf_mul()
335 static inline unsigned int gf_sqr(struct bch_control *bch, unsigned int a) in gf_sqr()
340 static inline unsigned int gf_div(struct bch_control *bch, unsigned int a, in gf_div()
347 static inline unsigned int gf_inv(struct bch_control *bch, unsigned int a) in gf_inv()
538 static int find_affine4_roots(struct bch_control *bch, unsigned int a, in find_affine4_roots()
636 unsigned int a, b, c, a2, b2, c2, e3, tmp[4]; in find_poly_deg3_roots() local
669 unsigned int a, b, c, d, e = 0, f, a2, b2, c2, e4; in find_poly_deg4_roots() local
730 const struct gf_poly *a, int *rep) in gf_poly_logrep()
742 static void gf_poly_mod(struct bch_control *bch, struct gf_poly *a, in gf_poly_mod()
778 static void gf_poly_div(struct bch_control *bch, struct gf_poly *a, in gf_poly_div()
[all …]
A Dglob.c75 unsigned char a = *class++; in glob_match() local
/lib/raid6/
A Dmktables.c21 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/powerpc/
A Dsha1-spe-asm.S106 #define R_00_15(a, b, c, d, e, w0, w1, k, off) \ argument
130 #define R_16_19(a, b, c, d, e, w0, w1, w4, w6, w7, k) \ argument
156 #define R_20_39(a, b, c, d, e, w0, w1, w4, w6, w7, k) \ argument
180 #define R_40_59(a, b, c, d, e, w0, w1, w4, w6, w7, k) \ argument
208 #define R_60_79(a, b, c, d, e, w0, w1, w4, w6, w7, k) \ argument
/lib/crc/riscv/
A Dcrc-clmul-template.h21 static inline unsigned long clmul(unsigned long a, unsigned long b) in clmul()
33 static inline unsigned long clmulh(unsigned long a, unsigned long b) in clmulh()
45 static inline unsigned long clmulr(unsigned long a, unsigned long b) in clmulr()

Completed in 26 milliseconds

123