Home
last modified time | relevance | path

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

/third_party/openssl/crypto/bn/
Dbn_word.c30 if (w > ((BN_ULONG)1 << BN_BITS4)) { in BN_mod_word()
51 ret = ((ret << BN_BITS4) | ((a->d[i] >> BN_BITS4) & BN_MASK2l)) % w; in BN_mod_word()
52 ret = ((ret << BN_BITS4) | (a->d[i] & BN_MASK2l)) % w; in BN_mod_word()
Dbn_local.h66 # define BN_BITS4 32 macro
83 # define BN_BITS4 32 macro
102 # define BN_BITS4 16 macro
569 # define HBITS(a) (((a)>>BN_BITS4)&BN_MASK2l)
570 # define L2HBITS(a) (((a)<<BN_BITS4)&BN_MASK2)
604 h+=(m&BN_MASK2h1)>>(BN_BITS4-1); \
605 m =(m&BN_MASK2l)<<(BN_BITS4+1); \
Dbn_asm.c227 dh = (d & BN_MASK2h) >> BN_BITS4; in bn_div_words()
230 if ((h >> BN_BITS4) == dh) in bn_div_words()
240 ((tl) <= ((t << BN_BITS4) | ((l & BN_MASK2h) >> BN_BITS4)))) in bn_div_words()
246 t = (tl >> BN_BITS4); in bn_div_words()
247 tl = (tl << BN_BITS4) & BN_MASK2h; in bn_div_words()
262 ret = q << BN_BITS4; in bn_div_words()
263 h = ((h << BN_BITS4) | (l >> BN_BITS4)) & BN_MASK2; in bn_div_words()
264 l = (l & BN_MASK2l) << BN_BITS4; in bn_div_words()