Home
last modified time | relevance | path

Searched refs:BN_BITS4 (Results 1 – 3 of 3) sorted by relevance

/external/boringssl/src/crypto/bn/
Dinternal.h152 #define BN_BITS4 32 macro
167 #define BN_BITS4 16 macro
229 #define HBITS(a) (((a) >> BN_BITS4) & BN_MASK2l)
230 #define L2HBITS(a) (((a) << BN_BITS4) & BN_MASK2)
Dgeneric.c134 #define HBITS(a) (((a) >> BN_BITS4) & BN_MASK2l)
135 #define L2HBITS(a) (((a) << BN_BITS4) & BN_MASK2)
173 h += (m & BN_MASK2h1) >> (BN_BITS4 - 1); \
174 m = (m & BN_MASK2l) << (BN_BITS4 + 1); \
419 dh = (d & BN_MASK2h) >> BN_BITS4; in bn_div_words()
422 if ((h >> BN_BITS4) == dh) { in bn_div_words()
433 ((tl) <= ((t << BN_BITS4) | ((l & BN_MASK2h) >> BN_BITS4)))) { in bn_div_words()
440 t = (tl >> BN_BITS4); in bn_div_words()
441 tl = (tl << BN_BITS4) & BN_MASK2h; in bn_div_words()
458 ret = q << BN_BITS4; in bn_div_words()
[all …]
Ddiv.c618 ret = ((ret << BN_BITS4) | ((a->d[i] >> BN_BITS4) & BN_MASK2l)) % w; in BN_mod_word()
619 ret = ((ret << BN_BITS4) | (a->d[i] & BN_MASK2l)) % w; in BN_mod_word()