Lines Matching refs:BN_ULONG
65 void bn_mul_normal(BN_ULONG *r, BN_ULONG *a, int na, BN_ULONG *b, int nb) {
66 BN_ULONG *rr;
70 BN_ULONG *ltmp;
110 void bn_mul_low_normal(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n) {
146 static BN_ULONG bn_sub_part_words(BN_ULONG *r, const BN_ULONG *a,
147 const BN_ULONG *b, int cl, int dl) {
148 BN_ULONG c, t;
298 BN_ULONG bn_sub_part_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b,
316 static void bn_mul_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2,
317 int dna, int dnb, BN_ULONG *t) {
321 BN_ULONG ln, lo, *p;
335 memset(&r[2 * n2 + dna + dnb], 0, sizeof(BN_ULONG) * -(dna + dnb));
381 memset(&(t[n2]), 0, 8 * sizeof(BN_ULONG));
391 memset(&(t[n2]), 0, 16 * sizeof(BN_ULONG));
401 memset(&(t[n2]), 0, n2 * sizeof(BN_ULONG));
434 if (ln < (BN_ULONG)c1) {
448 static void bn_mul_part_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n,
449 int tna, int tnb, BN_ULONG *t) {
452 BN_ULONG ln, lo, *p;
496 memset(&(r[n2 + tna + tnb]), 0, sizeof(BN_ULONG) * (n2 - tna - tnb));
512 memset(&(r[n2 + i * 2]), 0, sizeof(BN_ULONG) * (n2 - i * 2));
516 memset(&(r[n2 + tna + tnb]), 0, sizeof(BN_ULONG) * (n2 - tna - tnb));
519 memset(&(r[n2]), 0, sizeof(BN_ULONG) * n2);
571 if (ln < (BN_ULONG)c1) {
626 j = BN_num_bits_word((BN_ULONG)al);
629 j = BN_num_bits_word((BN_ULONG)bl);
680 static void bn_sqr_normal(BN_ULONG *r, const BN_ULONG *a, int n, BN_ULONG *tmp) {
682 const BN_ULONG *ap;
683 BN_ULONG *rp;
724 static void bn_sqr_recursive(BN_ULONG *r, const BN_ULONG *a, int n2, BN_ULONG *t) {
727 BN_ULONG ln, lo, *p;
757 memset(&(t[n2]), 0, n2 * sizeof(BN_ULONG));
784 if (ln < (BN_ULONG)c1) {
795 int BN_mul_word(BIGNUM *bn, BN_ULONG w) {
796 BN_ULONG ll;
849 BN_ULONG t[BN_SQR_RECURSIVE_SIZE_NORMAL * 2];
854 j = BN_num_bits_word((BN_ULONG)al);