Lines Matching refs:ap
17 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, in bn_mul_add_words() argument
28 mul_add(rp[0], ap[0], w, c1); in bn_mul_add_words()
29 mul_add(rp[1], ap[1], w, c1); in bn_mul_add_words()
30 mul_add(rp[2], ap[2], w, c1); in bn_mul_add_words()
31 mul_add(rp[3], ap[3], w, c1); in bn_mul_add_words()
32 ap += 4; in bn_mul_add_words()
38 mul_add(rp[0], ap[0], w, c1); in bn_mul_add_words()
39 ap++; in bn_mul_add_words()
47 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w) in bn_mul_words() argument
57 mul(rp[0], ap[0], w, c1); in bn_mul_words()
58 mul(rp[1], ap[1], w, c1); in bn_mul_words()
59 mul(rp[2], ap[2], w, c1); in bn_mul_words()
60 mul(rp[3], ap[3], w, c1); in bn_mul_words()
61 ap += 4; in bn_mul_words()
67 mul(rp[0], ap[0], w, c1); in bn_mul_words()
68 ap++; in bn_mul_words()
103 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, in bn_mul_add_words() argument
118 mul_add(rp[0], ap[0], bl, bh, c); in bn_mul_add_words()
119 mul_add(rp[1], ap[1], bl, bh, c); in bn_mul_add_words()
120 mul_add(rp[2], ap[2], bl, bh, c); in bn_mul_add_words()
121 mul_add(rp[3], ap[3], bl, bh, c); in bn_mul_add_words()
122 ap += 4; in bn_mul_add_words()
128 mul_add(rp[0], ap[0], bl, bh, c); in bn_mul_add_words()
129 ap++; in bn_mul_add_words()
136 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w) in bn_mul_words() argument
150 mul(rp[0], ap[0], bl, bh, carry); in bn_mul_words()
151 mul(rp[1], ap[1], bl, bh, carry); in bn_mul_words()
152 mul(rp[2], ap[2], bl, bh, carry); in bn_mul_words()
153 mul(rp[3], ap[3], bl, bh, carry); in bn_mul_words()
154 ap += 4; in bn_mul_words()
160 mul(rp[0], ap[0], bl, bh, carry); in bn_mul_words()
161 ap++; in bn_mul_words()
852 int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, in bn_mul_mont() argument
864 if (ap == bp) in bn_mul_mont()
865 return bn_sqr_mont(rp, ap, np, n0p, num); in bn_mul_mont()
877 mul(tp[j], ap[j], ml, mh, c0); in bn_mul_mont()
880 mul(tp[j], ap[j], ml, c0); in bn_mul_mont()
894 mul_add(tp[j], ap[j], ml, mh, c0); in bn_mul_mont()
897 mul_add(tp[j], ap[j], ml, c0); in bn_mul_mont()
947 int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, in bn_mul_mont() argument
993 int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, in bn_mul_mont() argument
1006 c0 = bn_mul_add_words(tp, ap, num, bp[i]); in bn_mul_mont()
1034 int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, in bn_mul_mont() argument