Symbol: BN_ULONG
crypto/libressl/crypto/bn/bn_add.c
101
const BN_ULONG *ap, *bp;
crypto/libressl/crypto/bn/bn_add.c
102
BN_ULONG *rp, carry, t1, t2;
crypto/libressl/crypto/bn/bn_add.c
150
const BN_ULONG *ap, *bp;
crypto/libressl/crypto/bn/bn_add.c
151
BN_ULONG t1, t2, borrow, *rp;
crypto/libressl/crypto/bn/bn_asm.c
1001
int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np, const BN_ULONG *n0, int num)
crypto/libressl/crypto/bn/bn_asm.c
1012
bn_sqr_comba4(BN_ULONG *r, const BN_ULONG *a)
crypto/libressl/crypto/bn/bn_asm.c
1014
BN_ULONG t[8];
crypto/libressl/crypto/bn/bn_asm.c
1020
bn_sqr_comba8(BN_ULONG *r, const BN_ULONG *a)
crypto/libressl/crypto/bn/bn_asm.c
1022
BN_ULONG t[16];
crypto/libressl/crypto/bn/bn_asm.c
1027
bn_mul_comba4(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b)
crypto/libressl/crypto/bn/bn_asm.c
103
BN_ULONG
crypto/libressl/crypto/bn/bn_asm.c
1036
bn_mul_comba8(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b)
crypto/libressl/crypto/bn/bn_asm.c
104
bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w)
crypto/libressl/crypto/bn/bn_asm.c
1051
bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
crypto/libressl/crypto/bn/bn_asm.c
1052
const BN_ULONG *np, const BN_ULONG *n0p, int num)
crypto/libressl/crypto/bn/bn_asm.c
1054
BN_ULONG c0, c1, *tp, n0 = *n0p;
crypto/libressl/crypto/bn/bn_asm.c
1057
tp = calloc(NULL, num + 2, sizeof(BN_ULONG));
crypto/libressl/crypto/bn/bn_asm.c
106
BN_ULONG c1 = 0;
crypto/libressl/crypto/bn/bn_asm.c
1081
memcpy(rp, tp, num * sizeof(BN_ULONG));
crypto/libressl/crypto/bn/bn_asm.c
1083
freezero(tp, (num + 2) * sizeof(BN_ULONG));
crypto/libressl/crypto/bn/bn_asm.c
1088
bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
crypto/libressl/crypto/bn/bn_asm.c
1089
const BN_ULONG *np, const BN_ULONG *n0, int num)
crypto/libressl/crypto/bn/bn_asm.c
133
bn_sqr_words(BN_ULONG *r, const BN_ULONG *a, int n)
crypto/libressl/crypto/bn/bn_asm.c
160
BN_ULONG
crypto/libressl/crypto/bn/bn_asm.c
161
bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w)
crypto/libressl/crypto/bn/bn_asm.c
163
BN_ULONG c = 0;
crypto/libressl/crypto/bn/bn_asm.c
164
BN_ULONG bl, bh;
crypto/libressl/crypto/bn/bn_asm.c
168
return ((BN_ULONG)0);
crypto/libressl/crypto/bn/bn_asm.c
193
BN_ULONG
crypto/libressl/crypto/bn/bn_asm.c
194
bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w)
crypto/libressl/crypto/bn/bn_asm.c
196
BN_ULONG carry = 0;
crypto/libressl/crypto/bn/bn_asm.c
197
BN_ULONG bl, bh;
crypto/libressl/crypto/bn/bn_asm.c
201
return ((BN_ULONG)0);
crypto/libressl/crypto/bn/bn_asm.c
227
bn_sqr_words(BN_ULONG *r, const BN_ULONG *a, int n)
crypto/libressl/crypto/bn/bn_asm.c
256
BN_ULONG
crypto/libressl/crypto/bn/bn_asm.c
257
bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d)
crypto/libressl/crypto/bn/bn_asm.c
259
return ((BN_ULONG)(((((BN_ULLONG)h) << BN_BITS2)|l)/(BN_ULLONG)d));
crypto/libressl/crypto/bn/bn_asm.c
266
BN_ULONG
crypto/libressl/crypto/bn/bn_asm.c
267
bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d)
crypto/libressl/crypto/bn/bn_asm.c
269
BN_ULONG dh, dl, q,ret = 0, th, tl, t;
crypto/libressl/crypto/bn/bn_asm.c
276
assert((i == BN_BITS2) || (h <= (BN_ULONG)1 << i));
crypto/libressl/crypto/bn/bn_asm.c
334
BN_ULONG
crypto/libressl/crypto/bn/bn_asm.c
335
bn_add_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, int n)
crypto/libressl/crypto/bn/bn_asm.c
341
return ((BN_ULONG)0);
crypto/libressl/crypto/bn/bn_asm.c
346
r[0] = (BN_ULONG)ll & BN_MASK2;
crypto/libressl/crypto/bn/bn_asm.c
349
r[1] = (BN_ULONG)ll & BN_MASK2;
crypto/libressl/crypto/bn/bn_asm.c
352
r[2] = (BN_ULONG)ll & BN_MASK2;
crypto/libressl/crypto/bn/bn_asm.c
355
r[3] = (BN_ULONG)ll & BN_MASK2;
crypto/libressl/crypto/bn/bn_asm.c
365
r[0] = (BN_ULONG)ll & BN_MASK2;
crypto/libressl/crypto/bn/bn_asm.c
372
return ((BN_ULONG)ll);
crypto/libressl/crypto/bn/bn_asm.c
375
BN_ULONG
crypto/libressl/crypto/bn/bn_asm.c
376
bn_add_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, int n)
crypto/libressl/crypto/bn/bn_asm.c
378
BN_ULONG c, l, t;
crypto/libressl/crypto/bn/bn_asm.c
382
return ((BN_ULONG)0);
crypto/libressl/crypto/bn/bn_asm.c
429
return ((BN_ULONG)c);
crypto/libressl/crypto/bn/bn_asm.c
433
BN_ULONG
crypto/libressl/crypto/bn/bn_asm.c
434
bn_sub_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, int n)
crypto/libressl/crypto/bn/bn_asm.c
436
BN_ULONG t1, t2;
crypto/libressl/crypto/bn/bn_asm.c
441
return ((BN_ULONG)0);
crypto/libressl/crypto/bn/bn_asm.c
503
BN_ULONG hi; \
crypto/libressl/crypto/bn/bn_asm.c
506
c0 = (BN_ULONG)Lw(t); \
crypto/libressl/crypto/bn/bn_asm.c
507
hi = (BN_ULONG)Hw(t); \
crypto/libressl/crypto/bn/bn_asm.c
512
BN_ULONG hi; \
crypto/libressl/crypto/bn/bn_asm.c
515
c0 = (BN_ULONG)Lw(tt); \
crypto/libressl/crypto/bn/bn_asm.c
516
hi = (BN_ULONG)Hw(tt); \
crypto/libressl/crypto/bn/bn_asm.c
519
c0 = (BN_ULONG)Lw(t); \
crypto/libressl/crypto/bn/bn_asm.c
520
hi = (BN_ULONG)Hw(t); \
crypto/libressl/crypto/bn/bn_asm.c
525
BN_ULONG hi; \
crypto/libressl/crypto/bn/bn_asm.c
528
c0 = (BN_ULONG)Lw(t); \
crypto/libressl/crypto/bn/bn_asm.c
529
hi = (BN_ULONG)Hw(t); \
crypto/libressl/crypto/bn/bn_asm.c
542
BN_ULONG ta = (a), tb = (b); \
crypto/libressl/crypto/bn/bn_asm.c
543
BN_ULONG lo, hi; \
crypto/libressl/crypto/bn/bn_asm.c
550
BN_ULONG ta = (a), tb = (b); \
crypto/libressl/crypto/bn/bn_asm.c
551
BN_ULONG lo, hi, tt; \
crypto/libressl/crypto/bn/bn_asm.c
560
BN_ULONG ta = (a)[i]; \
crypto/libressl/crypto/bn/bn_asm.c
561
BN_ULONG lo, hi; \
crypto/libressl/crypto/bn/bn_asm.c
576
BN_ULONG ta = (a), tb = (b); \
crypto/libressl/crypto/bn/bn_asm.c
577
BN_ULONG lo = ta * tb; \
crypto/libressl/crypto/bn/bn_asm.c
578
BN_ULONG hi = BN_UMULT_HIGH(ta,tb); \
crypto/libressl/crypto/bn/bn_asm.c
584
BN_ULONG ta = (a), tb = (b), tt; \
crypto/libressl/crypto/bn/bn_asm.c
585
BN_ULONG lo = ta * tb; \
crypto/libressl/crypto/bn/bn_asm.c
586
BN_ULONG hi = BN_UMULT_HIGH(ta,tb); \
crypto/libressl/crypto/bn/bn_asm.c
594
BN_ULONG ta = (a)[i]; \
crypto/libressl/crypto/bn/bn_asm.c
595
BN_ULONG lo = ta * ta; \
crypto/libressl/crypto/bn/bn_asm.c
596
BN_ULONG hi = BN_UMULT_HIGH(ta,ta); \
crypto/libressl/crypto/bn/bn_asm.c
610
BN_ULONG lo = LBITS(a), hi = HBITS(a); \
crypto/libressl/crypto/bn/bn_asm.c
611
BN_ULONG bl = LBITS(b), bh = HBITS(b); \
crypto/libressl/crypto/bn/bn_asm.c
618
BN_ULONG tt; \
crypto/libressl/crypto/bn/bn_asm.c
619
BN_ULONG lo = LBITS(a), hi = HBITS(a); \
crypto/libressl/crypto/bn/bn_asm.c
620
BN_ULONG bl = LBITS(b), bh = HBITS(b); \
crypto/libressl/crypto/bn/bn_asm.c
630
BN_ULONG lo, hi; \
crypto/libressl/crypto/bn/bn_asm.c
641
bn_mul_comba8(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b)
crypto/libressl/crypto/bn/bn_asm.c
643
BN_ULONG c1, c2, c3;
crypto/libressl/crypto/bn/bn_asm.c
73
BN_ULONG
crypto/libressl/crypto/bn/bn_asm.c
74
bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w)
crypto/libressl/crypto/bn/bn_asm.c
745
bn_mul_comba4(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b)
crypto/libressl/crypto/bn/bn_asm.c
747
BN_ULONG c1, c2, c3;
crypto/libressl/crypto/bn/bn_asm.c
76
BN_ULONG c1 = 0;
crypto/libressl/crypto/bn/bn_asm.c
785
bn_sqr_comba8(BN_ULONG *r, const BN_ULONG *a)
crypto/libressl/crypto/bn/bn_asm.c
787
BN_ULONG c1, c2, c3;
crypto/libressl/crypto/bn/bn_asm.c
861
bn_sqr_comba4(BN_ULONG *r, const BN_ULONG *a)
crypto/libressl/crypto/bn/bn_asm.c
863
BN_ULONG c1, c2, c3;
crypto/libressl/crypto/bn/bn_asm.c
910
bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np, const BN_ULONG *n0p, int num)
crypto/libressl/crypto/bn/bn_asm.c
912
BN_ULONG c0, c1, ml, *tp, n0;
crypto/libressl/crypto/bn/bn_asm.c
914
BN_ULONG mh;
crypto/libressl/crypto/bn/bn_asm.c
922
tp = reallocarray(NULL, num + 2, sizeof(BN_ULONG));
crypto/libressl/crypto/bn/bn_asm.c
990
memcpy(rp, tp, num * sizeof(BN_ULONG));
crypto/libressl/crypto/bn/bn_asm.c
992
freezero(tp, (num + 2) * sizeof(BN_ULONG));
crypto/libressl/crypto/bn/bn_bpsw.c
398
BN_ULONG mod;
crypto/libressl/crypto/bn/bn_bpsw.c
414
if ((mod = BN_mod_word(n, primes[i])) == (BN_ULONG)-1)
crypto/libressl/crypto/bn/bn_div.c
125
BN_ULONG *resp, *wnump;
crypto/libressl/crypto/bn/bn_div.c
126
BN_ULONG d0, d1;
crypto/libressl/crypto/bn/bn_div.c
255
BN_ULONG q, l0;
crypto/libressl/crypto/bn/bn_div.c
260
BN_ULONG bn_div_3_words(BN_ULONG*, BN_ULONG, BN_ULONG);
crypto/libressl/crypto/bn/bn_div.c
263
BN_ULONG n0, n1, rem = 0;
crypto/libressl/crypto/bn/bn_div.c
275
q = (BN_ULONG)(((((BN_ULLONG)n0) << BN_BITS2)|n1)/d0);
crypto/libressl/crypto/bn/bn_div.c
299
BN_ULONG t2l, t2h;
crypto/libressl/crypto/bn/bn_div.c
313
BN_ULONG ql, qh;
crypto/libressl/crypto/bn/bn_exp.c
217
BN_ULONG A = a->d[0];
crypto/libressl/crypto/bn/bn_exp.c
573
BN_ULONG *table = (BN_ULONG *)buf;
crypto/libressl/crypto/bn/bn_exp.c
591
volatile BN_ULONG *table = (volatile BN_ULONG *)buf;
crypto/libressl/crypto/bn/bn_exp.c
598
BN_ULONG acc = 0;
crypto/libressl/crypto/bn/bn_exp.c
602
((BN_ULONG)0 - (constant_time_eq_int(j,idx)&1));
crypto/libressl/crypto/bn/bn_exp.c
609
BN_ULONG y0, y1, y2, y3;
crypto/libressl/crypto/bn/bn_exp.c
614
y0 = (BN_ULONG)0 - (constant_time_eq_int(i,0)&1);
crypto/libressl/crypto/bn/bn_exp.c
615
y1 = (BN_ULONG)0 - (constant_time_eq_int(i,1)&1);
crypto/libressl/crypto/bn/bn_exp.c
616
y2 = (BN_ULONG)0 - (constant_time_eq_int(i,2)&1);
crypto/libressl/crypto/bn/bn_exp.c
617
y3 = (BN_ULONG)0 - (constant_time_eq_int(i,3)&1);
crypto/libressl/crypto/bn/bn_exp.c
620
BN_ULONG acc = 0;
crypto/libressl/crypto/bn/bn_exp.c
627
& ((BN_ULONG)0 - (constant_time_eq_int(j,idx)&1));
crypto/libressl/crypto/bn/bn_exp.c
716
tmp.d = (BN_ULONG *)(powerbuf + sizeof(m->d[0]) * top * numPowers);
crypto/libressl/crypto/bn/bn_exp.c
751
void bn_mul_mont_gather5(BN_ULONG *rp, const BN_ULONG *ap,
crypto/libressl/crypto/bn/bn_exp.c
752
const void *table, const BN_ULONG *np,
crypto/libressl/crypto/bn/bn_exp.c
753
const BN_ULONG *n0, int num, int power);
crypto/libressl/crypto/bn/bn_exp.c
754
void bn_scatter5(const BN_ULONG *inp, size_t num,
crypto/libressl/crypto/bn/bn_exp.c
756
void bn_gather5(BN_ULONG *out, size_t num,
crypto/libressl/crypto/bn/bn_exp.c
759
BN_ULONG *np = mont->N.d, *n0 = mont->n0;
crypto/libressl/crypto/bn/bn_exp.c
909
BN_mod_exp_mont_word(BIGNUM *rr, BN_ULONG a, const BIGNUM *p, const BIGNUM *m,
crypto/libressl/crypto/bn/bn_exp.c
915
BN_ULONG w, next_w;
crypto/libressl/crypto/bn/bn_gf2m.c
105
static const BN_ULONG SQR_tb[16] =
crypto/libressl/crypto/bn/bn_gf2m.c
1274
BN_ULONG mask;
crypto/libressl/crypto/bn/bn_gf2m.c
136
bn_GF2m_mul_1x1(BN_ULONG *r1, BN_ULONG *r0, const BN_ULONG a, const BN_ULONG b)
crypto/libressl/crypto/bn/bn_gf2m.c
139
BN_ULONG h, l, s;
crypto/libressl/crypto/bn/bn_gf2m.c
140
BN_ULONG tab[8], top2b = a >> 30;
crypto/libressl/crypto/bn/bn_gf2m.c
141
BN_ULONG a1, a2, a4;
crypto/libressl/crypto/bn/bn_gf2m.c
202
BN_ULONG h, l, s;
crypto/libressl/crypto/bn/bn_gf2m.c
203
BN_ULONG tab[16], top3b = a >> 61;
crypto/libressl/crypto/bn/bn_gf2m.c
204
BN_ULONG a1, a2, a4, a8;
crypto/libressl/crypto/bn/bn_gf2m.c
301
bn_GF2m_mul_2x2(BN_ULONG *r, const BN_ULONG a1, const BN_ULONG a0,
crypto/libressl/crypto/bn/bn_gf2m.c
302
const BN_ULONG b1, const BN_ULONG b0)
crypto/libressl/crypto/bn/bn_gf2m.c
304
BN_ULONG m1, m0;
crypto/libressl/crypto/bn/bn_gf2m.c
315
void bn_GF2m_mul_2x2(BN_ULONG *r, BN_ULONG a1, BN_ULONG a0, BN_ULONG b1,
crypto/libressl/crypto/bn/bn_gf2m.c
316
BN_ULONG b0);
crypto/libressl/crypto/bn/bn_gf2m.c
369
BN_ULONG zz, *z;
crypto/libressl/crypto/bn/bn_gf2m.c
439
BN_ULONG tmp_ulong;
crypto/libressl/crypto/bn/bn_gf2m.c
491
BN_ULONG x1, x0, y1, y0, zz[4];
crypto/libressl/crypto/bn/bn_gf2m.c
702
BN_ULONG *udp, *bdp, *vdp, *cdp;
crypto/libressl/crypto/bn/bn_gf2m.c
729
BN_ULONG u0, u1, b0, b1, mask;
crypto/libressl/crypto/bn/bn_gf2m.c
733
mask = (BN_ULONG)0 - (b0 & 1);
crypto/libressl/crypto/bn/bn_gf2m.c
778
BN_ULONG ul;
crypto/libressl/crypto/bn/bn_isqrt.c
205
BN_ULONG r;
crypto/libressl/crypto/bn/bn_isqrt.c
228
if ((r = BN_mod_word(n, 11 * 63 * 65)) == (BN_ULONG)-1)
crypto/libressl/crypto/bn/bn_lcl.h
122
BN_ULONG *d; /* Pointer to an array of 'BN_BITS2' bit chunks. */
crypto/libressl/crypto/bn/bn_lcl.h
137
BN_ULONG n0[2];/* least significant word(s) of Ni;
crypto/libressl/crypto/bn/bn_lcl.h
271
BN_ULONG ret; \
crypto/libressl/crypto/bn/bn_lcl.h
280
BN_ULONG ret; \
crypto/libressl/crypto/bn/bn_lcl.h
289
BN_ULONG ret,discard; \
crypto/libressl/crypto/bn/bn_lcl.h
310
BN_ULONG ret; \
crypto/libressl/crypto/bn/bn_lcl.h
327
#define Lw(t) (((BN_ULONG)(t))&BN_MASK2)
crypto/libressl/crypto/bn/bn_lcl.h
328
#define Hw(t) (((BN_ULONG)((t)>>BN_BITS2))&BN_MASK2)
crypto/libressl/crypto/bn/bn_lcl.h
334
BN_ULONG *ftl = &(a)->d[(a)->top-1]; \
crypto/libressl/crypto/bn/bn_lcl.h
366
BN_ULONG high,low,ret,tmp=(a); \
crypto/libressl/crypto/bn/bn_lcl.h
378
BN_ULONG high,low,ret,ta=(a); \
crypto/libressl/crypto/bn/bn_lcl.h
387
BN_ULONG tmp=(a); \
crypto/libressl/crypto/bn/bn_lcl.h
393
BN_ULONG high,low,ret,tmp=(a); \
crypto/libressl/crypto/bn/bn_lcl.h
406
BN_ULONG high,low,ret,ta=(a); \
crypto/libressl/crypto/bn/bn_lcl.h
416
BN_ULONG tmp=(a); \
crypto/libressl/crypto/bn/bn_lcl.h
432
BN_ULONG m,m1,lt,ht; \
crypto/libressl/crypto/bn/bn_lcl.h
440
m=(m+m1)&BN_MASK2; if (m < m1) ht+=L2HBITS((BN_ULONG)1); \
crypto/libressl/crypto/bn/bn_lcl.h
450
BN_ULONG l,h,m; \
crypto/libressl/crypto/bn/bn_lcl.h
466
BN_ULONG l,h; \
crypto/libressl/crypto/bn/bn_lcl.h
482
BN_ULONG l,h; \
crypto/libressl/crypto/bn/bn_lcl.h
497
#define BN_lsw(n) (((n)->top == 0) ? (BN_ULONG) 0 : (n)->d[0])
crypto/libressl/crypto/bn/bn_lcl.h
499
void bn_mul_normal(BN_ULONG *r, BN_ULONG *a, int na, BN_ULONG *b, int nb);
crypto/libressl/crypto/bn/bn_lcl.h
500
void bn_mul_comba8(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b);
crypto/libressl/crypto/bn/bn_lcl.h
501
void bn_mul_comba4(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b);
crypto/libressl/crypto/bn/bn_lcl.h
502
void bn_sqr_normal(BN_ULONG *r, const BN_ULONG *a, int n, BN_ULONG *tmp);
crypto/libressl/crypto/bn/bn_lcl.h
503
void bn_sqr_comba8(BN_ULONG *r, const BN_ULONG *a);
crypto/libressl/crypto/bn/bn_lcl.h
504
void bn_sqr_comba4(BN_ULONG *r, const BN_ULONG *a);
crypto/libressl/crypto/bn/bn_lcl.h
505
int bn_cmp_words(const BN_ULONG *a, const BN_ULONG *b, int n);
crypto/libressl/crypto/bn/bn_lcl.h
506
int bn_cmp_part_words(const BN_ULONG *a, const BN_ULONG *b,
crypto/libressl/crypto/bn/bn_lcl.h
508
void bn_mul_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2,
crypto/libressl/crypto/bn/bn_lcl.h
509
int dna, int dnb, BN_ULONG *t);
crypto/libressl/crypto/bn/bn_lcl.h
510
void bn_mul_part_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b,
crypto/libressl/crypto/bn/bn_lcl.h
511
int n, int tna, int tnb, BN_ULONG *t);
crypto/libressl/crypto/bn/bn_lcl.h
512
void bn_sqr_recursive(BN_ULONG *r, const BN_ULONG *a, int n2, BN_ULONG *t);
crypto/libressl/crypto/bn/bn_lcl.h
513
void bn_mul_low_normal(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n);
crypto/libressl/crypto/bn/bn_lcl.h
514
void bn_mul_low_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2,
crypto/libressl/crypto/bn/bn_lcl.h
515
BN_ULONG *t);
crypto/libressl/crypto/bn/bn_lcl.h
516
void bn_mul_high(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, BN_ULONG *l, int n2,
crypto/libressl/crypto/bn/bn_lcl.h
517
BN_ULONG *t);
crypto/libressl/crypto/bn/bn_lcl.h
518
BN_ULONG bn_add_part_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b,
crypto/libressl/crypto/bn/bn_lcl.h
520
BN_ULONG bn_sub_part_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b,
crypto/libressl/crypto/bn/bn_lcl.h
522
int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np, const BN_ULONG *n0, int num);
crypto/libressl/crypto/bn/bn_lcl.h
572
BN_ULONG *_not_const; \
crypto/libressl/crypto/bn/bn_lcl.h
573
memcpy(&_not_const, &_bnum1->d, sizeof(BN_ULONG*)); \
crypto/libressl/crypto/bn/bn_lcl.h
576
(_bnum1->dmax - _bnum1->top) * sizeof(BN_ULONG)); \
crypto/libressl/crypto/bn/bn_lcl.h
614
BN_ULONG *ftl; \
crypto/libressl/crypto/bn/bn_lcl.h
625
BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w);
crypto/libressl/crypto/bn/bn_lcl.h
626
BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w);
crypto/libressl/crypto/bn/bn_lcl.h
627
void bn_sqr_words(BN_ULONG *rp, const BN_ULONG *ap, int num);
crypto/libressl/crypto/bn/bn_lcl.h
628
BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d);
crypto/libressl/crypto/bn/bn_lcl.h
629
BN_ULONG bn_add_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, int num);
crypto/libressl/crypto/bn/bn_lcl.h
630
BN_ULONG bn_sub_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, int num);
crypto/libressl/crypto/bn/bn_lcl.h
657
int BN_swap_ct(BN_ULONG swap, BIGNUM *a, BIGNUM *b, size_t nwords);
crypto/libressl/crypto/bn/bn_lib.c
1019
BN_swap_ct(BN_ULONG condition, BIGNUM *a, BIGNUM *b, size_t nwords)
crypto/libressl/crypto/bn/bn_lib.c
1021
BN_ULONG t;
crypto/libressl/crypto/bn/bn_lib.c
1073
BN_abs_is_word(const BIGNUM *a, const BN_ULONG w)
crypto/libressl/crypto/bn/bn_lib.c
1091
BN_is_word(const BIGNUM *a, const BN_ULONG w)
crypto/libressl/crypto/bn/bn_lib.c
224
static const BN_ULONG data_one = 1L;
crypto/libressl/crypto/bn/bn_lib.c
226
(BN_ULONG *)&data_one, 1, 1, 0, BN_FLG_STATIC_DATA
crypto/libressl/crypto/bn/bn_lib.c
233
BN_num_bits_word(BN_ULONG l)
crypto/libressl/crypto/bn/bn_lib.c
235
BN_ULONG x, mask;
crypto/libressl/crypto/bn/bn_lib.c
268
static BN_ULONG *
crypto/libressl/crypto/bn/bn_lib.c
271
BN_ULONG *A, *a = NULL;
crypto/libressl/crypto/bn/bn_lib.c
272
const BN_ULONG *B;
crypto/libressl/crypto/bn/bn_lib.c
285
a = A = reallocarray(NULL, words, sizeof(BN_ULONG));
crypto/libressl/crypto/bn/bn_lib.c
304
BN_ULONG a0, a1, a2, a3;
crypto/libressl/crypto/bn/bn_lib.c
325
memset(A, 0, sizeof(BN_ULONG) * words);
crypto/libressl/crypto/bn/bn_lib.c
358
BN_ULONG *a = bn_expand_internal(b, words);
crypto/libressl/crypto/bn/bn_lib.c
395
BN_ULONG *a = bn_expand_internal(b, words);
crypto/libressl/crypto/bn/bn_lib.c
409
BN_ULONG *A = &(b->d[b->top]);
crypto/libressl/crypto/bn/bn_lib.c
453
BN_ULONG *A;
crypto/libressl/crypto/bn/bn_lib.c
454
const BN_ULONG *B;
crypto/libressl/crypto/bn/bn_lib.c
467
BN_ULONG a0, a1, a2, a3;
crypto/libressl/crypto/bn/bn_lib.c
499
BN_ULONG *tmp_d;
crypto/libressl/crypto/bn/bn_lib.c
531
BN_ULONG
crypto/libressl/crypto/bn/bn_lib.c
555
BN_set_word(BIGNUM *a, BN_ULONG w)
crypto/libressl/crypto/bn/bn_lib.c
558
if (bn_expand(a, (int)sizeof(BN_ULONG) * 8) == NULL)
crypto/libressl/crypto/bn/bn_lib.c
572
BN_ULONG l;
crypto/libressl/crypto/bn/bn_lib.c
621
BN_ULONG l;
crypto/libressl/crypto/bn/bn_lib.c
690
BN_ULONG l;
crypto/libressl/crypto/bn/bn_lib.c
753
BN_ULONG t1, t2, *ap, *bp;
crypto/libressl/crypto/bn/bn_lib.c
777
BN_ULONG t1, t2;
crypto/libressl/crypto/bn/bn_lib.c
838
a->d[i] |= (((BN_ULONG)1) << j);
crypto/libressl/crypto/bn/bn_lib.c
857
a->d[i] &= (~(((BN_ULONG)1) << j));
crypto/libressl/crypto/bn/bn_lib.c
874
return (int)(((a->d[i]) >> j) & ((BN_ULONG)1));
crypto/libressl/crypto/bn/bn_lib.c
910
bn_cmp_words(const BN_ULONG *a, const BN_ULONG *b, int n)
crypto/libressl/crypto/bn/bn_lib.c
913
BN_ULONG aa, bb;
crypto/libressl/crypto/bn/bn_lib.c
936
bn_cmp_part_words(const BN_ULONG *a, const BN_ULONG *b, int cl, int dl)
crypto/libressl/crypto/bn/bn_lib.c
967
BN_consttime_swap(BN_ULONG condition, BIGNUM *a, BIGNUM *b, int nwords)
crypto/libressl/crypto/bn/bn_lib.c
969
BN_ULONG t;
crypto/libressl/crypto/bn/bn_lib.c
977
assert(sizeof(BN_ULONG) >= sizeof(int));
crypto/libressl/crypto/bn/bn_mont.c
189
BN_ULONG *ap, *np, *rp, n0, v, carry;
crypto/libressl/crypto/bn/bn_mont.c
212
memset(&(rp[r->top]), 0, (max - r->top) * sizeof(BN_ULONG));
crypto/libressl/crypto/bn/bn_mont.c
240
BN_ULONG *nrp;
crypto/libressl/crypto/bn/bn_mont.c
248
nrp = (BN_ULONG *)(((uintptr_t)rp & ~m)|((uintptr_t)ap & m));
crypto/libressl/crypto/bn/bn_mont.c
251
BN_ULONG t1, t2, t3, t4;
crypto/libressl/crypto/bn/bn_mont.c
271
memcpy(rp, ap, nl*sizeof(BN_ULONG));
crypto/libressl/crypto/bn/bn_mont.c
386
BN_ULONG buf[2];
crypto/libressl/crypto/bn/bn_mont.c
422
if (bn_expand(Ri, (int)sizeof(BN_ULONG) * 2) == NULL)
crypto/libressl/crypto/bn/bn_mul.c
1007
j = BN_num_bits_word((BN_ULONG)al);
crypto/libressl/crypto/bn/bn_mul.c
1010
j = BN_num_bits_word((BN_ULONG)bl);
crypto/libressl/crypto/bn/bn_mul.c
1056
j = BN_num_bits_word((BN_ULONG)al);
crypto/libressl/crypto/bn/bn_mul.c
1101
bn_mul_normal(BN_ULONG *r, BN_ULONG *a, int na, BN_ULONG *b, int nb)
crypto/libressl/crypto/bn/bn_mul.c
1103
BN_ULONG *rr;
crypto/libressl/crypto/bn/bn_mul.c
1111
BN_ULONG *ltmp;
crypto/libressl/crypto/bn/bn_mul.c
1148
bn_mul_low_normal(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n)
crypto/libressl/crypto/bn/bn_mul.c
231
BN_ULONG
crypto/libressl/crypto/bn/bn_mul.c
232
bn_add_part_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, int cl,
crypto/libressl/crypto/bn/bn_mul.c
235
BN_ULONG c, l, t;
crypto/libressl/crypto/bn/bn_mul.c
435
bn_mul_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2, int dna,
crypto/libressl/crypto/bn/bn_mul.c
436
int dnb, BN_ULONG *t)
crypto/libressl/crypto/bn/bn_mul.c
441
BN_ULONG ln, lo, *p;
crypto/libressl/crypto/bn/bn_mul.c
466
sizeof(BN_ULONG) * -(dna + dnb));
crypto/libressl/crypto/bn/bn_mul.c
512
memset(&(t[n2]), 0, 8 * sizeof(BN_ULONG));
crypto/libressl/crypto/bn/bn_mul.c
523
memset(&(t[n2]), 0, 16 * sizeof(BN_ULONG));
crypto/libressl/crypto/bn/bn_mul.c
534
memset(&(t[n2]), 0, n2 * sizeof(BN_ULONG));
crypto/libressl/crypto/bn/bn_mul.c
568
if (ln < (BN_ULONG)c1) {
crypto/libressl/crypto/bn/bn_mul.c
583
bn_mul_part_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n, int tna,
crypto/libressl/crypto/bn/bn_mul.c
584
int tnb, BN_ULONG *t)
crypto/libressl/crypto/bn/bn_mul.c
588
BN_ULONG ln, lo, *p;
crypto/libressl/crypto/bn/bn_mul.c
638
memset(&(r[n2 + tn * 2]), 0, sizeof(BN_ULONG) * (n2 - tn * 2));
crypto/libressl/crypto/bn/bn_mul.c
646
sizeof(BN_ULONG) * (n2 - tna - tnb));
crypto/libressl/crypto/bn/bn_mul.c
662
sizeof(BN_ULONG) * (n2 - i * 2));
crypto/libressl/crypto/bn/bn_mul.c
669
sizeof(BN_ULONG) * (n2 - tna - tnb));
crypto/libressl/crypto/bn/bn_mul.c
673
memset(&(r[n2]), 0, sizeof(BN_ULONG) * n2);
crypto/libressl/crypto/bn/bn_mul.c
729
if (ln < (BN_ULONG)c1) {
crypto/libressl/crypto/bn/bn_mul.c
744
bn_mul_low_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2, BN_ULONG *t)
crypto/libressl/crypto/bn/bn_mul.c
772
bn_mul_high(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, BN_ULONG *l, int n2,
crypto/libressl/crypto/bn/bn_mul.c
773
BN_ULONG *t)
crypto/libressl/crypto/bn/bn_mul.c
778
BN_ULONG ll, lc, *lp, *mp;
crypto/libressl/crypto/bn/bn_mul.c
83
BN_ULONG
crypto/libressl/crypto/bn/bn_mul.c
84
bn_sub_part_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, int cl,
crypto/libressl/crypto/bn/bn_mul.c
87
BN_ULONG c, t;
crypto/libressl/crypto/bn/bn_nist.c
1004
res = (BN_ULONG *)(((uintptr_t)res & ~mask) | ((uintptr_t)r_d & mask));
crypto/libressl/crypto/bn/bn_nist.c
101
static const BN_ULONG _nist_p_256[][BN_NIST_256_TOP] = {
crypto/libressl/crypto/bn/bn_nist.c
1031
BN_ULONG bnbuf[BN_NIST_384_TOP] = { 0 };
crypto/libressl/crypto/bn/bn_nist.c
1032
BN_ULONG c_d[BN_NIST_384_TOP] = { 0 };
crypto/libressl/crypto/bn/bn_nist.c
1033
BN_ULONG *a_d = a->d;
crypto/libressl/crypto/bn/bn_nist.c
1034
BN_ULONG *r_d, *res;
crypto/libressl/crypto/bn/bn_nist.c
1067
sizeof(BN_ULONG) / sizeof(unsigned int)];
crypto/libressl/crypto/bn/bn_nist.c
1069
sizeof(BN_ULONG) / sizeof(unsigned int)];
crypto/libressl/crypto/bn/bn_nist.c
1205
BN_ULONG t_d[BN_NIST_384_TOP] = {0};
crypto/libressl/crypto/bn/bn_nist.c
1212
BN_ULONG *ap, t, c;
crypto/libressl/crypto/bn/bn_nist.c
123
static const BN_ULONG _nist_p_256_sqr[] = {
crypto/libressl/crypto/bn/bn_nist.c
1269
res = (BN_ULONG *)(((uintptr_t)res & ~mask) | ((uintptr_t)r_d & mask));
crypto/libressl/crypto/bn/bn_nist.c
1279
#define BN_NIST_521_TOP_MASK ((BN_ULONG)BN_MASK2>>BN_NIST_521_LSHIFT)
crypto/libressl/crypto/bn/bn_nist.c
1284
BN_ULONG t_d[BN_NIST_521_TOP] = { 0 };
crypto/libressl/crypto/bn/bn_nist.c
1285
BN_ULONG *a_d = a->d;
crypto/libressl/crypto/bn/bn_nist.c
1286
BN_ULONG *r_d, *res;
crypto/libressl/crypto/bn/bn_nist.c
1287
BN_ULONG tmp, val;
crypto/libressl/crypto/bn/bn_nist.c
129
static const BN_ULONG _nist_p_384[][BN_NIST_384_TOP] = {
crypto/libressl/crypto/bn/bn_nist.c
1329
res = (BN_ULONG *)(((uintptr_t)res & ~mask) | ((uintptr_t)r_d & mask));
crypto/libressl/crypto/bn/bn_nist.c
156
static const BN_ULONG _nist_p_384_sqr[] = {
crypto/libressl/crypto/bn/bn_nist.c
162
static const BN_ULONG _nist_p_521[] = {
crypto/libressl/crypto/bn/bn_nist.c
167
static const BN_ULONG _nist_p_521_sqr[] = {
crypto/libressl/crypto/bn/bn_nist.c
176
static const BN_ULONG _nist_p_192[][BN_NIST_192_TOP] = {
crypto/libressl/crypto/bn/bn_nist.c
190
static const BN_ULONG _nist_p_192_sqr[] = {
crypto/libressl/crypto/bn/bn_nist.c
194
static const BN_ULONG _nist_p_224[][BN_NIST_224_TOP] = {
crypto/libressl/crypto/bn/bn_nist.c
204
static const BN_ULONG _nist_p_224_sqr[] = {
crypto/libressl/crypto/bn/bn_nist.c
210
static const BN_ULONG _nist_p_256[][BN_NIST_256_TOP] = {
crypto/libressl/crypto/bn/bn_nist.c
232
static const BN_ULONG _nist_p_256_sqr[] = {
crypto/libressl/crypto/bn/bn_nist.c
238
static const BN_ULONG _nist_p_384[][BN_NIST_384_TOP] = {
crypto/libressl/crypto/bn/bn_nist.c
265
static const BN_ULONG _nist_p_384_sqr[] = {
crypto/libressl/crypto/bn/bn_nist.c
271
static const BN_ULONG _nist_p_521[] = {
crypto/libressl/crypto/bn/bn_nist.c
277
static const BN_ULONG _nist_p_521_sqr[] = {
crypto/libressl/crypto/bn/bn_nist.c
290
.d = (BN_ULONG *)_nist_p_192[0],
crypto/libressl/crypto/bn/bn_nist.c
298
.d = (BN_ULONG *)_nist_p_192_sqr,
crypto/libressl/crypto/bn/bn_nist.c
306
.d = (BN_ULONG *)_nist_p_224[0],
crypto/libressl/crypto/bn/bn_nist.c
314
.d = (BN_ULONG *)_nist_p_224_sqr,
crypto/libressl/crypto/bn/bn_nist.c
322
.d = (BN_ULONG *)_nist_p_256[0],
crypto/libressl/crypto/bn/bn_nist.c
330
.d = (BN_ULONG *)_nist_p_256_sqr,
crypto/libressl/crypto/bn/bn_nist.c
338
.d = (BN_ULONG *)_nist_p_384[0],
crypto/libressl/crypto/bn/bn_nist.c
346
.d = (BN_ULONG *)_nist_p_384_sqr,
crypto/libressl/crypto/bn/bn_nist.c
354
.d = (BN_ULONG *)_nist_p_521,
crypto/libressl/crypto/bn/bn_nist.c
362
.d = (BN_ULONG *)_nist_p_521_sqr,
crypto/libressl/crypto/bn/bn_nist.c
400
nist_cp_bn_0(BN_ULONG *dst, const BN_ULONG *src, int top, int max)
crypto/libressl/crypto/bn/bn_nist.c
413
static void nist_cp_bn(BN_ULONG *dst, const BN_ULONG *src, int top)
crypto/libressl/crypto/bn/bn_nist.c
423
#define bn_64_set_0(to, n) (to)[n] = (BN_ULONG)0;
crypto/libressl/crypto/bn/bn_nist.c
451
#define bn_32_set_0(to, n) (to)[n] = (BN_ULONG)0;
crypto/libressl/crypto/bn/bn_nist.c
467
BN_ULONG bnbuf[BN_NIST_192_TOP] = { 0 };
crypto/libressl/crypto/bn/bn_nist.c
468
BN_ULONG c_d[BN_NIST_192_TOP] = { 0 };
crypto/libressl/crypto/bn/bn_nist.c
469
BN_ULONG *a_d = a->d;
crypto/libressl/crypto/bn/bn_nist.c
470
BN_ULONG *r_d, *res;
crypto/libressl/crypto/bn/bn_nist.c
502
sizeof(BN_ULONG) / sizeof(unsigned int)];
crypto/libressl/crypto/bn/bn_nist.c
504
sizeof(BN_ULONG) / sizeof(unsigned int)];
crypto/libressl/crypto/bn/bn_nist.c
564
BN_ULONG t_d[BN_NIST_192_TOP] = {0};
crypto/libressl/crypto/bn/bn_nist.c
590
res = (BN_ULONG *)(((uintptr_t)res & ~mask) | ((uintptr_t)r_d & mask));
crypto/libressl/crypto/bn/bn_nist.c
598
typedef BN_ULONG (*bn_addsub_f)(BN_ULONG *, const BN_ULONG *,
crypto/libressl/crypto/bn/bn_nist.c
599
const BN_ULONG *, int);
crypto/libressl/crypto/bn/bn_nist.c
615
BN_ULONG bnbuf[BN_NIST_224_TOP] = { 0 };
crypto/libressl/crypto/bn/bn_nist.c
616
BN_ULONG c_d[BN_NIST_224_TOP] = { 0 };
crypto/libressl/crypto/bn/bn_nist.c
617
BN_ULONG *a_d = a->d;
crypto/libressl/crypto/bn/bn_nist.c
618
BN_ULONG *r_d, *res;
crypto/libressl/crypto/bn/bn_nist.c
663
sizeof(BN_ULONG) / sizeof(unsigned int)];
crypto/libressl/crypto/bn/bn_nist.c
665
sizeof(BN_ULONG) / sizeof(unsigned int)];
crypto/libressl/crypto/bn/bn_nist.c
735
BN_ULONG t_d[BN_NIST_224_TOP] = {0};
crypto/libressl/crypto/bn/bn_nist.c
76
static const BN_ULONG _nist_p_192[][BN_NIST_192_TOP] = {
crypto/libressl/crypto/bn/bn_nist.c
776
res = (BN_ULONG *)(((uintptr_t)res & ~mask) | ((uintptr_t)r_d & mask));
crypto/libressl/crypto/bn/bn_nist.c
799
BN_ULONG bnbuf[BN_NIST_256_TOP] = { 0 };
crypto/libressl/crypto/bn/bn_nist.c
800
BN_ULONG c_d[BN_NIST_256_TOP] = { 0 };
crypto/libressl/crypto/bn/bn_nist.c
801
BN_ULONG *a_d = a->d;
crypto/libressl/crypto/bn/bn_nist.c
802
BN_ULONG *r_d, *res;
crypto/libressl/crypto/bn/bn_nist.c
81
static const BN_ULONG _nist_p_192_sqr[] = {
crypto/libressl/crypto/bn/bn_nist.c
835
sizeof(BN_ULONG) / sizeof(unsigned int)];
crypto/libressl/crypto/bn/bn_nist.c
837
sizeof(BN_ULONG) / sizeof(unsigned int)];
crypto/libressl/crypto/bn/bn_nist.c
85
static const BN_ULONG _nist_p_224[][BN_NIST_224_TOP] = {
crypto/libressl/crypto/bn/bn_nist.c
946
BN_ULONG t_d[BN_NIST_256_TOP] = {0};
crypto/libressl/crypto/bn/bn_nist.c
95
static const BN_ULONG _nist_p_224_sqr[] = {
crypto/libressl/crypto/bn/bn_nist.c
955
BN_ULONG *ap, t, c;
crypto/libressl/crypto/bn/bn_prime.c
295
BN_ULONG mod = BN_mod_word(a, primes[i]);
crypto/libressl/crypto/bn/bn_prime.c
296
if (mod == (BN_ULONG)-1)
crypto/libressl/crypto/bn/bn_prime.c
413
BN_ULONG delta, maxdelta;
crypto/libressl/crypto/bn/bn_prime.c
420
BN_ULONG mod = BN_mod_word(rnd, (BN_ULONG)primes[i]);
crypto/libressl/crypto/bn/bn_prime.c
421
if (mod == (BN_ULONG)-1)
crypto/libressl/crypto/bn/bn_prime.c
477
BN_LONG mod = BN_mod_word(rnd, (BN_ULONG)primes[i]);
crypto/libressl/crypto/bn/bn_prime.c
478
if (mod == (BN_ULONG)-1)
crypto/libressl/crypto/bn/bn_prime.c
542
BN_ULONG pmod = BN_mod_word(p, (BN_ULONG)primes[i]);
crypto/libressl/crypto/bn/bn_prime.c
543
BN_ULONG qmod = BN_mod_word(q, (BN_ULONG)primes[i]);
crypto/libressl/crypto/bn/bn_prime.c
544
if (pmod == (BN_ULONG)-1 || qmod == (BN_ULONG)-1)
crypto/libressl/crypto/bn/bn_print.c
116
BN_ULONG *bn_data = NULL, *lp;
crypto/libressl/crypto/bn/bn_print.c
140
bn_data = reallocarray(NULL, bn_data_num, sizeof(BN_ULONG));
crypto/libressl/crypto/bn/bn_print.c
159
if (*lp == (BN_ULONG)-1)
crypto/libressl/crypto/bn/bn_print.c
193
BN_ULONG l = 0;
crypto/libressl/crypto/bn/bn_print.c
270
BN_ULONG l = 0;
crypto/libressl/crypto/bn/bn_print.c
406
(int)sizeof(BN_ULLONG) * 8, (int)sizeof(BN_ULONG) * 8);
crypto/libressl/crypto/bn/bn_print.c
409
(int)sizeof(BN_ULONG) * 8, (int)sizeof(BN_ULONG) * 8);
crypto/libressl/crypto/bn/bn_shift.c
103
BN_ULONG *ap, *rp, t, c;
crypto/libressl/crypto/bn/bn_shift.c
140
BN_ULONG *t, *f;
crypto/libressl/crypto/bn/bn_shift.c
141
BN_ULONG l;
crypto/libressl/crypto/bn/bn_shift.c
182
BN_ULONG *t, *f;
crypto/libressl/crypto/bn/bn_shift.c
183
BN_ULONG l, tmp;
crypto/libressl/crypto/bn/bn_shift.c
69
BN_ULONG *ap, *rp, t, c;
crypto/libressl/crypto/bn/bn_sqr.c
104
BN_ULONG t[16];
crypto/libressl/crypto/bn/bn_sqr.c
112
BN_ULONG t[BN_SQR_RECURSIVE_SIZE_NORMAL*2];
crypto/libressl/crypto/bn/bn_sqr.c
117
j = BN_num_bits_word((BN_ULONG)al);
crypto/libressl/crypto/bn/bn_sqr.c
157
bn_sqr_normal(BN_ULONG *r, const BN_ULONG *a, int n, BN_ULONG *tmp)
crypto/libressl/crypto/bn/bn_sqr.c
160
const BN_ULONG *ap;
crypto/libressl/crypto/bn/bn_sqr.c
161
BN_ULONG *rp;
crypto/libressl/crypto/bn/bn_sqr.c
204
bn_sqr_recursive(BN_ULONG *r, const BN_ULONG *a, int n2, BN_ULONG *t)
crypto/libressl/crypto/bn/bn_sqr.c
208
BN_ULONG ln, lo, *p;
crypto/libressl/crypto/bn/bn_sqr.c
248
memset(&(t[n2]), 0, n2 * sizeof(BN_ULONG));
crypto/libressl/crypto/bn/bn_sqr.c
276
if (ln < (BN_ULONG)c1) {
crypto/libressl/crypto/bn/bn_sqr.c
97
BN_ULONG t[8];
crypto/libressl/crypto/bn/bn_word.c
102
return ((BN_ULONG)ret);
crypto/libressl/crypto/bn/bn_word.c
105
BN_ULONG
crypto/libressl/crypto/bn/bn_word.c
106
BN_div_word(BIGNUM *a, BN_ULONG w)
crypto/libressl/crypto/bn/bn_word.c
108
BN_ULONG ret = 0;
crypto/libressl/crypto/bn/bn_word.c
116
return (BN_ULONG) - 1;
crypto/libressl/crypto/bn/bn_word.c
124
return (BN_ULONG) - 1;
crypto/libressl/crypto/bn/bn_word.c
127
BN_ULONG l, d;
crypto/libressl/crypto/bn/bn_word.c
142
BN_add_word(BIGNUM *a, BN_ULONG w)
crypto/libressl/crypto/bn/bn_word.c
144
BN_ULONG l;
crypto/libressl/crypto/bn/bn_word.c
179
BN_sub_word(BIGNUM *a, BN_ULONG w)
crypto/libressl/crypto/bn/bn_word.c
227
BN_mul_word(BIGNUM *a, BN_ULONG w)
crypto/libressl/crypto/bn/bn_word.c
229
BN_ULONG ll;
crypto/libressl/crypto/bn/bn_word.c
63
BN_ULONG
crypto/libressl/crypto/bn/bn_word.c
64
BN_mod_word(const BIGNUM *a, BN_ULONG w)
crypto/libressl/crypto/bn/bn_word.c
67
BN_ULONG ret = 0;
crypto/libressl/crypto/bn/bn_word.c
74
return (BN_ULONG) - 1;
crypto/libressl/crypto/bn/bn_word.c
79
if (w > ((BN_ULONG)1 << BN_BITS4)) {
crypto/libressl/crypto/bn/bn_word.c
82
return (BN_ULONG)-1;
crypto/libressl/crypto/ec/ec2_mult.c
268
BN_ULONG mask, word;
crypto/libressl/crypto/ec/ec_curve.c
3382
|| !BN_set_word(x, (BN_ULONG) data->cofactor)) {
crypto/libressl/include/openssl/bn.h
338
int BN_abs_is_word(const BIGNUM *a, const BN_ULONG w);
crypto/libressl/include/openssl/bn.h
341
int BN_is_word(const BIGNUM *a, const BN_ULONG w);
crypto/libressl/include/openssl/bn.h
369
int BN_num_bits_word(BN_ULONG);
crypto/libressl/include/openssl/bn.h
414
BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w);
crypto/libressl/include/openssl/bn.h
415
BN_ULONG BN_div_word(BIGNUM *a, BN_ULONG w);
crypto/libressl/include/openssl/bn.h
416
int BN_mul_word(BIGNUM *a, BN_ULONG w);
crypto/libressl/include/openssl/bn.h
417
int BN_add_word(BIGNUM *a, BN_ULONG w);
crypto/libressl/include/openssl/bn.h
418
int BN_sub_word(BIGNUM *a, BN_ULONG w);
crypto/libressl/include/openssl/bn.h
419
int BN_set_word(BIGNUM *a, BN_ULONG w);
crypto/libressl/include/openssl/bn.h
420
BN_ULONG BN_get_word(const BIGNUM *a);
crypto/libressl/include/openssl/bn.h
437
int BN_mod_exp_mont_word(BIGNUM *r, BN_ULONG a, const BIGNUM *p,
crypto/libressl/include/openssl/bn.h
472
void BN_consttime_swap(BN_ULONG swap, BIGNUM *a, BIGNUM *b, int nwords);
games/factor/factor.c
185
if (BN_mod_word(val, (BN_ULONG)*fact) == 0)
games/factor/factor.c
210
BN_div_word(val, (BN_ULONG)*fact);
games/factor/factor.c
211
} while (BN_mod_word(val, (BN_ULONG)*fact) == 0);
games/factor/factor.c
332
static BN_ULONG
games/factor/factor.c
333
BN_div_word(BIGNUM *a, BN_ULONG b)
games/factor/factor.c
335
BN_ULONG mod;
games/factor/factor.c
84
static BN_ULONG BN_div_word(BIGNUM *, BN_ULONG);
lib/libtelnet/pk.c
100
BN_ULONG r, base = (1 << 8);
lib/libtelnet/pk.c
69
BN_ULONG r, base = (1 << 8);
usr.bin/dc/inout.c
188
BN_ULONG v;
usr.bin/dc/inout.c
311
BN_ULONG rem = BN_div_word(int_part->number, base);
usr.sbin/keyserv/setkey.c
286
BN_ULONG r, base = (1 << 8);