Home
last modified time | relevance | path

Searched refs:BN_ULLONG (Results 1 – 4 of 4) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/bn/
Dmontgomery_inv.c119 #if BN_BITS2 == 64 && defined(BN_ULLONG) in bn_neg_inv_mod_r_u64()
120 assert((BN_ULLONG)(1) << (LG_LITTLE_R - i) == in bn_neg_inv_mod_r_u64()
121 ((BN_ULLONG)u * 2 * alpha) - ((BN_ULLONG)v * beta)); in bn_neg_inv_mod_r_u64()
156 #if BN_BITS2 == 64 && defined(BN_ULLONG) in bn_neg_inv_mod_r_u64()
157 assert(1 == ((BN_ULLONG)u * 2 * alpha) - ((BN_ULLONG)v * beta)); in bn_neg_inv_mod_r_u64()
Dgeneric.c70 #ifdef BN_ULLONG
73 BN_ULLONG t; \
74 t = (BN_ULLONG)(w) * (a) + (r) + (c); \
81 BN_ULLONG t; \
82 t = (BN_ULLONG)(w) * (a) + (c); \
89 BN_ULLONG t; \
90 t = (BN_ULLONG)(a) * (a); \
204 #ifdef BN_ULLONG
207 BN_ULLONG ll = 0; in bn_add_words()
214 ll += (BN_ULLONG)a[0] + b[0]; in bn_add_words()
[all …]
Ddiv.c170 BN_ULLONG n = (((BN_ULLONG)n0) << BN_BITS2) | n1; in bn_div_rem_words()
324 #ifdef BN_ULLONG in BN_div()
325 BN_ULLONG t2 = (BN_ULLONG)d1 * q; in BN_div()
327 if (t2 <= ((((BN_ULLONG)rm) << BN_BITS2) | wnump[-2])) { in BN_div()
776 BN_ULLONG ret = 0; in BN_mod_word()
803 ret = (BN_ULLONG)(((ret << (BN_ULLONG)BN_BITS2) | a->d[i]) % (BN_ULLONG)w); in BN_mod_word()
Dinternal.h145 #define BN_ULLONG uint128_t in OPENSSL_MSVC_PRAGMA() macro
165 #define BN_ULLONG uint64_t in OPENSSL_MSVC_PRAGMA()
209 #if defined(BN_ULLONG) in OPENSSL_MSVC_PRAGMA()
411 #if !defined(BN_ULLONG) && !defined(BN_UMULT_LOHI) in OPENSSL_MSVC_PRAGMA()