/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/ |
D | internal.h | 161 #define TOBN(hi, lo) ((BN_ULONG)(hi) << 32 | (lo)) in OPENSSL_MSVC_PRAGMA() 201 (((320u * 3u) + (32u * 9u * 16u)) / sizeof(BN_ULONG)) in OPENSSL_MSVC_PRAGMA() 205 (BN_ULONG *)(x), sizeof(x) / sizeof(BN_ULONG), \ in OPENSSL_MSVC_PRAGMA() 206 sizeof(x) / sizeof(BN_ULONG), 0, BN_FLG_STATIC_DATA \ in OPENSSL_MSVC_PRAGMA() 210 #define Lw(t) ((BN_ULONG)(t)) in OPENSSL_MSVC_PRAGMA() 211 #define Hw(t) ((BN_ULONG)((t) >> BN_BITS2)) in OPENSSL_MSVC_PRAGMA() 237 void bn_select_words(BN_ULONG *r, BN_ULONG mask, const BN_ULONG *a, in OPENSSL_MSVC_PRAGMA() 238 const BN_ULONG *b, size_t num); in OPENSSL_MSVC_PRAGMA() 242 int bn_set_words(BIGNUM *bn, const BN_ULONG *words, size_t num); in OPENSSL_MSVC_PRAGMA() 250 int bn_copy_words(BN_ULONG *out, size_t num, const BIGNUM *bn); in OPENSSL_MSVC_PRAGMA() [all …]
|
D | rsaz_exp.h | 37 void RSAZ_1024_mod_exp_avx2(BN_ULONG result[16], const BN_ULONG base_norm[16], 38 const BN_ULONG exponent[16], 39 const BN_ULONG m_norm[16], const BN_ULONG RR[16], 40 BN_ULONG k0, 41 BN_ULONG storage_words[MOD_EXP_CTIME_STORAGE_LEN]); 68 void rsaz_1024_norm2red_avx2(BN_ULONG red[40], const BN_ULONG norm[16]); 73 void rsaz_1024_mul_avx2(BN_ULONG ret[40], const BN_ULONG a[40], 74 const BN_ULONG b[40], const BN_ULONG n[40], BN_ULONG k); 79 void rsaz_1024_sqr_avx2(BN_ULONG ret[40], const BN_ULONG a[40], 80 const BN_ULONG n[40], BN_ULONG k, int count); [all …]
|
D | mul.c | 75 static void bn_abs_sub_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, in bn_abs_sub_words() 76 size_t num, BN_ULONG *tmp) { in bn_abs_sub_words() 77 BN_ULONG borrow = bn_sub_words(tmp, a, b, num); in bn_abs_sub_words() 82 static void bn_mul_normal(BN_ULONG *r, const BN_ULONG *a, size_t na, in bn_mul_normal() 83 const BN_ULONG *b, size_t nb) { in bn_mul_normal() 88 const BN_ULONG *ltmp = a; in bn_mul_normal() 92 BN_ULONG *rr = &(r[na]); in bn_mul_normal() 94 OPENSSL_memset(r, 0, na * sizeof(BN_ULONG)); in bn_mul_normal() 130 static BN_ULONG bn_sub_part_words(BN_ULONG *r, const BN_ULONG *a, in bn_sub_part_words() 131 const BN_ULONG *b, int cl, int dl) { in bn_sub_part_words() [all …]
|
D | generic.c | 99 BN_ULONG high, low, ret, tmp = (a); \ 112 BN_ULONG high, low, ret, ta = (a); \ 122 BN_ULONG tmp = (a); \ 128 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, size_t num, in bn_mul_add_words() 129 BN_ULONG w) { in bn_mul_add_words() 130 BN_ULONG c1 = 0; in bn_mul_add_words() 156 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, size_t num, in bn_mul_words() 157 BN_ULONG w) { in bn_mul_words() 158 BN_ULONG c1 = 0; in bn_mul_words() 182 void bn_sqr_words(BN_ULONG *r, const BN_ULONG *a, size_t n) { in bn_sqr_words() [all …]
|
D | div.c | 70 static BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d) { in bn_div_words() 71 BN_ULONG dh, dl, q, ret = 0, th, tl, t; in bn_div_words() 79 assert((i == BN_BITS2) || (h <= (BN_ULONG)1 << i)); in bn_div_words() 140 static inline void bn_div_rem_words(BN_ULONG *quotient_out, BN_ULONG *rem_out, in bn_div_rem_words() 141 BN_ULONG n0, BN_ULONG n1, BN_ULONG d0) { in bn_div_rem_words() 171 *quotient_out = (BN_ULONG)(n / d0); in bn_div_rem_words() 199 BN_ULONG *resp, *wnump; in BN_div() 200 BN_ULONG d0, d1; in BN_div() 311 BN_ULONG q, l0; in BN_div() 314 BN_ULONG n0, n1, rm = 0; in BN_div() [all …]
|
D | random.c | 151 const BN_ULONG kOne = 1; in BN_rand() 152 const BN_ULONG kThree = 3; in BN_rand() 153 BN_ULONG mask = bit < BN_BITS2 - 1 ? (kOne << (bit + 1)) - 1 : BN_MASK2; in BN_rand() 158 RAND_bytes((uint8_t *)rnd->d, words * sizeof(BN_ULONG)); in BN_rand() 188 static crypto_word_t bn_less_than_word_mask(const BN_ULONG *a, size_t len, in bn_less_than_word_mask() 189 BN_ULONG b) { in bn_less_than_word_mask() 198 OPENSSL_STATIC_ASSERT(sizeof(BN_ULONG) <= sizeof(crypto_word_t), in bn_less_than_word_mask() 210 int bn_in_range_words(const BN_ULONG *a, BN_ULONG min_inclusive, in bn_in_range_words() 211 const BN_ULONG *max_exclusive, size_t len) { in bn_in_range_words() 216 static int bn_range_to_mask(size_t *out_words, BN_ULONG *out_mask, in bn_range_to_mask() [all …]
|
D | gcd_extra.c | 24 static BN_ULONG word_is_odd_mask(BN_ULONG a) { return (BN_ULONG)0 - (a & 1); } in word_is_odd_mask() 26 static void maybe_rshift1_words(BN_ULONG *a, BN_ULONG mask, BN_ULONG *tmp, in maybe_rshift1_words() 32 static void maybe_rshift1_words_carry(BN_ULONG *a, BN_ULONG carry, in maybe_rshift1_words_carry() 33 BN_ULONG mask, BN_ULONG *tmp, in maybe_rshift1_words_carry() 42 static BN_ULONG maybe_add_words(BN_ULONG *a, BN_ULONG mask, const BN_ULONG *b, in maybe_add_words() 43 BN_ULONG *tmp, size_t num) { in maybe_add_words() 44 BN_ULONG carry = bn_add_words(tmp, a, b, num); in maybe_add_words() 84 BN_ULONG both_odd = word_is_odd_mask(u->d[0]) & word_is_odd_mask(v->d[0]); in bn_gcd_consttime() 87 BN_ULONG u_less_than_v = in bn_gcd_consttime() 88 (BN_ULONG)0 - bn_sub_words(tmp->d, u->d, v->d, width); in bn_gcd_consttime() [all …]
|
D | bn.c | 172 static const BN_ULONG kOneLimbs[1] = { 1 }; in DEFINE_METHOD_FUNCTION() 173 out->d = (BN_ULONG*) kOneLimbs; in DEFINE_METHOD_FUNCTION() 182 unsigned BN_num_bits_word(BN_ULONG l) { in BN_num_bits_word() 186 BN_ULONG x, mask; in BN_num_bits_word() 256 int BN_set_word(BIGNUM *bn, BN_ULONG value) { in BN_set_word() 277 return BN_set_word(bn, (BN_ULONG)value); in BN_set_u64() 285 bn->d[0] = (BN_ULONG)value; in BN_set_u64() 286 bn->d[1] = (BN_ULONG)(value >> 32); in BN_set_u64() 294 int bn_set_words(BIGNUM *bn, const BN_ULONG *words, size_t num) { in bn_set_words() 298 OPENSSL_memmove(bn->d, words, num * sizeof(BN_ULONG)); in bn_set_words() [all …]
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | internal.h | 161 #define TOBN(hi, lo) ((BN_ULONG)(hi) << 32 | (lo)) in OPENSSL_MSVC_PRAGMA() 201 (((320u * 3u) + (32u * 9u * 16u)) / sizeof(BN_ULONG)) in OPENSSL_MSVC_PRAGMA() 205 (BN_ULONG *)(x), sizeof(x) / sizeof(BN_ULONG), \ in OPENSSL_MSVC_PRAGMA() 206 sizeof(x) / sizeof(BN_ULONG), 0, BN_FLG_STATIC_DATA \ in OPENSSL_MSVC_PRAGMA() 210 #define Lw(t) ((BN_ULONG)(t)) in OPENSSL_MSVC_PRAGMA() 211 #define Hw(t) ((BN_ULONG)((t) >> BN_BITS2)) in OPENSSL_MSVC_PRAGMA() 237 void bn_select_words(BN_ULONG *r, BN_ULONG mask, const BN_ULONG *a, in OPENSSL_MSVC_PRAGMA() 238 const BN_ULONG *b, size_t num); in OPENSSL_MSVC_PRAGMA() 242 int bn_set_words(BIGNUM *bn, const BN_ULONG *words, size_t num); in OPENSSL_MSVC_PRAGMA() 250 void bn_set_static_words(BIGNUM *bn, const BN_ULONG *words, size_t num); in OPENSSL_MSVC_PRAGMA() [all …]
|
D | rsaz_exp.h | 37 void RSAZ_1024_mod_exp_avx2(BN_ULONG result[16], const BN_ULONG base_norm[16], 38 const BN_ULONG exponent[16], 39 const BN_ULONG m_norm[16], const BN_ULONG RR[16], 40 BN_ULONG k0, 41 BN_ULONG storage_words[MOD_EXP_CTIME_STORAGE_LEN]); 68 void rsaz_1024_norm2red_avx2(BN_ULONG red[40], const BN_ULONG norm[16]); 73 void rsaz_1024_mul_avx2(BN_ULONG ret[40], const BN_ULONG a[40], 74 const BN_ULONG b[40], const BN_ULONG n[40], BN_ULONG k); 79 void rsaz_1024_sqr_avx2(BN_ULONG ret[40], const BN_ULONG a[40], 80 const BN_ULONG n[40], BN_ULONG k, int count); [all …]
|
D | mul.c | 75 static void bn_abs_sub_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, in bn_abs_sub_words() 76 size_t num, BN_ULONG *tmp) { in bn_abs_sub_words() 77 BN_ULONG borrow = bn_sub_words(tmp, a, b, num); in bn_abs_sub_words() 82 static void bn_mul_normal(BN_ULONG *r, const BN_ULONG *a, size_t na, in bn_mul_normal() 83 const BN_ULONG *b, size_t nb) { in bn_mul_normal() 88 const BN_ULONG *ltmp = a; in bn_mul_normal() 92 BN_ULONG *rr = &(r[na]); in bn_mul_normal() 94 OPENSSL_memset(r, 0, na * sizeof(BN_ULONG)); in bn_mul_normal() 130 static BN_ULONG bn_sub_part_words(BN_ULONG *r, const BN_ULONG *a, in bn_sub_part_words() 131 const BN_ULONG *b, int cl, int dl) { in bn_sub_part_words() [all …]
|
D | generic.c | 99 BN_ULONG high, low, ret, tmp = (a); \ 112 BN_ULONG high, low, ret, ta = (a); \ 122 BN_ULONG tmp = (a); \ 128 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, size_t num, in bn_mul_add_words() 129 BN_ULONG w) { in bn_mul_add_words() 130 BN_ULONG c1 = 0; in bn_mul_add_words() 156 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, size_t num, in bn_mul_words() 157 BN_ULONG w) { in bn_mul_words() 158 BN_ULONG c1 = 0; in bn_mul_words() 182 void bn_sqr_words(BN_ULONG *r, const BN_ULONG *a, size_t n) { in bn_sqr_words() [all …]
|
D | div.c | 69 OPENSSL_UNUSED static BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, in bn_div_words() 70 BN_ULONG d) { in bn_div_words() 71 BN_ULONG dh, dl, q, ret = 0, th, tl, t; in bn_div_words() 79 assert((i == BN_BITS2) || (h <= (BN_ULONG)1 << i)); in bn_div_words() 139 static inline void bn_div_rem_words(BN_ULONG *quotient_out, BN_ULONG *rem_out, in bn_div_rem_words() 140 BN_ULONG n0, BN_ULONG n1, BN_ULONG d0) { in bn_div_rem_words() 170 *quotient_out = (BN_ULONG)(n / d0); in bn_div_rem_words() 198 BN_ULONG *resp, *wnump; in BN_div() 199 BN_ULONG d0, d1; in BN_div() 310 BN_ULONG q, l0; in BN_div() [all …]
|
D | random.c | 151 const BN_ULONG kOne = 1; in BN_rand() 152 const BN_ULONG kThree = 3; in BN_rand() 153 BN_ULONG mask = bit < BN_BITS2 - 1 ? (kOne << (bit + 1)) - 1 : BN_MASK2; in BN_rand() 158 RAND_bytes((uint8_t *)rnd->d, words * sizeof(BN_ULONG)); in BN_rand() 188 static crypto_word_t bn_less_than_word_mask(const BN_ULONG *a, size_t len, in bn_less_than_word_mask() 189 BN_ULONG b) { in bn_less_than_word_mask() 198 OPENSSL_STATIC_ASSERT(sizeof(BN_ULONG) <= sizeof(crypto_word_t), in bn_less_than_word_mask() 210 int bn_in_range_words(const BN_ULONG *a, BN_ULONG min_inclusive, in bn_in_range_words() 211 const BN_ULONG *max_exclusive, size_t len) { in bn_in_range_words() 216 static int bn_range_to_mask(size_t *out_words, BN_ULONG *out_mask, in bn_range_to_mask() [all …]
|
D | gcd_extra.c | 24 static BN_ULONG word_is_odd_mask(BN_ULONG a) { return (BN_ULONG)0 - (a & 1); } in word_is_odd_mask() 26 static void maybe_rshift1_words(BN_ULONG *a, BN_ULONG mask, BN_ULONG *tmp, in maybe_rshift1_words() 32 static void maybe_rshift1_words_carry(BN_ULONG *a, BN_ULONG carry, in maybe_rshift1_words_carry() 33 BN_ULONG mask, BN_ULONG *tmp, in maybe_rshift1_words_carry() 42 static BN_ULONG maybe_add_words(BN_ULONG *a, BN_ULONG mask, const BN_ULONG *b, in maybe_add_words() 43 BN_ULONG *tmp, size_t num) { in maybe_add_words() 44 BN_ULONG carry = bn_add_words(tmp, a, b, num); in maybe_add_words() 84 BN_ULONG both_odd = word_is_odd_mask(u->d[0]) & word_is_odd_mask(v->d[0]); in bn_gcd_consttime() 87 BN_ULONG u_less_than_v = in bn_gcd_consttime() 88 (BN_ULONG)0 - bn_sub_words(tmp->d, u->d, v->d, width); in bn_gcd_consttime() [all …]
|
D | bn.c | 153 static const BN_ULONG kOneLimbs[1] = { 1 }; in DEFINE_METHOD_FUNCTION() 154 out->d = (BN_ULONG*) kOneLimbs; in DEFINE_METHOD_FUNCTION() 163 unsigned BN_num_bits_word(BN_ULONG l) { in BN_num_bits_word() 167 BN_ULONG x, mask; in BN_num_bits_word() 237 int BN_set_word(BIGNUM *bn, BN_ULONG value) { in BN_set_word() 258 return BN_set_word(bn, (BN_ULONG)value); in BN_set_u64() 266 bn->d[0] = (BN_ULONG)value; in BN_set_u64() 267 bn->d[1] = (BN_ULONG)(value >> 32); in BN_set_u64() 275 int bn_set_words(BIGNUM *bn, const BN_ULONG *words, size_t num) { in bn_set_words() 279 OPENSSL_memmove(bn->d, words, num * sizeof(BN_ULONG)); in bn_set_words() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/ |
D | p256-x86_64.h | 47 void ecp_nistz256_neg(BN_ULONG res[P256_LIMBS], const BN_ULONG a[P256_LIMBS]); 50 void ecp_nistz256_mul_mont(BN_ULONG res[P256_LIMBS], 51 const BN_ULONG a[P256_LIMBS], 52 const BN_ULONG b[P256_LIMBS]); 55 void ecp_nistz256_sqr_mont(BN_ULONG res[P256_LIMBS], 56 const BN_ULONG a[P256_LIMBS]); 60 static inline void ecp_nistz256_from_mont(BN_ULONG res[P256_LIMBS], in ecp_nistz256_from_mont() 61 const BN_ULONG in[P256_LIMBS]) { in ecp_nistz256_from_mont() 62 static const BN_ULONG ONE[P256_LIMBS] = { 1 }; in ecp_nistz256_from_mont() 68 static inline void ecp_nistz256_to_mont(BN_ULONG res[P256_LIMBS], in ecp_nistz256_to_mont() [all …]
|
D | p256-x86_64.c | 43 static const BN_ULONG ONE[P256_LIMBS] = { 80 static void copy_conditional(BN_ULONG dst[P256_LIMBS], in copy_conditional() 81 const BN_ULONG src[P256_LIMBS], BN_ULONG move) { in copy_conditional() 82 BN_ULONG mask1 = ((BN_ULONG)0) - move; in copy_conditional() 83 BN_ULONG mask2 = ~mask1; in copy_conditional() 114 static BN_ULONG is_not_zero(BN_ULONG in) { in is_not_zero() 123 static void ecp_nistz256_mod_inverse_sqr_mont(BN_ULONG r[P256_LIMBS], in ecp_nistz256_mod_inverse_sqr_mont() 124 const BN_ULONG in[P256_LIMBS]) { in ecp_nistz256_mod_inverse_sqr_mont() 127 BN_ULONG x2[P256_LIMBS], x3[P256_LIMBS], x6[P256_LIMBS], x12[P256_LIMBS], in ecp_nistz256_mod_inverse_sqr_mont() 163 BN_ULONG ret[P256_LIMBS]; in ecp_nistz256_mod_inverse_sqr_mont() [all …]
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | p256-x86_64.h | 47 void ecp_nistz256_neg(BN_ULONG res[P256_LIMBS], const BN_ULONG a[P256_LIMBS]); 50 void ecp_nistz256_mul_mont(BN_ULONG res[P256_LIMBS], 51 const BN_ULONG a[P256_LIMBS], 52 const BN_ULONG b[P256_LIMBS]); 55 void ecp_nistz256_sqr_mont(BN_ULONG res[P256_LIMBS], 56 const BN_ULONG a[P256_LIMBS]); 60 static inline void ecp_nistz256_from_mont(BN_ULONG res[P256_LIMBS], in ecp_nistz256_from_mont() 61 const BN_ULONG in[P256_LIMBS]) { in ecp_nistz256_from_mont() 62 static const BN_ULONG ONE[P256_LIMBS] = { 1 }; in ecp_nistz256_from_mont() 68 static inline void ecp_nistz256_to_mont(BN_ULONG res[P256_LIMBS], in ecp_nistz256_to_mont() [all …]
|
D | p256-x86_64.c | 43 static const BN_ULONG ONE[P256_LIMBS] = { 80 static void copy_conditional(BN_ULONG dst[P256_LIMBS], in copy_conditional() 81 const BN_ULONG src[P256_LIMBS], BN_ULONG move) { in copy_conditional() 82 BN_ULONG mask1 = ((BN_ULONG)0) - move; in copy_conditional() 83 BN_ULONG mask2 = ~mask1; in copy_conditional() 114 static BN_ULONG is_not_zero(BN_ULONG in) { in is_not_zero() 123 static void ecp_nistz256_mod_inverse_sqr_mont(BN_ULONG r[P256_LIMBS], in ecp_nistz256_mod_inverse_sqr_mont() 124 const BN_ULONG in[P256_LIMBS]) { in ecp_nistz256_mod_inverse_sqr_mont() 127 BN_ULONG x2[P256_LIMBS], x3[P256_LIMBS], x6[P256_LIMBS], x12[P256_LIMBS], in ecp_nistz256_mod_inverse_sqr_mont() 163 BN_ULONG ret[P256_LIMBS]; in ecp_nistz256_mod_inverse_sqr_mont() [all …]
|
/external/rust/crates/ring/crypto/fipsmodule/bn/ |
D | internal.h | 137 typedef crypto_word BN_ULONG; typedef 149 #define TOBN(hi, lo) ((BN_ULONG)(hi) << 32 | (lo)) 183 void GFp_bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, 184 const BN_ULONG *np, const BN_ULONG *n0, size_t num); 186 static inline void bn_umult_lohi(BN_ULONG *low_out, BN_ULONG *high_out, in bn_umult_lohi() 187 BN_ULONG a, BN_ULONG b) { in bn_umult_lohi() 192 *low_out = (BN_ULONG)result; in bn_umult_lohi() 193 *high_out = (BN_ULONG)(result >> BN_BITS2); in bn_umult_lohi()
|
D | montgomery.c | 118 sizeof(BN_ULONG) * BN_MONT_CTX_N0_LIMBS == sizeof(uint64_t), 121 int GFp_bn_from_montgomery_in_place(BN_ULONG r[], size_t num_r, BN_ULONG a[], in GFp_bn_from_montgomery_in_place() 122 size_t num_a, const BN_ULONG n[], in GFp_bn_from_montgomery_in_place() 124 const BN_ULONG n0_[BN_MONT_CTX_N0_LIMBS]) { in GFp_bn_from_montgomery_in_place() 132 BN_ULONG n0 = n0_[0]; in GFp_bn_from_montgomery_in_place() 133 BN_ULONG carry = 0; in GFp_bn_from_montgomery_in_place() 135 BN_ULONG v = GFp_limbs_mul_add_limb(a + i, n, a[i] * n0, num_n); in GFp_bn_from_montgomery_in_place() 148 BN_ULONG v = limbs_sub(r, a, n, num_n) - carry; in GFp_bn_from_montgomery_in_place()
|
/external/rust/crates/ring/crypto/fipsmodule/ec/ |
D | ecp_nistz384.inl | 33 BN_ULONG S[P384_LIMBS]; 34 BN_ULONG M[P384_LIMBS]; 35 BN_ULONG Zsqr[P384_LIMBS]; 36 BN_ULONG tmp0[P384_LIMBS]; 38 const BN_ULONG *in_x = a->X; 39 const BN_ULONG *in_y = a->Y; 40 const BN_ULONG *in_z = a->Z; 42 BN_ULONG *res_x = r->X; 43 BN_ULONG *res_y = r->Y; 44 BN_ULONG *res_z = r->Z; [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/asm/ |
D | x86_64-gcc.c | 70 register BN_ULONG high, low; \ 85 register BN_ULONG high, low; \ 97 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, size_t num, in bn_mul_add_words() 98 BN_ULONG w) { in bn_mul_add_words() 99 BN_ULONG c1 = 0; in bn_mul_add_words() 130 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, size_t num, in bn_mul_words() 131 BN_ULONG w) { in bn_mul_words() 132 BN_ULONG c1 = 0; in bn_mul_words() 161 void bn_sqr_words(BN_ULONG *r, const BN_ULONG *a, size_t n) { in bn_sqr_words() 188 BN_ULONG bn_add_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, in bn_add_words() [all …]
|
/external/boringssl/src/crypto/fipsmodule/bn/asm/ |
D | x86_64-gcc.c | 70 register BN_ULONG high, low; \ 85 register BN_ULONG high, low; \ 97 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, size_t num, in bn_mul_add_words() 98 BN_ULONG w) { in bn_mul_add_words() 99 BN_ULONG c1 = 0; in bn_mul_add_words() 130 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, size_t num, in bn_mul_words() 131 BN_ULONG w) { in bn_mul_words() 132 BN_ULONG c1 = 0; in bn_mul_words() 161 void bn_sqr_words(BN_ULONG *r, const BN_ULONG *a, size_t n) { in bn_sqr_words() 188 BN_ULONG bn_add_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, in bn_add_words() [all …]
|