• Home
  • Raw
  • Download

Lines Matching refs:BN_ULONG

100     BN_ULONG high, low, ret, tmp = (a); \
113 BN_ULONG high, low, ret, ta = (a); \
123 BN_ULONG tmp = (a); \
143 BN_ULONG m, m1, lt, ht; \
153 ht += L2HBITS((BN_ULONG)1); \
165 BN_ULONG l, h, m; \
184 BN_ULONG l, h; \
205 BN_ULONG l, h; \
223 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, in bn_mul_add_words()
224 BN_ULONG w) { in bn_mul_add_words()
225 BN_ULONG c1 = 0; in bn_mul_add_words()
252 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w) { in bn_mul_words()
253 BN_ULONG c1 = 0; in bn_mul_words()
278 void bn_sqr_words(BN_ULONG *r, const BN_ULONG *a, int n) { in bn_sqr_words()
303 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, in bn_mul_add_words()
304 BN_ULONG w) { in bn_mul_add_words()
305 BN_ULONG c = 0; in bn_mul_add_words()
306 BN_ULONG bl, bh; in bn_mul_add_words()
310 return (BN_ULONG)0; in bn_mul_add_words()
334 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w) { in bn_mul_words()
335 BN_ULONG carry = 0; in bn_mul_words()
336 BN_ULONG bl, bh; in bn_mul_words()
340 return (BN_ULONG)0; in bn_mul_words()
364 void bn_sqr_words(BN_ULONG *r, const BN_ULONG *a, int n) { in bn_sqr_words()
391 BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d) { in bn_div_words()
392 return (BN_ULONG)(((((BN_ULLONG)h) << BN_BITS2) | l) / (BN_ULLONG)d); in bn_div_words()
398 BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d) { in bn_div_words()
399 BN_ULONG dh, dl, q, ret = 0, th, tl, t; in bn_div_words()
407 assert((i == BN_BITS2) || (h <= (BN_ULONG)1 << i)); in bn_div_words()
470 BN_ULONG bn_add_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, in bn_add_words()
476 return (BN_ULONG)0; in bn_add_words()
481 r[0] = (BN_ULONG)ll & BN_MASK2; in bn_add_words()
484 r[1] = (BN_ULONG)ll & BN_MASK2; in bn_add_words()
487 r[2] = (BN_ULONG)ll & BN_MASK2; in bn_add_words()
490 r[3] = (BN_ULONG)ll & BN_MASK2; in bn_add_words()
499 r[0] = (BN_ULONG)ll & BN_MASK2; in bn_add_words()
506 return (BN_ULONG)ll; in bn_add_words()
511 BN_ULONG bn_add_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, in bn_add_words()
513 BN_ULONG c, l, t; in bn_add_words()
517 return (BN_ULONG)0; in bn_add_words()
563 return (BN_ULONG)c; in bn_add_words()
568 BN_ULONG bn_sub_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, in bn_sub_words()
570 BN_ULONG t1, t2; in bn_sub_words()
575 return (BN_ULONG)0; in bn_sub_words()
634 BN_ULONG hi; \
637 c0 = (BN_ULONG)Lw(t); \
638 hi = (BN_ULONG)Hw(t); \
646 BN_ULONG hi; \
649 c0 = (BN_ULONG)Lw(tt); \
650 hi = (BN_ULONG)Hw(tt); \
655 c0 = (BN_ULONG)Lw(t); \
656 hi = (BN_ULONG)Hw(t); \
664 BN_ULONG hi; \
667 c0 = (BN_ULONG)Lw(t); \
668 hi = (BN_ULONG)Hw(t); \
682 BN_ULONG ta = (a), tb = (b); \
683 BN_ULONG lo, hi; \
693 BN_ULONG ta = (a), tb = (b); \
694 BN_ULONG lo, hi, tt; \
708 BN_ULONG ta = (a)[i]; \
709 BN_ULONG lo, hi; \
726 BN_ULONG lo = LBITS(a), hi = HBITS(a); \
727 BN_ULONG bl = LBITS(b), bh = HBITS(b); \
739 BN_ULONG tt; \
740 BN_ULONG lo = LBITS(a), hi = HBITS(a); \
741 BN_ULONG bl = LBITS(b), bh = HBITS(b); \
760 BN_ULONG lo, hi; \
773 void bn_mul_comba8(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b) { in bn_mul_comba8()
774 BN_ULONG c1, c2, c3; in bn_mul_comba8()
875 void bn_mul_comba4(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b) { in bn_mul_comba4()
876 BN_ULONG c1, c2, c3; in bn_mul_comba4()
913 void bn_sqr_comba8(BN_ULONG *r, const BN_ULONG *a) { in bn_sqr_comba8()
914 BN_ULONG c1, c2, c3; in bn_sqr_comba8()
987 void bn_sqr_comba4(BN_ULONG *r, const BN_ULONG *a) { in bn_sqr_comba4()
988 BN_ULONG c1, c2, c3; in bn_sqr_comba4()