Searched refs:BN_BITS2 (Results 1 - 7 of 7) sorted by relevance

/openwrt/package/network/services/ead/src/tinysrp/
H A Dbn_shift.c70 if (bn_wexpand(r,a->top+(n/BN_BITS2)+1) == NULL) return(0);
71 nw=n/BN_BITS2;
72 lb=n%BN_BITS2;
73 rb=BN_BITS2-lb;
101 nw=n/BN_BITS2;
102 rb=n%BN_BITS2;
103 lb=BN_BITS2-rb;
H A Dbn_asm.c224 return((BN_ULONG)(((((BN_ULLONG)h)<<BN_BITS2)|l)/(BN_ULLONG)d));
239 assert((i == BN_BITS2) || (h > (BN_ULONG)1<<i));
241 i=BN_BITS2-i;
247 h=(h<<i)|(l>>(BN_BITS2-i));
309 ll>>=BN_BITS2; local
314 ll>>=BN_BITS2; local
319 ll>>=BN_BITS2; local
324 ll>>=BN_BITS2; local
H A Dbn.h102 #define BN_BITS2 64 macro
128 #define BN_BITS2 64 macro
151 #define BN_BITS2 32 macro
179 #define BN_BITS2 16 macro
202 #define BN_BITS2 8 macro
230 BN_ULONG *d; /* Pointer to an array of 'BN_BITS2' bit chunks. */
401 #define bn_expand(a,bits) ((((((bits+BN_BITS2-1))/BN_BITS2)) <= (a)->dmax)?\
402 (a):bn_expand2((a),(bits)/BN_BITS2+1))
H A Dbn_div.c134 * in reply to ((((BN_ULLONG)n0)<<BN_BITS2)|n1)/d0 (I fail to
190 norm_shift=BN_BITS2-((BN_num_bits(divisor))%BN_BITS2);
193 norm_shift+=BN_BITS2;
253 q=(BN_ULONG)(((((BN_ULLONG)n0)<<BN_BITS2)|n1)/d0);
269 if (t2 <= ((((BN_ULLONG)rem)<<BN_BITS2)|wnump[-2]))
H A Dbn_lcl.h226 #define Hw(t) (((BN_ULONG)((t)>>BN_BITS2))&BN_MASK2)
329 #define LHBITS(a) (((a)>>BN_BITS2)&BN_MASKl)
330 #define LL2HBITS(a) ((BN_ULLONG)((a)&BN_MASKl)<<BN_BITS2)
H A Dt_conf.c655 ret=(BN_ULLONG)(((ret<<(BN_ULLONG)BN_BITS2)|a->d[i])%
777 al=ri=mont->ri/BN_BITS2;
942 mont->ri=(BN_num_bits(mod)+(BN_BITS2-1))/BN_BITS2*BN_BITS2;
944 BN_set_bit(R,BN_BITS2); /* R */
955 BN_lshift(&Ri,&Ri,BN_BITS2); /* R*Ri */
1067 i=n/BN_BITS2;
1068 j=n%BN_BITS2;
H A Dbn_lib.c187 i=(a->top-1)*BN_BITS2;
438 * w>>=BN_BITS2 so compilers don't complain
572 i=n/BN_BITS2;
573 j=n%BN_BITS2;

Completed in 36 milliseconds