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

12

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/openssl/crypto/bn/
H A Dbn_shift.c131 nw=n/BN_BITS2;
133 lb=n%BN_BITS2;
134 rb=BN_BITS2-lb;
162 nw=n/BN_BITS2;
163 rb=n%BN_BITS2;
164 lb=BN_BITS2-rb;
H A Dexptest.c108 c=(c%BN_BITS)-BN_BITS2;
112 c=(c%BN_BITS)-BN_BITS2;
116 c=(c%BN_BITS)-BN_BITS2;
H A Dbn_mont.c118 al=ri=mont->ri/BN_BITS2;
284 mont->ri=(BN_num_bits(mod)+(BN_BITS2-1))/BN_BITS2*BN_BITS2;
286 if (!(BN_set_bit(R,BN_BITS2))) goto err; /* R */
297 if (!BN_lshift(&Ri,&Ri,BN_BITS2)) goto err; /* R*Ri */
H A Dbn_lib.c255 i=(a->top-1)*BN_BITS2;
316 if (words > (INT_MAX/(4*BN_BITS2)))
588 * w>>=BN_BITS2 so compilers don't complain
721 i=n/BN_BITS2;
722 j=n%BN_BITS2;
739 i=n/BN_BITS2;
740 j=n%BN_BITS2;
753 i=n/BN_BITS2;
754 j=n%BN_BITS2;
763 w=n/BN_BITS2;
[all...]
H A Dbn_div.c137 * in reply to ((((BN_ULLONG)n0)<<BN_BITS2)|n1)/d0 (I fail to
216 norm_shift=BN_BITS2-((BN_num_bits(divisor))%BN_BITS2);
219 norm_shift+=BN_BITS2;
282 q=(BN_ULONG)(((((BN_ULLONG)n0)<<BN_BITS2)|n1)/d0);
303 if (t2 <= ((((BN_ULLONG)rem)<<BN_BITS2)|wnump[-2]))
H A Dbn.h106 #define BN_BITS2 64 macro
132 #define BN_BITS2 64 macro
155 #define BN_BITS2 32 macro
183 #define BN_BITS2 16 macro
206 #define BN_BITS2 8 macro
234 BN_ULONG *d; /* Pointer to an array of 'BN_BITS2' bit chunks. */
460 #define bn_expand(a,bits) ((((((bits+BN_BITS2-1))/BN_BITS2)) <= (a)->dmax)?\
461 (a):bn_expand2((a),(bits)/BN_BITS2+1))
H A Dbn_lcl.h255 #define Hw(t) (((BN_ULONG)((t)>>BN_BITS2))&BN_MASK2)
358 #define LHBITS(a) (((a)>>BN_BITS2)&BN_MASKl)
359 #define LL2HBITS(a) ((BN_ULLONG)((a)&BN_MASKl)<<BN_BITS2)
H A Dbn_print.c85 for (j=BN_BITS2-8; j >= 0; j-=8)
306 for (j=BN_BITS2-4; j >= 0; j-=4)
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/openssl-0.9.8e/crypto/bn/
H A Dbn_shift.c142 nw=n/BN_BITS2;
144 lb=n%BN_BITS2;
145 rb=BN_BITS2-lb;
177 nw=n/BN_BITS2;
178 rb=n%BN_BITS2;
179 lb=BN_BITS2-rb;
H A Dbn_nist.c62 #define BN_NIST_192_TOP (192+BN_BITS2-1)/BN_BITS2
63 #define BN_NIST_224_TOP (224+BN_BITS2-1)/BN_BITS2
64 #define BN_NIST_256_TOP (256+BN_BITS2-1)/BN_BITS2
65 #define BN_NIST_384_TOP (384+BN_BITS2-1)/BN_BITS2
66 #define BN_NIST_521_TOP (521+BN_BITS2-1)/BN_BITS2
[all...]
H A Dexptest.c109 c=(c%BN_BITS)-BN_BITS2;
113 c=(c%BN_BITS)-BN_BITS2;
117 c=(c%BN_BITS)-BN_BITS2;
H A Dbn_mont.c172 al=ri=mont->ri/BN_BITS2;
341 mont->ri=(BN_num_bits(mod)+(BN_BITS2-1))/BN_BITS2*BN_BITS2;
343 if (!(BN_set_bit(R,BN_BITS2))) goto err; /* R */
354 if (!BN_lshift(Ri,Ri,BN_BITS2)) goto err; /* R*Ri */
H A Dbn_lib.c254 return ((i*BN_BITS2) + BN_num_bits_word(a->d[i]));
326 if (words > (INT_MAX/(4*BN_BITS2)))
726 i=n/BN_BITS2;
727 j=n%BN_BITS2;
748 i=n/BN_BITS2;
749 j=n%BN_BITS2;
763 i=n/BN_BITS2;
764 j=n%BN_BITS2;
776 w=n/BN_BITS2;
777 b=n%BN_BITS2;
[all...]
H A Dbn_div.c137 * in reply to ((((BN_ULLONG)n0)<<BN_BITS2)|n1)/d0 (I fail to
217 norm_shift=BN_BITS2-((BN_num_bits(divisor))%BN_BITS2);
220 norm_shift+=BN_BITS2;
292 q=(BN_ULONG)(((((BN_ULLONG)n0)<<BN_BITS2)|n1)/d0);
313 if (t2 <= ((((BN_ULLONG)rem)<<BN_BITS2)|wnump[-2]))
H A Dbn_word.c83 ret=(BN_ULLONG)(((ret<<(BN_ULLONG)BN_BITS2)|a->d[i])%
105 j = BN_BITS2 - BN_num_bits_word(w);
H A Dbn_gf2m.c137 /* Product of two polynomials a, b each with degree < BN_BITS2 - 1,
265 /* Product of two polynomials a, b each with degree < 2 * BN_BITS2 - 1,
266 * result is a polynomial r with degree < 4 * BN_BITS2 - 1
353 dN = p[0] / BN_BITS2;
364 d0 = n % BN_BITS2; d1 = BN_BITS2 - d0;
365 n /= BN_BITS2;
372 d0 = p[0] % BN_BITS2;
373 d1 = BN_BITS2 - d0;
382 d0 = p[0] % BN_BITS2;
[all...]
H A Dbn.h128 #define BN_BITS2 64 macro
154 #define BN_BITS2 64 macro
179 #define BN_BITS2 32 macro
207 #define BN_BITS2 16 macro
230 #define BN_BITS2 8 macro
280 BN_ULONG *d; /* Pointer to an array of 'BN_BITS2' bit chunks. */
637 #define bn_expand(a,bits) ((((((bits+BN_BITS2-1))/BN_BITS2)) <= (a)->dmax)?\
638 (a):bn_expand2((a),(bits+BN_BITS2-1)/BN_BITS2))
[all...]
H A Dbn_print.c85 for (j=BN_BITS2-8; j >= 0; j-=8)
322 for (j=BN_BITS2-4; j >= 0; j-=4)
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/openssl/test/
H A Dexptest.c108 c=(c%BN_BITS)-BN_BITS2;
112 c=(c%BN_BITS)-BN_BITS2;
116 c=(c%BN_BITS)-BN_BITS2;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/openssl-0.9.8e/test/
H A Dexptest.c109 c=(c%BN_BITS)-BN_BITS2;
113 c=(c%BN_BITS)-BN_BITS2;
117 c=(c%BN_BITS)-BN_BITS2;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/openssl/crypto/engine/
H A Dhw_ubsec.c583 r->top = (BN_num_bits(m)+BN_BITS2-1)/BN_BITS2;
662 r->top = (BN_num_bits(p) + BN_num_bits(q) + BN_BITS2 - 1)/BN_BITS2;
747 if(!bn_wexpand(r, (160+BN_BITS2-1)/BN_BITS2) ||
748 (!bn_wexpand(s, (160+BN_BITS2-1)/BN_BITS2))) {
788 r->top = (160+BN_BITS2-1)/BN_BITS2;
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/openssl-0.9.8e/engines/
H A De_ubsec.c599 r->top = (BN_num_bits(m)+BN_BITS2-1)/BN_BITS2;
672 r->top = (BN_num_bits(p) + BN_num_bits(q) + BN_BITS2 - 1)/BN_BITS2;
757 if(!bn_wexpand(r, (160+BN_BITS2-1)/BN_BITS2) ||
758 (!bn_wexpand(s, (160+BN_BITS2-1)/BN_BITS2))) {
798 r->top = (160+BN_BITS2-1)/BN_BITS2;
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/openssl/include/openssl/
H A Dbn.h106 #define BN_BITS2 64 macro
132 #define BN_BITS2 64 macro
155 #define BN_BITS2 32 macro
183 #define BN_BITS2 16 macro
206 #define BN_BITS2 8 macro
234 BN_ULONG *d; /* Pointer to an array of 'BN_BITS2' bit chunks. */
460 #define bn_expand(a,bits) ((((((bits+BN_BITS2-1))/BN_BITS2)) <= (a)->dmax)?\
461 (a):bn_expand2((a),(bits)/BN_BITS2+1))
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/include/bcmcrypto/
H A Dbn.h131 #define BN_BITS2 64 macro
157 #define BN_BITS2 64 macro
180 #define BN_BITS2 32 macro
208 #define BN_BITS2 16 macro
231 #define BN_BITS2 8 macro
261 BN_ULONG *d; /* Pointer to an array of 'BN_BITS2' bit chunks. */
484 #define bn_expand(a, bits) ((((((bits + BN_BITS2 - 1)) / BN_BITS2)) <= \
485 (a)->dmax) ? (a) : bn_expand2((a), (bits) / BN_BITS2 + 1))
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/openssl-0.9.8e/include/openssl/
H A Dbn.h128 #define BN_BITS2 64 macro
154 #define BN_BITS2 64 macro
179 #define BN_BITS2 32 macro
207 #define BN_BITS2 16 macro
230 #define BN_BITS2 8 macro
280 BN_ULONG *d; /* Pointer to an array of 'BN_BITS2' bit chunks. */
637 #define bn_expand(a,bits) ((((((bits+BN_BITS2-1))/BN_BITS2)) <= (a)->dmax)?\
638 (a):bn_expand2((a),(bits+BN_BITS2-1)/BN_BITS2))
[all...]

Completed in 208 milliseconds

12