Lines Matching refs:BN_ULONG
190 BN_ULONG *_not_const; \
235 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num,
236 BN_ULONG w);
237 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w);
238 void bn_sqr_words(BN_ULONG *rp, const BN_ULONG *ap, int num);
239 BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d);
240 BN_ULONG bn_add_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
242 BN_ULONG bn_sub_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
246 BN_ULONG *d; /* Pointer to an array of 'BN_BITS2' bit
263 BN_ULONG n0[2]; /* least significant word(s) of Ni; (type
264 * changed with 0.9.9, was "BN_ULONG n0;"
393 # define BN_UMULT_HIGH(a,b) (BN_ULONG)asm("umulh %a0,%a1,%v0",(a),(b))
396 register BN_ULONG ret; \
405 register BN_ULONG ret; \
415 register BN_ULONG ret,discard; \
439 register BN_ULONG ret; \
452 register BN_ULONG ret; \
465 BN_ULONG *ftl = &(a)->d[(a)->top-1]; \
475 * Using the long long type, has to be twice as wide as BN_ULONG...
477 # define Lw(t) (((BN_ULONG)(t))&BN_MASK2)
478 # define Hw(t) (((BN_ULONG)((t)>>BN_BITS2))&BN_MASK2)
503 BN_ULONG high,low,ret,tmp=(a); \
515 BN_ULONG high,low,ret,ta=(a); \
524 BN_ULONG tmp=(a); \
530 BN_ULONG high,low,ret,tmp=(a); \
543 BN_ULONG high,low,ret,ta=(a); \
553 BN_ULONG tmp=(a); \
573 BN_ULONG m,m1,lt,ht; \
581 m=(m+m1)&BN_MASK2; ht += L2HBITS((BN_ULONG)(m < m1)); \
591 BN_ULONG l,h,m; \
607 BN_ULONG l,h; \
623 BN_ULONG l,h; \
641 void bn_mul_normal(BN_ULONG *r, BN_ULONG *a, int na, BN_ULONG *b, int nb);
642 void bn_mul_comba8(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b);
643 void bn_mul_comba4(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b);
644 void bn_sqr_normal(BN_ULONG *r, const BN_ULONG *a, int n, BN_ULONG *tmp);
645 void bn_sqr_comba8(BN_ULONG *r, const BN_ULONG *a);
646 void bn_sqr_comba4(BN_ULONG *r, const BN_ULONG *a);
647 int bn_cmp_words(const BN_ULONG *a, const BN_ULONG *b, int n);
648 int bn_cmp_part_words(const BN_ULONG *a, const BN_ULONG *b, int cl, int dl);
649 void bn_mul_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2,
650 int dna, int dnb, BN_ULONG *t);
651 void bn_mul_part_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b,
652 int n, int tna, int tnb, BN_ULONG *t);
653 void bn_sqr_recursive(BN_ULONG *r, const BN_ULONG *a, int n2, BN_ULONG *t);
654 void bn_mul_low_normal(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n);
655 void bn_mul_low_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2,
656 BN_ULONG *t);
657 BN_ULONG bn_sub_part_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b,
659 int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
660 const BN_ULONG *np, const BN_ULONG *n0, int num);