Home
last modified time | relevance | path

Searched refs:NLIMBS (Results 1 – 7 of 7) sorted by relevance

/openssl/crypto/ec/curve448/arch_32/
H A Df_impl.h27 for (i = 0; i < NLIMBS; i++) in gf_add_RAW()
35 for (i = 0; i < NLIMBS; i++) in gf_sub_RAW()
44 for (i = 0; i < NLIMBS; i++) in gf_bias()
45 a->limb[i] += (i == NLIMBS / 2) ? co2 : co1; in gf_bias()
51 uint32_t tmp = a->limb[NLIMBS - 1] >> 28; in gf_weak_reduce()
54 a->limb[NLIMBS / 2] += tmp; in gf_weak_reduce()
55 for (i = NLIMBS - 1; i > 0; i--) in gf_weak_reduce()
/openssl/crypto/ec/curve448/arch_64/
H A Df_impl.h25 for (i = 0; i < NLIMBS; i++) in gf_add_RAW()
36 for (i = 0; i < NLIMBS; i++) in gf_sub_RAW()
37 out->limb[i] = a->limb[i] - b->limb[i] + ((i == NLIMBS / 2) ? co2 : co1); in gf_sub_RAW()
49 uint64_t tmp = a->limb[NLIMBS - 1] >> 56; in gf_weak_reduce()
52 a->limb[NLIMBS / 2] += tmp; in gf_weak_reduce()
53 for (i = NLIMBS - 1; i > 0; i--) in gf_weak_reduce()
/openssl/crypto/ec/curve448/
H A Df_generic.c34 if (fill < 8 && j < NLIMBS) { in gf_serialize()
76 for (i = 0; i < NLIMBS; i++) { in gf_deserialize()
88 ((i < NLIMBS - 1) ? buffer & LIMB_MASK(LIMBPERM(i)) : buffer); in gf_deserialize()
114 for (i = 0; i < NLIMBS; i++) { in gf_strong_reduce()
130 for (i = 0; i < NLIMBS; i++) { in gf_strong_reduce()
166 for (i = 0; i < NLIMBS; i++) in gf_eq()
H A Dfield.h21 # define NLIMBS (64/sizeof(word_t)) macro
36 word_t limb[NLIMBS];
137 for (i = 0; i < NLIMBS; i++) { in gf_cond_sel()
163 for (i = 0; i < NLIMBS; i++) { in gf_cond_swap()
/openssl/crypto/ec/
H A Decp_nistp384.c105 #define NLIMBS 7 macro
110 typedef limb felem[NLIMBS];
111 typedef widelimb widefelem[2*NLIMBS-1];
189 for (i = 0; i < NLIMBS; i++) in felem_sum64()
198 for (i = 0; i < NLIMBS; i++) in felem_scalar()
207 for (i = 0; i < NLIMBS; i++) in felem_scalar64()
216 for (i = 0; i < 2*NLIMBS-1; i++) in felem_scalar128()
324 for (i = 0; i < NLIMBS; i++) in felem_diff_128_64()
369 for (i = 0; i < 2*NLIMBS-1; i++) in felem_diff128()
672 for (i = 0; i < NLIMBS; i++) in felem_reduce()
[all …]
H A Decp_nistp256.c113 #define NLIMBS 4 macro
116 typedef limb felem[NLIMBS];
117 typedef limb longfelem[NLIMBS * 2];
118 typedef u64 smallfelem[NLIMBS];
1209 for (i = 0; i < NLIMBS; ++i) { in copy_conditional()
1220 for (i = 0; i < NLIMBS; ++i) { in copy_small_conditional()
1654 for (j = 0; j < NLIMBS * 3; j++) in select_point()
H A Decp_nistp521.c129 #define NLIMBS 9 macro
133 typedef limb felem[NLIMBS];
134 typedef uint128_t largefelem[NLIMBS];
1188 for (i = 0; i < NLIMBS; ++i) { in copy_conditional()
1561 for (j = 0; j < NLIMBS * 3; j++) in select_point()

Completed in 25 milliseconds