crypto/openssl/crypto/asn1/a_object.c
140
BN_ULONG t = BN_div_word(bl, 0x80L);
crypto/openssl/crypto/asn1/a_object.c
141
if (t == (BN_ULONG)-1)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
114
BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num,
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
115
BN_ULONG w)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
117
BN_ULONG c1 = 0;
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
145
BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
147
BN_ULONG c1 = 0;
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
173
void bn_sqr_words(BN_ULONG *r, const BN_ULONG *a, int n)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
198
BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
200
BN_ULONG ret, waste;
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
209
BN_ULONG bn_add_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
212
BN_ULONG ret;
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
236
BN_ULONG bn_sub_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
239
BN_ULONG ret;
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
264
BN_ULONG bn_sub_words(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
266
BN_ULONG t1, t2;
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
270
return (BN_ULONG)0;
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
329
BN_ULONG ta = (a), tb = (b); \
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
330
BN_ULONG lo, hi; \
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
340
BN_ULONG ta = (a), tb = (b); \
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
341
BN_ULONG lo, hi, tt; \
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
355
BN_ULONG ta = (a)[i]; \
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
356
BN_ULONG lo, hi; \
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
366
BN_ULONG t1, t2; \
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
379
BN_ULONG t1, t2; \
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
392
BN_ULONG t1, t2; \
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
411
void bn_mul_comba8(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
413
BN_ULONG c1, c2, c3;
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
514
void bn_mul_comba4(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
516
BN_ULONG c1, c2, c3;
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
553
void bn_sqr_comba8(BN_ULONG *r, const BN_ULONG *a)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
555
BN_ULONG c1, c2, c3;
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
628
void bn_sqr_comba4(BN_ULONG *r, const BN_ULONG *a)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
630
BN_ULONG c1, c2, c3;
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
78
register BN_ULONG high, low; \
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
96
register BN_ULONG high, low; \
crypto/openssl/crypto/bn/bn_add.c
128
BN_ULONG t1, t2, borrow, *rp;
crypto/openssl/crypto/bn/bn_add.c
129
const BN_ULONG *ap, *bp;
crypto/openssl/crypto/bn/bn_add.c
79
const BN_ULONG *ap, *bp;
crypto/openssl/crypto/bn/bn_add.c
80
BN_ULONG *rp, carry, t1, t2;
crypto/openssl/crypto/bn/bn_asm.c
1003
void bn_sqr_comba8(BN_ULONG *r, const BN_ULONG *a)
crypto/openssl/crypto/bn/bn_asm.c
1005
BN_ULONG t[16];
crypto/openssl/crypto/bn/bn_asm.c
1009
void bn_mul_comba4(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b)
crypto/openssl/crypto/bn/bn_asm.c
1017
void bn_mul_comba8(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b)
crypto/openssl/crypto/bn/bn_asm.c
103
BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num,
crypto/openssl/crypto/bn/bn_asm.c
1032
int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
crypto/openssl/crypto/bn/bn_asm.c
1033
const BN_ULONG *np, const BN_ULONG *n0p, int num)
crypto/openssl/crypto/bn/bn_asm.c
1035
BN_ULONG c0, c1, *tp, n0 = *n0p;
crypto/openssl/crypto/bn/bn_asm.c
1036
volatile BN_ULONG *vp;
crypto/openssl/crypto/bn/bn_asm.c
1039
vp = tp = alloca((num + 2) * sizeof(BN_ULONG));
crypto/openssl/crypto/bn/bn_asm.c
104
BN_ULONG w)
crypto/openssl/crypto/bn/bn_asm.c
106
BN_ULONG c = 0;
crypto/openssl/crypto/bn/bn_asm.c
107
BN_ULONG bl, bh;
crypto/openssl/crypto/bn/bn_asm.c
1073
int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
crypto/openssl/crypto/bn/bn_asm.c
1074
const BN_ULONG *np, const BN_ULONG *n0, int num)
crypto/openssl/crypto/bn/bn_asm.c
111
return (BN_ULONG)0;
crypto/openssl/crypto/bn/bn_asm.c
136
BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w)
crypto/openssl/crypto/bn/bn_asm.c
138
BN_ULONG carry = 0;
crypto/openssl/crypto/bn/bn_asm.c
139
BN_ULONG bl, bh;
crypto/openssl/crypto/bn/bn_asm.c
143
return (BN_ULONG)0;
crypto/openssl/crypto/bn/bn_asm.c
168
void bn_sqr_words(BN_ULONG *r, const BN_ULONG *a, int n)
crypto/openssl/crypto/bn/bn_asm.c
17
BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num,
crypto/openssl/crypto/bn/bn_asm.c
18
BN_ULONG w)
crypto/openssl/crypto/bn/bn_asm.c
198
BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d)
crypto/openssl/crypto/bn/bn_asm.c
20
BN_ULONG c1 = 0;
crypto/openssl/crypto/bn/bn_asm.c
200
return ((BN_ULONG)(((((BN_ULLONG)h) << BN_BITS2) | l) / (BN_ULLONG)d));
crypto/openssl/crypto/bn/bn_asm.c
207
BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d)
crypto/openssl/crypto/bn/bn_asm.c
209
BN_ULONG dh, dl, q, ret = 0, th, tl, t;
crypto/openssl/crypto/bn/bn_asm.c
216
assert((i == BN_BITS2) || (h <= (BN_ULONG)1 << i));
crypto/openssl/crypto/bn/bn_asm.c
271
BN_ULONG bn_add_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b,
crypto/openssl/crypto/bn/bn_asm.c
278
return (BN_ULONG)0;
crypto/openssl/crypto/bn/bn_asm.c
283
r[0] = (BN_ULONG)ll & BN_MASK2;
crypto/openssl/crypto/bn/bn_asm.c
286
r[1] = (BN_ULONG)ll & BN_MASK2;
crypto/openssl/crypto/bn/bn_asm.c
289
r[2] = (BN_ULONG)ll & BN_MASK2;
crypto/openssl/crypto/bn/bn_asm.c
292
r[3] = (BN_ULONG)ll & BN_MASK2;
crypto/openssl/crypto/bn/bn_asm.c
302
r[0] = (BN_ULONG)ll & BN_MASK2;
crypto/openssl/crypto/bn/bn_asm.c
309
return (BN_ULONG)ll;
crypto/openssl/crypto/bn/bn_asm.c
312
BN_ULONG bn_add_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b,
crypto/openssl/crypto/bn/bn_asm.c
315
BN_ULONG c, l, t;
crypto/openssl/crypto/bn/bn_asm.c
319
return (BN_ULONG)0;
crypto/openssl/crypto/bn/bn_asm.c
366
return (BN_ULONG)c;
crypto/openssl/crypto/bn/bn_asm.c
370
BN_ULONG bn_sub_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b,
crypto/openssl/crypto/bn/bn_asm.c
373
BN_ULONG t1, t2;
crypto/openssl/crypto/bn/bn_asm.c
378
return (BN_ULONG)0;
crypto/openssl/crypto/bn/bn_asm.c
449
BN_ULONG hi; \
crypto/openssl/crypto/bn/bn_asm.c
452
c0 = (BN_ULONG)Lw(t); \
crypto/openssl/crypto/bn/bn_asm.c
453
hi = (BN_ULONG)Hw(t); \
crypto/openssl/crypto/bn/bn_asm.c
460
BN_ULONG hi; \
crypto/openssl/crypto/bn/bn_asm.c
463
c0 = (BN_ULONG)Lw(tt); \
crypto/openssl/crypto/bn/bn_asm.c
464
hi = (BN_ULONG)Hw(tt); \
crypto/openssl/crypto/bn/bn_asm.c
468
c0 = (BN_ULONG)Lw(t); \
crypto/openssl/crypto/bn/bn_asm.c
469
hi = (BN_ULONG)Hw(t); \
crypto/openssl/crypto/bn/bn_asm.c
47
BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w)
crypto/openssl/crypto/bn/bn_asm.c
476
BN_ULONG hi; \
crypto/openssl/crypto/bn/bn_asm.c
479
c0 = (BN_ULONG)Lw(t); \
crypto/openssl/crypto/bn/bn_asm.c
480
hi = (BN_ULONG)Hw(t); \
crypto/openssl/crypto/bn/bn_asm.c
49
BN_ULONG c1 = 0;
crypto/openssl/crypto/bn/bn_asm.c
495
BN_ULONG ta = (a), tb = (b); \
crypto/openssl/crypto/bn/bn_asm.c
496
BN_ULONG lo, hi; \
crypto/openssl/crypto/bn/bn_asm.c
506
BN_ULONG ta = (a), tb = (b); \
crypto/openssl/crypto/bn/bn_asm.c
507
BN_ULONG lo, hi, tt; \
crypto/openssl/crypto/bn/bn_asm.c
521
BN_ULONG ta = (a)[i]; \
crypto/openssl/crypto/bn/bn_asm.c
522
BN_ULONG lo, hi; \
crypto/openssl/crypto/bn/bn_asm.c
540
BN_ULONG ta = (a), tb = (b); \
crypto/openssl/crypto/bn/bn_asm.c
541
BN_ULONG lo = ta * tb; \
crypto/openssl/crypto/bn/bn_asm.c
542
BN_ULONG hi = BN_UMULT_HIGH(ta, tb); \
crypto/openssl/crypto/bn/bn_asm.c
551
BN_ULONG ta = (a), tb = (b), tt; \
crypto/openssl/crypto/bn/bn_asm.c
552
BN_ULONG lo = ta * tb; \
crypto/openssl/crypto/bn/bn_asm.c
553
BN_ULONG hi = BN_UMULT_HIGH(ta, tb); \
crypto/openssl/crypto/bn/bn_asm.c
566
BN_ULONG ta = (a)[i]; \
crypto/openssl/crypto/bn/bn_asm.c
567
BN_ULONG lo = ta * ta; \
crypto/openssl/crypto/bn/bn_asm.c
568
BN_ULONG hi = BN_UMULT_HIGH(ta, ta); \
crypto/openssl/crypto/bn/bn_asm.c
585
BN_ULONG lo = LBITS(a), hi = HBITS(a); \
crypto/openssl/crypto/bn/bn_asm.c
586
BN_ULONG bl = LBITS(b), bh = HBITS(b); \
crypto/openssl/crypto/bn/bn_asm.c
596
BN_ULONG tt; \
crypto/openssl/crypto/bn/bn_asm.c
597
BN_ULONG lo = LBITS(a), hi = HBITS(a); \
crypto/openssl/crypto/bn/bn_asm.c
598
BN_ULONG bl = LBITS(b), bh = HBITS(b); \
crypto/openssl/crypto/bn/bn_asm.c
613
BN_ULONG lo, hi; \
crypto/openssl/crypto/bn/bn_asm.c
625
void bn_mul_comba8(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b)
crypto/openssl/crypto/bn/bn_asm.c
627
BN_ULONG c1, c2, c3;
crypto/openssl/crypto/bn/bn_asm.c
728
void bn_mul_comba4(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b)
crypto/openssl/crypto/bn/bn_asm.c
730
BN_ULONG c1, c2, c3;
crypto/openssl/crypto/bn/bn_asm.c
75
void bn_sqr_words(BN_ULONG *r, const BN_ULONG *a, int n)
crypto/openssl/crypto/bn/bn_asm.c
767
void bn_sqr_comba8(BN_ULONG *r, const BN_ULONG *a)
crypto/openssl/crypto/bn/bn_asm.c
769
BN_ULONG c1, c2, c3;
crypto/openssl/crypto/bn/bn_asm.c
842
void bn_sqr_comba4(BN_ULONG *r, const BN_ULONG *a)
crypto/openssl/crypto/bn/bn_asm.c
844
BN_ULONG c1, c2, c3;
crypto/openssl/crypto/bn/bn_asm.c
891
int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
crypto/openssl/crypto/bn/bn_asm.c
892
const BN_ULONG *np, const BN_ULONG *n0p, int num)
crypto/openssl/crypto/bn/bn_asm.c
894
BN_ULONG c0, c1, ml, *tp, n0;
crypto/openssl/crypto/bn/bn_asm.c
896
BN_ULONG mh;
crypto/openssl/crypto/bn/bn_asm.c
898
volatile BN_ULONG *vp;
crypto/openssl/crypto/bn/bn_asm.c
906
vp = tp = alloca((num + 2) * sizeof(BN_ULONG));
crypto/openssl/crypto/bn/bn_asm.c
986
int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
crypto/openssl/crypto/bn/bn_asm.c
987
const BN_ULONG *np, const BN_ULONG *n0, int num)
crypto/openssl/crypto/bn/bn_asm.c
997
void bn_sqr_comba4(BN_ULONG *r, const BN_ULONG *a)
crypto/openssl/crypto/bn/bn_asm.c
999
BN_ULONG t[8];
crypto/openssl/crypto/bn/bn_blind.c
180
BN_ULONG mask;
crypto/openssl/crypto/bn/bn_blind.c
183
mask = (BN_ULONG)0 - ((i - ntop) >> (8 * sizeof(i) - 1));
crypto/openssl/crypto/bn/bn_blind.c
186
mask = (BN_ULONG)0 - ((rtop - ntop) >> (8 * sizeof(ntop) - 1));
crypto/openssl/crypto/bn/bn_conv.c
122
BN_ULONG l = 0;
crypto/openssl/crypto/bn/bn_conv.c
199
BN_ULONG l = 0;
crypto/openssl/crypto/bn/bn_conv.c
53
BN_ULONG *bn_data = NULL, *lp;
crypto/openssl/crypto/bn/bn_conv.c
66
bn_data = OPENSSL_malloc(bn_data_num * sizeof(BN_ULONG));
crypto/openssl/crypto/bn/bn_conv.c
86
if (*lp == (BN_ULONG)-1)
crypto/openssl/crypto/bn/bn_dh.c
1024
static const BN_ULONG ffdhe6144_p[] = {
crypto/openssl/crypto/bn/bn_dh.c
1075
static const BN_ULONG ffdhe6144_q[] = {
crypto/openssl/crypto/bn/bn_dh.c
1174
static const BN_ULONG ffdhe8192_p[] = {
crypto/openssl/crypto/bn/bn_dh.c
1241
static const BN_ULONG ffdhe8192_q[] = {
crypto/openssl/crypto/bn/bn_dh.c
132
static const BN_ULONG modp_3072_p[] = {
crypto/openssl/crypto/bn/bn_dh.c
1377
(BN_ULONG *)x, \
crypto/openssl/crypto/bn/bn_dh.c
1383
static const BN_ULONG value_2 = 2;
crypto/openssl/crypto/bn/bn_dh.c
1386
(BN_ULONG *)&value_2, 1, 1, 0, BN_FLG_STATIC_DATA
crypto/openssl/crypto/bn/bn_dh.c
159
static const BN_ULONG modp_3072_q[] = {
crypto/openssl/crypto/bn/bn_dh.c
17
#define BN_DEF(lo, hi) (BN_ULONG)hi << 32 | lo
crypto/openssl/crypto/bn/bn_dh.c
217
static const BN_ULONG modp_4096_p[] = {
crypto/openssl/crypto/bn/bn_dh.c
252
static const BN_ULONG modp_4096_q[] = {
crypto/openssl/crypto/bn/bn_dh.c
326
static const BN_ULONG modp_6144_p[] = {
crypto/openssl/crypto/bn/bn_dh.c
33
static const BN_ULONG modp_1536_p[] = {
crypto/openssl/crypto/bn/bn_dh.c
377
static const BN_ULONG modp_6144_q[] = {
crypto/openssl/crypto/bn/bn_dh.c
48
static const BN_ULONG modp_1536_q[] = {
crypto/openssl/crypto/bn/bn_dh.c
483
static const BN_ULONG modp_8192_p[] = {
crypto/openssl/crypto/bn/bn_dh.c
550
static const BN_ULONG modp_8192_q[] = {
crypto/openssl/crypto/bn/bn_dh.c
682
static const BN_ULONG dh1024_160_p[] = {
crypto/openssl/crypto/bn/bn_dh.c
692
static const BN_ULONG dh1024_160_q[] = {
crypto/openssl/crypto/bn/bn_dh.c
694
(BN_ULONG)0xF518AA87
crypto/openssl/crypto/bn/bn_dh.c
696
static const BN_ULONG dh1024_160_g[] = {
crypto/openssl/crypto/bn/bn_dh.c
707
static const BN_ULONG dh2048_224_p[] = {
crypto/openssl/crypto/bn/bn_dh.c
71
static const BN_ULONG modp_2048_p[] = {
crypto/openssl/crypto/bn/bn_dh.c
725
static const BN_ULONG dh2048_224_q[] = {
crypto/openssl/crypto/bn/bn_dh.c
727
BN_DEF(0x99717710, 0xC58D93FE), (BN_ULONG)0x801C0D34
crypto/openssl/crypto/bn/bn_dh.c
729
static const BN_ULONG dh2048_224_g[] = {
crypto/openssl/crypto/bn/bn_dh.c
748
static const BN_ULONG dh2048_256_p[] = {
crypto/openssl/crypto/bn/bn_dh.c
766
static const BN_ULONG dh2048_256_q[] = {
crypto/openssl/crypto/bn/bn_dh.c
770
static const BN_ULONG dh2048_256_g[] = {
crypto/openssl/crypto/bn/bn_dh.c
790
static const BN_ULONG ffdhe2048_p[] = {
crypto/openssl/crypto/bn/bn_dh.c
809
static const BN_ULONG ffdhe2048_q[] = {
crypto/openssl/crypto/bn/bn_dh.c
844
static const BN_ULONG ffdhe3072_p[] = {
crypto/openssl/crypto/bn/bn_dh.c
871
static const BN_ULONG ffdhe3072_q[] = {
crypto/openssl/crypto/bn/bn_dh.c
90
static const BN_ULONG modp_2048_q[] = {
crypto/openssl/crypto/bn/bn_dh.c
922
static const BN_ULONG ffdhe4096_p[] = {
crypto/openssl/crypto/bn/bn_dh.c
957
static const BN_ULONG ffdhe4096_q[] = {
crypto/openssl/crypto/bn/bn_div.c
115
static BN_ULONG bn_div_3_words(const BN_ULONG *m, BN_ULONG d1, BN_ULONG d0)
crypto/openssl/crypto/bn/bn_div.c
119
BN_ULONG Q = 0, mask;
crypto/openssl/crypto/bn/bn_div.c
143
BN_ULONG *d = num->d, n, m, rmask;
crypto/openssl/crypto/bn/bn_div.c
149
rmask = (BN_ULONG)0 - rshift; /* rmask = 0 - (rshift != 0) */
crypto/openssl/crypto/bn/bn_div.c
271
BN_ULONG *resp, *wnum, *wnumtop;
crypto/openssl/crypto/bn/bn_div.c
272
BN_ULONG d0, d1;
crypto/openssl/crypto/bn/bn_div.c
312
memset(&(snum->d[num_n]), 0, (div_n - num_n + 1) * sizeof(BN_ULONG));
crypto/openssl/crypto/bn/bn_div.c
342
BN_ULONG q, l0;
crypto/openssl/crypto/bn/bn_div.c
350
BN_ULONG n0, n1, rem = 0;
crypto/openssl/crypto/bn/bn_div.c
357
BN_ULONG n2 = (wnumtop == wnum) ? 0 : wnumtop[-2];
crypto/openssl/crypto/bn/bn_div.c
362
q = (BN_ULONG)(((((BN_ULLONG)n0) << BN_BITS2) | n1) / d0);
crypto/openssl/crypto/bn/bn_div.c
386
BN_ULONG t2l, t2h;
crypto/openssl/crypto/bn/bn_div.c
400
BN_ULONG ql, qh;
crypto/openssl/crypto/bn/bn_div.c
91
BN_ULONG bn_div_3_words(const BN_ULONG *m, BN_ULONG d1, BN_ULONG d0);
crypto/openssl/crypto/bn/bn_exp.c
1158
int BN_mod_exp_mont_word(BIGNUM *rr, BN_ULONG a, const BIGNUM *p,
crypto/openssl/crypto/bn/bn_exp.c
1164
BN_ULONG w, next_w;
crypto/openssl/crypto/bn/bn_exp.c
148
BN_ULONG A = a->d[0];
crypto/openssl/crypto/bn/bn_exp.c
398
if (m->d[j - 1] & (((BN_ULONG)1) << (BN_BITS2 - 1))) {
crypto/openssl/crypto/bn/bn_exp.c
487
static BN_ULONG bn_get_bits(const BIGNUM *a, int bitpos)
crypto/openssl/crypto/bn/bn_exp.c
489
BN_ULONG ret = 0;
crypto/openssl/crypto/bn/bn_exp.c
519
BN_ULONG *table = (BN_ULONG *)buf;
crypto/openssl/crypto/bn/bn_exp.c
545
volatile BN_ULONG *table = (volatile BN_ULONG *)buf;
crypto/openssl/crypto/bn/bn_exp.c
552
BN_ULONG acc = 0;
crypto/openssl/crypto/bn/bn_exp.c
555
acc |= table[j] & ((BN_ULONG)0 - (constant_time_eq_int(j, idx) & 1));
crypto/openssl/crypto/bn/bn_exp.c
562
BN_ULONG y0, y1, y2, y3;
crypto/openssl/crypto/bn/bn_exp.c
567
y0 = (BN_ULONG)0 - (constant_time_eq_int(i, 0) & 1);
crypto/openssl/crypto/bn/bn_exp.c
568
y1 = (BN_ULONG)0 - (constant_time_eq_int(i, 1) & 1);
crypto/openssl/crypto/bn/bn_exp.c
569
y2 = (BN_ULONG)0 - (constant_time_eq_int(i, 2) & 1);
crypto/openssl/crypto/bn/bn_exp.c
570
y3 = (BN_ULONG)0 - (constant_time_eq_int(i, 3) & 1);
crypto/openssl/crypto/bn/bn_exp.c
573
BN_ULONG acc = 0;
crypto/openssl/crypto/bn/bn_exp.c
577
& ((BN_ULONG)0 - (constant_time_eq_int(j, idx) & 1));
crypto/openssl/crypto/bn/bn_exp.c
742
tmp.d = (BN_ULONG *)(powerbuf + sizeof(m->d[0]) * top * numPowers);
crypto/openssl/crypto/bn/bn_exp.c
751
if (m->d[top - 1] & (((BN_ULONG)1) << (BN_BITS2 - 1))) {
crypto/openssl/crypto/bn/bn_exp.c
771
typedef int (*bn_pwr5_mont_f)(BN_ULONG *tp, const BN_ULONG *np,
crypto/openssl/crypto/bn/bn_exp.c
772
const BN_ULONG *n0, const void *table,
crypto/openssl/crypto/bn/bn_exp.c
774
int bn_pwr5_mont_t4_8(BN_ULONG *tp, const BN_ULONG *np,
crypto/openssl/crypto/bn/bn_exp.c
775
const BN_ULONG *n0, const void *table,
crypto/openssl/crypto/bn/bn_exp.c
777
int bn_pwr5_mont_t4_16(BN_ULONG *tp, const BN_ULONG *np,
crypto/openssl/crypto/bn/bn_exp.c
778
const BN_ULONG *n0, const void *table,
crypto/openssl/crypto/bn/bn_exp.c
780
int bn_pwr5_mont_t4_24(BN_ULONG *tp, const BN_ULONG *np,
crypto/openssl/crypto/bn/bn_exp.c
781
const BN_ULONG *n0, const void *table,
crypto/openssl/crypto/bn/bn_exp.c
783
int bn_pwr5_mont_t4_32(BN_ULONG *tp, const BN_ULONG *np,
crypto/openssl/crypto/bn/bn_exp.c
784
const BN_ULONG *n0, const void *table,
crypto/openssl/crypto/bn/bn_exp.c
792
typedef int (*bn_mul_mont_f)(BN_ULONG *rp, const BN_ULONG *ap,
crypto/openssl/crypto/bn/bn_exp.c
793
const void *bp, const BN_ULONG *np,
crypto/openssl/crypto/bn/bn_exp.c
794
const BN_ULONG *n0);
crypto/openssl/crypto/bn/bn_exp.c
795
int bn_mul_mont_t4_8(BN_ULONG *rp, const BN_ULONG *ap, const void *bp,
crypto/openssl/crypto/bn/bn_exp.c
796
const BN_ULONG *np, const BN_ULONG *n0);
crypto/openssl/crypto/bn/bn_exp.c
797
int bn_mul_mont_t4_16(BN_ULONG *rp, const BN_ULONG *ap,
crypto/openssl/crypto/bn/bn_exp.c
798
const void *bp, const BN_ULONG *np,
crypto/openssl/crypto/bn/bn_exp.c
799
const BN_ULONG *n0);
crypto/openssl/crypto/bn/bn_exp.c
800
int bn_mul_mont_t4_24(BN_ULONG *rp, const BN_ULONG *ap,
crypto/openssl/crypto/bn/bn_exp.c
801
const void *bp, const BN_ULONG *np,
crypto/openssl/crypto/bn/bn_exp.c
802
const BN_ULONG *n0);
crypto/openssl/crypto/bn/bn_exp.c
803
int bn_mul_mont_t4_32(BN_ULONG *rp, const BN_ULONG *ap,
crypto/openssl/crypto/bn/bn_exp.c
804
const void *bp, const BN_ULONG *np,
crypto/openssl/crypto/bn/bn_exp.c
805
const BN_ULONG *n0);
crypto/openssl/crypto/bn/bn_exp.c
812
void bn_mul_mont_vis3(BN_ULONG *rp, const BN_ULONG *ap,
crypto/openssl/crypto/bn/bn_exp.c
813
const void *bp, const BN_ULONG *np,
crypto/openssl/crypto/bn/bn_exp.c
814
const BN_ULONG *n0, int num);
crypto/openssl/crypto/bn/bn_exp.c
815
void bn_mul_mont_t4(BN_ULONG *rp, const BN_ULONG *ap,
crypto/openssl/crypto/bn/bn_exp.c
816
const void *bp, const BN_ULONG *np,
crypto/openssl/crypto/bn/bn_exp.c
817
const BN_ULONG *n0, int num);
crypto/openssl/crypto/bn/bn_exp.c
818
void bn_mul_mont_gather5_t4(BN_ULONG *rp, const BN_ULONG *ap,
crypto/openssl/crypto/bn/bn_exp.c
819
const void *table, const BN_ULONG *np,
crypto/openssl/crypto/bn/bn_exp.c
820
const BN_ULONG *n0, int num, int power);
crypto/openssl/crypto/bn/bn_exp.c
821
void bn_flip_n_scatter5_t4(const BN_ULONG *inp, size_t num,
crypto/openssl/crypto/bn/bn_exp.c
823
void bn_gather5_t4(BN_ULONG *out, size_t num,
crypto/openssl/crypto/bn/bn_exp.c
825
void bn_flip_t4(BN_ULONG *dst, BN_ULONG *src, size_t num);
crypto/openssl/crypto/bn/bn_exp.c
827
BN_ULONG *np = mont->N.d, *n0 = mont->n0;
crypto/openssl/crypto/bn/bn_exp.c
854
np = alloca(top * sizeof(BN_ULONG));
crypto/openssl/crypto/bn/bn_exp.c
903
OPENSSL_cleanse(np, top * sizeof(BN_ULONG));
crypto/openssl/crypto/bn/bn_exp.c
925
void bn_mul_mont_gather5(BN_ULONG *rp, const BN_ULONG *ap,
crypto/openssl/crypto/bn/bn_exp.c
926
const void *table, const BN_ULONG *np,
crypto/openssl/crypto/bn/bn_exp.c
927
const BN_ULONG *n0, int num, int power);
crypto/openssl/crypto/bn/bn_exp.c
928
void bn_scatter5(const BN_ULONG *inp, size_t num,
crypto/openssl/crypto/bn/bn_exp.c
930
void bn_gather5(BN_ULONG *out, size_t num, void *table, size_t power);
crypto/openssl/crypto/bn/bn_exp.c
931
void bn_power5(BN_ULONG *rp, const BN_ULONG *ap,
crypto/openssl/crypto/bn/bn_exp.c
932
const void *table, const BN_ULONG *np,
crypto/openssl/crypto/bn/bn_exp.c
933
const BN_ULONG *n0, int num, int power);
crypto/openssl/crypto/bn/bn_exp.c
934
int bn_get_bits5(const BN_ULONG *ap, int off);
crypto/openssl/crypto/bn/bn_exp.c
936
BN_ULONG *n0 = mont->n0, *np;
crypto/openssl/crypto/bn/bn_gcd.c
583
BN_ULONG pow2_numbits, pow2_numbits_temp, pow2_condition_mask, pow2_flag;
crypto/openssl/crypto/bn/bn_gf2m.c
1141
BN_ULONG mask;
crypto/openssl/crypto/bn/bn_gf2m.c
121
static void bn_GF2m_mul_1x1(BN_ULONG *r1, BN_ULONG *r0, const BN_ULONG a,
crypto/openssl/crypto/bn/bn_gf2m.c
122
const BN_ULONG b)
crypto/openssl/crypto/bn/bn_gf2m.c
124
register BN_ULONG h, l, s;
crypto/openssl/crypto/bn/bn_gf2m.c
125
BN_ULONG tab[16], top3b = a >> 61;
crypto/openssl/crypto/bn/bn_gf2m.c
126
register BN_ULONG a1, a2, a4, a8;
crypto/openssl/crypto/bn/bn_gf2m.c
223
static void bn_GF2m_mul_2x2(BN_ULONG *r, const BN_ULONG a1, const BN_ULONG a0,
crypto/openssl/crypto/bn/bn_gf2m.c
224
const BN_ULONG b1, const BN_ULONG b0)
crypto/openssl/crypto/bn/bn_gf2m.c
226
BN_ULONG m1, m0;
crypto/openssl/crypto/bn/bn_gf2m.c
236
void bn_GF2m_mul_2x2(BN_ULONG *r, BN_ULONG a1, BN_ULONG a0, BN_ULONG b1,
crypto/openssl/crypto/bn/bn_gf2m.c
237
BN_ULONG b0);
crypto/openssl/crypto/bn/bn_gf2m.c
288
BN_ULONG zz, *z;
crypto/openssl/crypto/bn/bn_gf2m.c
359
BN_ULONG tmp_ulong;
crypto/openssl/crypto/bn/bn_gf2m.c
406
BN_ULONG x1, x0, y1, y0, zz[4];
crypto/openssl/crypto/bn/bn_gf2m.c
52
static void bn_GF2m_mul_1x1(BN_ULONG *r1, BN_ULONG *r0, const BN_ULONG a,
crypto/openssl/crypto/bn/bn_gf2m.c
53
const BN_ULONG b)
crypto/openssl/crypto/bn/bn_gf2m.c
55
register BN_ULONG h, l, s;
crypto/openssl/crypto/bn/bn_gf2m.c
56
BN_ULONG tab[8], top2b = a >> 30;
crypto/openssl/crypto/bn/bn_gf2m.c
57
register BN_ULONG a1, a2, a4;
crypto/openssl/crypto/bn/bn_gf2m.c
614
BN_ULONG *udp, *bdp, *vdp, *cdp;
crypto/openssl/crypto/bn/bn_gf2m.c
641
BN_ULONG u0, u1, b0, b1, mask;
crypto/openssl/crypto/bn/bn_gf2m.c
645
mask = (BN_ULONG)0 - (b0 & 1);
crypto/openssl/crypto/bn/bn_gf2m.c
687
BN_ULONG ul;
crypto/openssl/crypto/bn/bn_intern.c
155
int bn_copy_words(BN_ULONG *out, const BIGNUM *in, int size)
crypto/openssl/crypto/bn/bn_intern.c
166
BN_ULONG *bn_get_words(const BIGNUM *a)
crypto/openssl/crypto/bn/bn_intern.c
171
void bn_set_static_words(BIGNUM *a, const BN_ULONG *words, int size)
crypto/openssl/crypto/bn/bn_intern.c
177
a->d = (BN_ULONG *)words;
crypto/openssl/crypto/bn/bn_intern.c
184
int bn_set_words(BIGNUM *a, const BN_ULONG *words, int num_words)
crypto/openssl/crypto/bn/bn_intern.c
191
memcpy(a->d, words, sizeof(BN_ULONG) * num_words);
crypto/openssl/crypto/bn/bn_kron.c
14
#define BN_lsw(n) (((n)->top == 0) ? (BN_ULONG)0 : (n)->d[0])
crypto/openssl/crypto/bn/bn_lib.c
101
int BN_num_bits_word(BN_ULONG l)
crypto/openssl/crypto/bn/bn_lib.c
1029
int BN_abs_is_word(const BIGNUM *a, const BN_ULONG w)
crypto/openssl/crypto/bn/bn_lib.c
103
BN_ULONG x, mask;
crypto/openssl/crypto/bn/bn_lib.c
1044
int BN_is_word(const BIGNUM *a, const BN_ULONG w)
crypto/openssl/crypto/bn/bn_lib.c
1049
int ossl_bn_is_word_fixed_top(const BIGNUM *a, const BN_ULONG w)
crypto/openssl/crypto/bn/bn_lib.c
1052
const BN_ULONG *ap = a->d;
crypto/openssl/crypto/bn/bn_lib.c
1152
BN_ULONG limb;
crypto/openssl/crypto/bn/bn_lib.c
1173
BN_ULONG *ftl;
crypto/openssl/crypto/bn/bn_lib.c
264
static BN_ULONG *bn_expand_internal(const BIGNUM *b, int words)
crypto/openssl/crypto/bn/bn_lib.c
266
BN_ULONG *a = NULL;
crypto/openssl/crypto/bn/bn_lib.c
301
BN_ULONG *a = bn_expand_internal(b, words);
crypto/openssl/crypto/bn/bn_lib.c
361
BN_ULONG *tmp_d;
crypto/openssl/crypto/bn/bn_lib.c
403
BN_ULONG BN_get_word(const BIGNUM *a)
crypto/openssl/crypto/bn/bn_lib.c
413
int BN_set_word(BIGNUM *a, BN_ULONG w)
crypto/openssl/crypto/bn/bn_lib.c
416
if (bn_expand(a, (int)sizeof(BN_ULONG) * 8) == NULL)
crypto/openssl/crypto/bn/bn_lib.c
513
BN_ULONG l = 0; /* Accumulator */
crypto/openssl/crypto/bn/bn_lib.c
517
BN_ULONG byte_xored = *s ^ xor;
crypto/openssl/crypto/bn/bn_lib.c
518
BN_ULONG byte = (byte_xored + carry) & 0xff;
crypto/openssl/crypto/bn/bn_lib.c
550
BN_ULONG l;
crypto/openssl/crypto/bn/bn_lib.c
708
BN_ULONG t1, t2, *ap, *bp;
crypto/openssl/crypto/bn/bn_lib.c
746
BN_ULONG t1, t2;
crypto/openssl/crypto/bn/bn_lib.c
807
a->d[i] |= (((BN_ULONG)1) << j);
crypto/openssl/crypto/bn/bn_lib.c
825
a->d[i] &= (~(((BN_ULONG)1) << j));
crypto/openssl/crypto/bn/bn_lib.c
84
static const BN_ULONG data_one = 1L;
crypto/openssl/crypto/bn/bn_lib.c
841
return (int)(((a->d[i]) >> j) & ((BN_ULONG)1));
crypto/openssl/crypto/bn/bn_lib.c
86
(BN_ULONG *)&data_one, 1, 1, 0, BN_FLG_STATIC_DATA
crypto/openssl/crypto/bn/bn_lib.c
884
int bn_cmp_words(const BN_ULONG *a, const BN_ULONG *b, int n)
crypto/openssl/crypto/bn/bn_lib.c
887
BN_ULONG aa, bb;
crypto/openssl/crypto/bn/bn_lib.c
914
int bn_cmp_part_words(const BN_ULONG *a, const BN_ULONG *b, int cl, int dl)
crypto/openssl/crypto/bn/bn_lib.c
941
void BN_consttime_swap(BN_ULONG condition, BIGNUM *a, BIGNUM *b, int nwords)
crypto/openssl/crypto/bn/bn_lib.c
943
BN_ULONG t;
crypto/openssl/crypto/bn/bn_local.h
188
BN_ULONG *_not_const; \
crypto/openssl/crypto/bn/bn_local.h
230
BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num,
crypto/openssl/crypto/bn/bn_local.h
231
BN_ULONG w);
crypto/openssl/crypto/bn/bn_local.h
232
BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w);
crypto/openssl/crypto/bn/bn_local.h
233
void bn_sqr_words(BN_ULONG *rp, const BN_ULONG *ap, int num);
crypto/openssl/crypto/bn/bn_local.h
234
BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d);
crypto/openssl/crypto/bn/bn_local.h
235
BN_ULONG bn_add_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
crypto/openssl/crypto/bn/bn_local.h
237
BN_ULONG bn_sub_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
crypto/openssl/crypto/bn/bn_local.h
241
BN_ULONG *d; /*
crypto/openssl/crypto/bn/bn_local.h
261
BN_ULONG n0[2]; /* least significant word(s) of Ni; (type
crypto/openssl/crypto/bn/bn_local.h
390
#define BN_UMULT_HIGH(a, b) (BN_ULONG)asm("umulh %a0,%a1,%v0", (a), (b))
crypto/openssl/crypto/bn/bn_local.h
393
register BN_ULONG ret; \
crypto/openssl/crypto/bn/bn_local.h
402
register BN_ULONG ret; \
crypto/openssl/crypto/bn/bn_local.h
411
register BN_ULONG ret,discard; \
crypto/openssl/crypto/bn/bn_local.h
435
register BN_ULONG ret; \
crypto/openssl/crypto/bn/bn_local.h
448
register BN_ULONG ret; \
crypto/openssl/crypto/bn/bn_local.h
461
BN_ULONG *ftl = &(a)->d[(a)->top - 1]; \
crypto/openssl/crypto/bn/bn_local.h
473
#define Lw(t) (((BN_ULONG)(t)) & BN_MASK2)
crypto/openssl/crypto/bn/bn_local.h
474
#define Hw(t) (((BN_ULONG)((t) >> BN_BITS2)) & BN_MASK2)
crypto/openssl/crypto/bn/bn_local.h
503
BN_ULONG high, low, ret, tmp = (a); \
crypto/openssl/crypto/bn/bn_local.h
516
BN_ULONG high, low, ret, ta = (a); \
crypto/openssl/crypto/bn/bn_local.h
526
BN_ULONG tmp = (a); \
crypto/openssl/crypto/bn/bn_local.h
533
BN_ULONG high, low, ret, tmp = (a); \
crypto/openssl/crypto/bn/bn_local.h
547
BN_ULONG high, low, ret, ta = (a); \
crypto/openssl/crypto/bn/bn_local.h
558
BN_ULONG tmp = (a); \
crypto/openssl/crypto/bn/bn_local.h
578
BN_ULONG m, m1, lt, ht; \
crypto/openssl/crypto/bn/bn_local.h
587
ht += L2HBITS((BN_ULONG)(m < m1)); \
crypto/openssl/crypto/bn/bn_local.h
598
BN_ULONG l, h, m; \
crypto/openssl/crypto/bn/bn_local.h
616
BN_ULONG l, h; \
crypto/openssl/crypto/bn/bn_local.h
635
BN_ULONG l, h; \
crypto/openssl/crypto/bn/bn_local.h
654
void bn_mul_normal(BN_ULONG *r, BN_ULONG *a, int na, BN_ULONG *b, int nb);
crypto/openssl/crypto/bn/bn_local.h
655
void bn_mul_comba8(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b);
crypto/openssl/crypto/bn/bn_local.h
656
void bn_mul_comba4(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b);
crypto/openssl/crypto/bn/bn_local.h
657
void bn_sqr_normal(BN_ULONG *r, const BN_ULONG *a, int n, BN_ULONG *tmp);
crypto/openssl/crypto/bn/bn_local.h
658
void bn_sqr_comba8(BN_ULONG *r, const BN_ULONG *a);
crypto/openssl/crypto/bn/bn_local.h
659
void bn_sqr_comba4(BN_ULONG *r, const BN_ULONG *a);
crypto/openssl/crypto/bn/bn_local.h
660
int bn_cmp_words(const BN_ULONG *a, const BN_ULONG *b, int n);
crypto/openssl/crypto/bn/bn_local.h
661
int bn_cmp_part_words(const BN_ULONG *a, const BN_ULONG *b, int cl, int dl);
crypto/openssl/crypto/bn/bn_local.h
662
void bn_mul_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2,
crypto/openssl/crypto/bn/bn_local.h
663
int dna, int dnb, BN_ULONG *t);
crypto/openssl/crypto/bn/bn_local.h
664
void bn_mul_part_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b,
crypto/openssl/crypto/bn/bn_local.h
665
int n, int tna, int tnb, BN_ULONG *t);
crypto/openssl/crypto/bn/bn_local.h
666
void bn_sqr_recursive(BN_ULONG *r, const BN_ULONG *a, int n2, BN_ULONG *t);
crypto/openssl/crypto/bn/bn_local.h
667
void bn_mul_low_normal(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n);
crypto/openssl/crypto/bn/bn_local.h
668
void bn_mul_low_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2,
crypto/openssl/crypto/bn/bn_local.h
669
BN_ULONG *t);
crypto/openssl/crypto/bn/bn_local.h
670
BN_ULONG bn_sub_part_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b,
crypto/openssl/crypto/bn/bn_local.h
672
int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
crypto/openssl/crypto/bn/bn_local.h
673
const BN_ULONG *np, const BN_ULONG *n0, int num);
crypto/openssl/crypto/bn/bn_mod.c
140
BN_ULONG borrow, carry, ta, tb, mask, *rp;
crypto/openssl/crypto/bn/bn_mod.c
141
const BN_ULONG *ap, *bp;
crypto/openssl/crypto/bn/bn_mod.c
151
mask = (BN_ULONG)0 - ((i - a->top) >> (8 * sizeof(i) - 1));
crypto/openssl/crypto/bn/bn_mod.c
154
mask = (BN_ULONG)0 - ((i - b->top) >> (8 * sizeof(i) - 1));
crypto/openssl/crypto/bn/bn_mod.c
58
BN_ULONG storage[1024 / BN_BITS2];
crypto/openssl/crypto/bn/bn_mod.c
59
BN_ULONG carry, temp, mask, *rp, *tp = storage;
crypto/openssl/crypto/bn/bn_mod.c
60
const BN_ULONG *ap, *bp;
crypto/openssl/crypto/bn/bn_mod.c
66
tp = OPENSSL_malloc(mtop * sizeof(BN_ULONG));
crypto/openssl/crypto/bn/bn_mod.c
75
mask = (BN_ULONG)0 - ((i - a->top) >> (8 * sizeof(i) - 1));
crypto/openssl/crypto/bn/bn_mod.c
79
mask = (BN_ULONG)0 - ((i - b->top) >> (8 * sizeof(i) - 1));
crypto/openssl/crypto/bn/bn_mod.c
91
((volatile BN_ULONG *)tp)[i] = 0;
crypto/openssl/crypto/bn/bn_mont.c
111
v = (BN_ULONG)0 - ((i - rtop) >> (8 * sizeof(rtop) - 1));
crypto/openssl/crypto/bn/bn_mont.c
281
BN_ULONG buf[2];
crypto/openssl/crypto/bn/bn_mont.c
322
if (bn_expand(Ri, (int)sizeof(BN_ULONG) * 2) == NULL)
crypto/openssl/crypto/bn/bn_mont.c
483
ctx->n0[0] = ((BN_ULONG)nhi << 32) | nlo;
crypto/openssl/crypto/bn/bn_mont.c
90
BN_ULONG *ap, *np, *rp, n0, v, carry;
crypto/openssl/crypto/bn/bn_mul.c
175
void bn_mul_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2,
crypto/openssl/crypto/bn/bn_mul.c
176
int dna, int dnb, BN_ULONG *t)
crypto/openssl/crypto/bn/bn_mul.c
181
BN_ULONG ln, lo, *p;
crypto/openssl/crypto/bn/bn_mul.c
204
sizeof(BN_ULONG) * -(dna + dnb));
crypto/openssl/crypto/bn/bn_mul.c
27
BN_ULONG bn_sub_part_words(BN_ULONG *r,
crypto/openssl/crypto/bn/bn_mul.c
28
const BN_ULONG *a, const BN_ULONG *b,
crypto/openssl/crypto/bn/bn_mul.c
307
if (ln < (BN_ULONG)c1) {
crypto/openssl/crypto/bn/bn_mul.c
31
BN_ULONG c, t;
crypto/openssl/crypto/bn/bn_mul.c
322
void bn_mul_part_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n,
crypto/openssl/crypto/bn/bn_mul.c
323
int tna, int tnb, BN_ULONG *t)
crypto/openssl/crypto/bn/bn_mul.c
327
BN_ULONG ln, lo, *p;
crypto/openssl/crypto/bn/bn_mul.c
400
sizeof(BN_ULONG) * (n2 - tna - tnb));
crypto/openssl/crypto/bn/bn_mul.c
462
if (ln < (BN_ULONG)c1) {
crypto/openssl/crypto/bn/bn_mul.c
477
void bn_mul_low_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2,
crypto/openssl/crypto/bn/bn_mul.c
478
BN_ULONG *t)
crypto/openssl/crypto/bn/bn_mul.c
571
j = BN_num_bits_word((BN_ULONG)al);
crypto/openssl/crypto/bn/bn_mul.c
574
j = BN_num_bits_word((BN_ULONG)bl);
crypto/openssl/crypto/bn/bn_mul.c
622
void bn_mul_normal(BN_ULONG *r, BN_ULONG *a, int na, BN_ULONG *b, int nb)
crypto/openssl/crypto/bn/bn_mul.c
624
BN_ULONG *rr;
crypto/openssl/crypto/bn/bn_mul.c
628
BN_ULONG *ltmp;
crypto/openssl/crypto/bn/bn_mul.c
663
void bn_mul_low_normal(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n)
crypto/openssl/crypto/bn/bn_nist.c
104
static const BN_ULONG _nist_p_192[][BN_NIST_192_TOP] = {
crypto/openssl/crypto/bn/bn_nist.c
1052
BN_ULONG t_d[BN_NIST_384_TOP];
crypto/openssl/crypto/bn/bn_nist.c
1060
register BN_ULONG *ap, t, c;
crypto/openssl/crypto/bn/bn_nist.c
110
static const BN_ULONG _nist_p_192_sqr[] = {
crypto/openssl/crypto/bn/bn_nist.c
1140
#define BN_NIST_521_TOP_MASK ((BN_ULONG)BN_MASK2 >> BN_NIST_521_LSHIFT)
crypto/openssl/crypto/bn/bn_nist.c
1146
BN_ULONG *r_d, *a_d = a->d, t_d[BN_NIST_521_TOP], val, tmp, *res;
crypto/openssl/crypto/bn/bn_nist.c
1148
(BN_ULONG *)_nist_p_521_sqr,
crypto/openssl/crypto/bn/bn_nist.c
115
static const BN_ULONG _nist_p_224[][BN_NIST_224_TOP] = {
crypto/openssl/crypto/bn/bn_nist.c
122
static const BN_ULONG _nist_p_224_sqr[] = {
crypto/openssl/crypto/bn/bn_nist.c
129
static const BN_ULONG _nist_p_256[][BN_NIST_256_TOP] = {
crypto/openssl/crypto/bn/bn_nist.c
142
static const BN_ULONG _nist_p_256_sqr[] = {
crypto/openssl/crypto/bn/bn_nist.c
149
static const BN_ULONG _nist_p_384[][BN_NIST_384_TOP] = {
crypto/openssl/crypto/bn/bn_nist.c
162
static const BN_ULONG _nist_p_384_sqr[] = {
crypto/openssl/crypto/bn/bn_nist.c
169
static const BN_ULONG _nist_p_521[] = { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,
crypto/openssl/crypto/bn/bn_nist.c
174
static const BN_ULONG _nist_p_521_sqr[] = {
crypto/openssl/crypto/bn/bn_nist.c
187
(BN_ULONG *)_nist_p_192[0],
crypto/openssl/crypto/bn/bn_nist.c
195
(BN_ULONG *)_nist_p_224[0],
crypto/openssl/crypto/bn/bn_nist.c
203
(BN_ULONG *)_nist_p_256[0],
crypto/openssl/crypto/bn/bn_nist.c
21
static const BN_ULONG _nist_p_192[][BN_NIST_192_TOP] = {
crypto/openssl/crypto/bn/bn_nist.c
211
(BN_ULONG *)_nist_p_384[0],
crypto/openssl/crypto/bn/bn_nist.c
219
(BN_ULONG *)_nist_p_521,
crypto/openssl/crypto/bn/bn_nist.c
267
const BN_ULONG *src = src_in; \
crypto/openssl/crypto/bn/bn_nist.c
27
static const BN_ULONG _nist_p_192_sqr[] = {
crypto/openssl/crypto/bn/bn_nist.c
275
static void nist_cp_bn(BN_ULONG *dst, const BN_ULONG *src, int top)
crypto/openssl/crypto/bn/bn_nist.c
285
#define bn_64_set_0(to, n) (to)[n] = (BN_ULONG)0;
crypto/openssl/crypto/bn/bn_nist.c
313
#define bn_32_set_0(to, n) (to)[n] = (BN_ULONG)0;
crypto/openssl/crypto/bn/bn_nist.c
32
static const BN_ULONG _nist_p_224[][BN_NIST_224_TOP] = {
crypto/openssl/crypto/bn/bn_nist.c
355
register BN_ULONG *r_d, *a_d = a->d;
crypto/openssl/crypto/bn/bn_nist.c
357
BN_ULONG bn[BN_NIST_192_TOP];
crypto/openssl/crypto/bn/bn_nist.c
358
unsigned int ui[BN_NIST_192_TOP * sizeof(BN_ULONG) / sizeof(unsigned int)];
crypto/openssl/crypto/bn/bn_nist.c
360
BN_ULONG c_d[BN_NIST_192_TOP], *res;
crypto/openssl/crypto/bn/bn_nist.c
362
(BN_ULONG *)_nist_p_192_sqr,
crypto/openssl/crypto/bn/bn_nist.c
40
static const BN_ULONG _nist_p_224_sqr[] = {
crypto/openssl/crypto/bn/bn_nist.c
438
BN_ULONG t_d[BN_NIST_192_TOP];
crypto/openssl/crypto/bn/bn_nist.c
47
static const BN_ULONG _nist_p_256[][BN_NIST_256_TOP] = {
crypto/openssl/crypto/bn/bn_nist.c
471
typedef BN_ULONG (*bn_addsub_f)(BN_ULONG *, const BN_ULONG *,
crypto/openssl/crypto/bn/bn_nist.c
472
const BN_ULONG *, int);
crypto/openssl/crypto/bn/bn_nist.c
490
BN_ULONG *r_d, *a_d = a->d;
crypto/openssl/crypto/bn/bn_nist.c
492
BN_ULONG bn[BN_NIST_224_TOP];
crypto/openssl/crypto/bn/bn_nist.c
493
unsigned int ui[BN_NIST_224_TOP * sizeof(BN_ULONG) / sizeof(unsigned int)];
crypto/openssl/crypto/bn/bn_nist.c
495
BN_ULONG c_d[BN_NIST_224_TOP], *res;
crypto/openssl/crypto/bn/bn_nist.c
498
(BN_ULONG *)_nist_p_224_sqr,
crypto/openssl/crypto/bn/bn_nist.c
594
BN_ULONG t_d[BN_NIST_224_TOP];
crypto/openssl/crypto/bn/bn_nist.c
60
static const BN_ULONG _nist_p_256_sqr[] = {
crypto/openssl/crypto/bn/bn_nist.c
659
register BN_ULONG *a_d = a->d, *r_d;
crypto/openssl/crypto/bn/bn_nist.c
661
BN_ULONG bn[BN_NIST_256_TOP];
crypto/openssl/crypto/bn/bn_nist.c
662
unsigned int ui[BN_NIST_256_TOP * sizeof(BN_ULONG) / sizeof(unsigned int)];
crypto/openssl/crypto/bn/bn_nist.c
664
BN_ULONG c_d[BN_NIST_256_TOP], *res;
crypto/openssl/crypto/bn/bn_nist.c
667
(BN_ULONG *)_nist_p_256_sqr,
crypto/openssl/crypto/bn/bn_nist.c
67
static const BN_ULONG _nist_p_384[][BN_NIST_384_TOP] = {
crypto/openssl/crypto/bn/bn_nist.c
792
BN_ULONG t_d[BN_NIST_256_TOP];
crypto/openssl/crypto/bn/bn_nist.c
80
static const BN_ULONG _nist_p_384_sqr[] = {
crypto/openssl/crypto/bn/bn_nist.c
805
register BN_ULONG *ap, t, c;
crypto/openssl/crypto/bn/bn_nist.c
87
static const BN_ULONG _nist_p_521[] = {
crypto/openssl/crypto/bn/bn_nist.c
892
register BN_ULONG *r_d, *a_d = a->d;
crypto/openssl/crypto/bn/bn_nist.c
894
BN_ULONG bn[BN_NIST_384_TOP];
crypto/openssl/crypto/bn/bn_nist.c
895
unsigned int ui[BN_NIST_384_TOP * sizeof(BN_ULONG) / sizeof(unsigned int)];
crypto/openssl/crypto/bn/bn_nist.c
897
BN_ULONG c_d[BN_NIST_384_TOP], *res;
crypto/openssl/crypto/bn/bn_nist.c
900
(BN_ULONG *)_nist_p_384_sqr,
crypto/openssl/crypto/bn/bn_nist.c
95
static const BN_ULONG _nist_p_521_sqr[] = {
crypto/openssl/crypto/bn/bn_ppc.c
15
int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
crypto/openssl/crypto/bn/bn_ppc.c
16
const BN_ULONG *np, const BN_ULONG *n0, int num)
crypto/openssl/crypto/bn/bn_ppc.c
18
int bn_mul_mont_int(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
crypto/openssl/crypto/bn/bn_ppc.c
19
const BN_ULONG *np, const BN_ULONG *n0, int num);
crypto/openssl/crypto/bn/bn_ppc.c
20
int bn_mul4x_mont_int(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
crypto/openssl/crypto/bn/bn_ppc.c
21
const BN_ULONG *np, const BN_ULONG *n0, int num);
crypto/openssl/crypto/bn/bn_ppc.c
22
int bn_mul_mont_fixed_n6(BN_ULONG *rp, const BN_ULONG *ap,
crypto/openssl/crypto/bn/bn_ppc.c
23
const BN_ULONG *bp, const BN_ULONG *np,
crypto/openssl/crypto/bn/bn_ppc.c
24
const BN_ULONG *n0, int num);
crypto/openssl/crypto/bn/bn_ppc.c
25
int bn_mul_mont_300_fixed_n6(BN_ULONG *rp, const BN_ULONG *ap,
crypto/openssl/crypto/bn/bn_ppc.c
26
const BN_ULONG *bp, const BN_ULONG *np,
crypto/openssl/crypto/bn/bn_ppc.c
27
const BN_ULONG *n0, int num);
crypto/openssl/crypto/bn/bn_prime.c
30
#define square(x) ((BN_ULONG)(x) * (BN_ULONG)(x))
crypto/openssl/crypto/bn/bn_prime.c
306
BN_ULONG mod = BN_mod_word(w, primes[i]);
crypto/openssl/crypto/bn/bn_prime.c
307
if (mod == (BN_ULONG)-1)
crypto/openssl/crypto/bn/bn_prime.c
33
#define BN_DEF(lo, hi) (BN_ULONG)hi << 32 | lo
crypto/openssl/crypto/bn/bn_prime.c
44
static const BN_ULONG small_prime_factors[] = {
crypto/openssl/crypto/bn/bn_prime.c
491
BN_ULONG delta;
crypto/openssl/crypto/bn/bn_prime.c
493
BN_ULONG maxdelta = BN_MASK2 - primes[trial_divisions - 1];
crypto/openssl/crypto/bn/bn_prime.c
503
BN_ULONG mod = BN_mod_word(rnd, (BN_ULONG)primes[i]);
crypto/openssl/crypto/bn/bn_prime.c
504
if (mod == (BN_ULONG)-1)
crypto/openssl/crypto/bn/bn_prime.c
53
(BN_ULONG)0x000017b1
crypto/openssl/crypto/bn/bn_prime.c
551
BN_ULONG delta;
crypto/openssl/crypto/bn/bn_prime.c
553
BN_ULONG maxdelta = BN_MASK2 - primes[trial_divisions - 1];
crypto/openssl/crypto/bn/bn_prime.c
58
(BN_ULONG *)small_prime_factors,
crypto/openssl/crypto/bn/bn_prime.c
588
BN_ULONG mod = BN_mod_word(rnd, (BN_ULONG)primes[i]);
crypto/openssl/crypto/bn/bn_prime.c
589
if (mod == (BN_ULONG)-1)
crypto/openssl/crypto/bn/bn_print.c
65
sizeof(BN_ULLONG) * 8, sizeof(BN_ULONG) * 8);
crypto/openssl/crypto/bn/bn_print.c
68
sizeof(BN_ULONG) * 8, sizeof(BN_ULONG) * 8);
crypto/openssl/crypto/bn/bn_rsa_fips186_4.c
32
#define BN_DEF(lo, hi) (BN_ULONG)hi << 32 | lo
crypto/openssl/crypto/bn/bn_rsa_fips186_4.c
38
static const BN_ULONG inv_sqrt_2_val[] = {
crypto/openssl/crypto/bn/bn_rsa_fips186_4.c
44
(BN_ULONG *)inv_sqrt_2_val,
crypto/openssl/crypto/bn/bn_shift.c
108
BN_ULONG *t, *f;
crypto/openssl/crypto/bn/bn_shift.c
109
BN_ULONG l, m, rmask = 0;
crypto/openssl/crypto/bn/bn_shift.c
124
rmask = (BN_ULONG)0 - rb; /* rmask = 0 - (rb != 0) */
crypto/openssl/crypto/bn/bn_shift.c
16
register BN_ULONG *ap, *rp, t, c;
crypto/openssl/crypto/bn/bn_shift.c
180
BN_ULONG *t, *f;
crypto/openssl/crypto/bn/bn_shift.c
181
BN_ULONG l, m, mask;
crypto/openssl/crypto/bn/bn_shift.c
195
mask = (BN_ULONG)0 - lb; /* mask = 0 - (lb != 0) */
crypto/openssl/crypto/bn/bn_shift.c
47
BN_ULONG *ap, *rp, t, c;
crypto/openssl/crypto/bn/bn_sparc.c
16
int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
crypto/openssl/crypto/bn/bn_sparc.c
17
const BN_ULONG *np, const BN_ULONG *n0, int num)
crypto/openssl/crypto/bn/bn_sparc.c
19
int bn_mul_mont_vis3(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
crypto/openssl/crypto/bn/bn_sparc.c
20
const BN_ULONG *np, const BN_ULONG *n0, int num);
crypto/openssl/crypto/bn/bn_sparc.c
21
int bn_mul_mont_fpu(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
crypto/openssl/crypto/bn/bn_sparc.c
22
const BN_ULONG *np, const BN_ULONG *n0, int num);
crypto/openssl/crypto/bn/bn_sparc.c
23
int bn_mul_mont_int(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
crypto/openssl/crypto/bn/bn_sparc.c
24
const BN_ULONG *np, const BN_ULONG *n0, int num);
crypto/openssl/crypto/bn/bn_sparc.c
28
typedef int (*bn_mul_mont_f)(BN_ULONG *rp, const BN_ULONG *ap,
crypto/openssl/crypto/bn/bn_sparc.c
29
const BN_ULONG *bp,
crypto/openssl/crypto/bn/bn_sparc.c
30
const BN_ULONG *np,
crypto/openssl/crypto/bn/bn_sparc.c
31
const BN_ULONG *n0);
crypto/openssl/crypto/bn/bn_sparc.c
32
int bn_mul_mont_t4_8(BN_ULONG *rp, const BN_ULONG *ap,
crypto/openssl/crypto/bn/bn_sparc.c
33
const BN_ULONG *bp, const BN_ULONG *np,
crypto/openssl/crypto/bn/bn_sparc.c
34
const BN_ULONG *n0);
crypto/openssl/crypto/bn/bn_sparc.c
35
int bn_mul_mont_t4_16(BN_ULONG *rp, const BN_ULONG *ap,
crypto/openssl/crypto/bn/bn_sparc.c
36
const BN_ULONG *bp, const BN_ULONG *np,
crypto/openssl/crypto/bn/bn_sparc.c
37
const BN_ULONG *n0);
crypto/openssl/crypto/bn/bn_sparc.c
38
int bn_mul_mont_t4_24(BN_ULONG *rp, const BN_ULONG *ap,
crypto/openssl/crypto/bn/bn_sparc.c
39
const BN_ULONG *bp, const BN_ULONG *np,
crypto/openssl/crypto/bn/bn_sparc.c
40
const BN_ULONG *n0);
crypto/openssl/crypto/bn/bn_sparc.c
41
int bn_mul_mont_t4_32(BN_ULONG *rp, const BN_ULONG *ap,
crypto/openssl/crypto/bn/bn_sparc.c
42
const BN_ULONG *bp, const BN_ULONG *np,
crypto/openssl/crypto/bn/bn_sparc.c
43
const BN_ULONG *n0);
crypto/openssl/crypto/bn/bn_sqr.c
109
void bn_sqr_normal(BN_ULONG *r, const BN_ULONG *a, int n, BN_ULONG *tmp)
crypto/openssl/crypto/bn/bn_sqr.c
112
const BN_ULONG *ap;
crypto/openssl/crypto/bn/bn_sqr.c
113
BN_ULONG *rp;
crypto/openssl/crypto/bn/bn_sqr.c
156
void bn_sqr_recursive(BN_ULONG *r, const BN_ULONG *a, int n2, BN_ULONG *t)
crypto/openssl/crypto/bn/bn_sqr.c
160
BN_ULONG ln, lo, *p;
crypto/openssl/crypto/bn/bn_sqr.c
229
if (ln < (BN_ULONG)c1) {
crypto/openssl/crypto/bn/bn_sqr.c
54
BN_ULONG t[8];
crypto/openssl/crypto/bn/bn_sqr.c
61
BN_ULONG t[16];
crypto/openssl/crypto/bn/bn_sqr.c
69
BN_ULONG t[BN_SQR_RECURSIVE_SIZE_NORMAL * 2];
crypto/openssl/crypto/bn/bn_sqr.c
74
j = BN_num_bits_word((BN_ULONG)al);
crypto/openssl/crypto/bn/bn_srp.c
130
(BN_ULONG *)bn_group_2048_value,
crypto/openssl/crypto/bn/bn_srp.c
137
static const BN_ULONG bn_group_3072_value[] = {
crypto/openssl/crypto/bn/bn_srp.c
189
(BN_ULONG *)bn_group_3072_value,
crypto/openssl/crypto/bn/bn_srp.c
196
static const BN_ULONG bn_group_4096_value[] = {
crypto/openssl/crypto/bn/bn_srp.c
264
(BN_ULONG *)bn_group_4096_value,
crypto/openssl/crypto/bn/bn_srp.c
271
static const BN_ULONG bn_group_6144_value[] = {
crypto/openssl/crypto/bn/bn_srp.c
32
static const BN_ULONG bn_group_1024_value[] = {
crypto/openssl/crypto/bn/bn_srp.c
371
(BN_ULONG *)bn_group_6144_value,
crypto/openssl/crypto/bn/bn_srp.c
378
static const BN_ULONG bn_group_8192_value[] = {
crypto/openssl/crypto/bn/bn_srp.c
510
(BN_ULONG *)bn_group_8192_value,
crypto/openssl/crypto/bn/bn_srp.c
517
static const BN_ULONG bn_generator_19_value[] = { 19 };
crypto/openssl/crypto/bn/bn_srp.c
52
(BN_ULONG *)bn_group_1024_value,
crypto/openssl/crypto/bn/bn_srp.c
520
(BN_ULONG *)bn_generator_19_value,
crypto/openssl/crypto/bn/bn_srp.c
526
static const BN_ULONG bn_generator_5_value[] = { 5 };
crypto/openssl/crypto/bn/bn_srp.c
529
(BN_ULONG *)bn_generator_5_value,
crypto/openssl/crypto/bn/bn_srp.c
535
static const BN_ULONG bn_generator_2_value[] = { 2 };
crypto/openssl/crypto/bn/bn_srp.c
538
(BN_ULONG *)bn_generator_2_value,
crypto/openssl/crypto/bn/bn_srp.c
59
static const BN_ULONG bn_group_1536_value[] = {
crypto/openssl/crypto/bn/bn_srp.c
87
(BN_ULONG *)bn_group_1536_value,
crypto/openssl/crypto/bn/bn_srp.c
94
static const BN_ULONG bn_group_2048_value[] = {
crypto/openssl/crypto/bn/bn_word.c
13
BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w)
crypto/openssl/crypto/bn/bn_word.c
133
int BN_sub_word(BIGNUM *a, BN_ULONG w)
crypto/openssl/crypto/bn/bn_word.c
16
BN_ULONG ret = 0;
crypto/openssl/crypto/bn/bn_word.c
180
int BN_mul_word(BIGNUM *a, BN_ULONG w)
crypto/openssl/crypto/bn/bn_word.c
182
BN_ULONG ll;
crypto/openssl/crypto/bn/bn_word.c
23
return (BN_ULONG)-1;
crypto/openssl/crypto/bn/bn_word.c
30
if (w > ((BN_ULONG)1 << BN_BITS4)) {
crypto/openssl/crypto/bn/bn_word.c
33
return (BN_ULONG)-1;
crypto/openssl/crypto/bn/bn_word.c
57
return (BN_ULONG)ret;
crypto/openssl/crypto/bn/bn_word.c
60
BN_ULONG BN_div_word(BIGNUM *a, BN_ULONG w)
crypto/openssl/crypto/bn/bn_word.c
62
BN_ULONG ret = 0;
crypto/openssl/crypto/bn/bn_word.c
70
return (BN_ULONG)-1;
crypto/openssl/crypto/bn/bn_word.c
78
return (BN_ULONG)-1;
crypto/openssl/crypto/bn/bn_word.c
81
BN_ULONG l, d;
crypto/openssl/crypto/bn/bn_word.c
97
int BN_add_word(BIGNUM *a, BN_ULONG w)
crypto/openssl/crypto/bn/bn_word.c
99
BN_ULONG l;
crypto/openssl/crypto/bn/rsaz_exp.c
244
BN_ULONG k);
crypto/openssl/crypto/bn/rsaz_exp.c
246
BN_ULONG k, const void *tbl, unsigned int power);
crypto/openssl/crypto/bn/rsaz_exp.c
248
const void *n, BN_ULONG k, unsigned int power);
crypto/openssl/crypto/bn/rsaz_exp.c
249
void rsaz_512_mul_by_one(void *ret, const void *a, const void *n, BN_ULONG k);
crypto/openssl/crypto/bn/rsaz_exp.c
250
void rsaz_512_sqr(void *ret, const void *a, const void *n, BN_ULONG k,
crypto/openssl/crypto/bn/rsaz_exp.c
252
void rsaz_512_scatter4(void *tbl, const BN_ULONG *val, int power);
crypto/openssl/crypto/bn/rsaz_exp.c
253
void rsaz_512_gather4(BN_ULONG *val, const void *tbl, int power);
crypto/openssl/crypto/bn/rsaz_exp.c
255
void RSAZ_512_mod_exp(BN_ULONG result[8],
crypto/openssl/crypto/bn/rsaz_exp.c
256
const BN_ULONG base[8], const BN_ULONG exponent[8],
crypto/openssl/crypto/bn/rsaz_exp.c
257
const BN_ULONG m[8], BN_ULONG k0, const BN_ULONG RR[8])
crypto/openssl/crypto/bn/rsaz_exp.c
261
BN_ULONG *a_inv = (BN_ULONG *)(table + 16 * 8 * 8);
crypto/openssl/crypto/bn/rsaz_exp.c
262
BN_ULONG *temp = (BN_ULONG *)(table + 16 * 8 * 8 + 8 * 8);
crypto/openssl/crypto/bn/rsaz_exp.c
266
BN_ULONG tmp[8];
crypto/openssl/crypto/bn/rsaz_exp.c
28
const void *n, BN_ULONG k);
crypto/openssl/crypto/bn/rsaz_exp.c
29
void rsaz_1024_sqr_avx2(void *ret, const void *a, const void *n, BN_ULONG k,
crypto/openssl/crypto/bn/rsaz_exp.c
39
ALIGN64 static const BN_ULONG one[40] = {
crypto/openssl/crypto/bn/rsaz_exp.c
44
ALIGN64 static const BN_ULONG two80[40] = {
crypto/openssl/crypto/bn/rsaz_exp.c
49
void RSAZ_1024_mod_exp_avx2(BN_ULONG result_norm[16],
crypto/openssl/crypto/bn/rsaz_exp.c
50
const BN_ULONG base_norm[16],
crypto/openssl/crypto/bn/rsaz_exp.c
51
const BN_ULONG exponent[16],
crypto/openssl/crypto/bn/rsaz_exp.c
52
const BN_ULONG m_norm[16], const BN_ULONG RR[16],
crypto/openssl/crypto/bn/rsaz_exp.c
53
BN_ULONG k0)
crypto/openssl/crypto/bn/rsaz_exp.c
62
BN_ULONG tmp[16];
crypto/openssl/crypto/bn/rsaz_exp.h
26
void RSAZ_1024_mod_exp_avx2(BN_ULONG result[16],
crypto/openssl/crypto/bn/rsaz_exp.h
27
const BN_ULONG base_norm[16],
crypto/openssl/crypto/bn/rsaz_exp.h
28
const BN_ULONG exponent[16],
crypto/openssl/crypto/bn/rsaz_exp.h
29
const BN_ULONG m_norm[16], const BN_ULONG RR[16],
crypto/openssl/crypto/bn/rsaz_exp.h
30
BN_ULONG k0);
crypto/openssl/crypto/bn/rsaz_exp.h
33
void RSAZ_512_mod_exp(BN_ULONG result[8],
crypto/openssl/crypto/bn/rsaz_exp.h
34
const BN_ULONG base_norm[8], const BN_ULONG exponent[8],
crypto/openssl/crypto/bn/rsaz_exp.h
35
const BN_ULONG m_norm[8], BN_ULONG k0,
crypto/openssl/crypto/bn/rsaz_exp.h
36
const BN_ULONG RR[8]);
crypto/openssl/crypto/bn/rsaz_exp.h
42
int ossl_rsaz_mod_exp_avx512_x2(BN_ULONG *res1,
crypto/openssl/crypto/bn/rsaz_exp.h
43
const BN_ULONG *base1,
crypto/openssl/crypto/bn/rsaz_exp.h
44
const BN_ULONG *exponent1,
crypto/openssl/crypto/bn/rsaz_exp.h
45
const BN_ULONG *m1,
crypto/openssl/crypto/bn/rsaz_exp.h
46
const BN_ULONG *RR1,
crypto/openssl/crypto/bn/rsaz_exp.h
47
BN_ULONG k0_1,
crypto/openssl/crypto/bn/rsaz_exp.h
48
BN_ULONG *res2,
crypto/openssl/crypto/bn/rsaz_exp.h
49
const BN_ULONG *base2,
crypto/openssl/crypto/bn/rsaz_exp.h
50
const BN_ULONG *exponent2,
crypto/openssl/crypto/bn/rsaz_exp.h
51
const BN_ULONG *m2,
crypto/openssl/crypto/bn/rsaz_exp.h
52
const BN_ULONG *RR2,
crypto/openssl/crypto/bn/rsaz_exp.h
53
BN_ULONG k0_2,
crypto/openssl/crypto/bn/rsaz_exp.h
56
static ossl_inline void bn_select_words(BN_ULONG *r, BN_ULONG mask,
crypto/openssl/crypto/bn/rsaz_exp.h
57
const BN_ULONG *a,
crypto/openssl/crypto/bn/rsaz_exp.h
58
const BN_ULONG *b, size_t num)
crypto/openssl/crypto/bn/rsaz_exp.h
67
static ossl_inline BN_ULONG bn_reduce_once_in_place(BN_ULONG *r,
crypto/openssl/crypto/bn/rsaz_exp.h
68
BN_ULONG carry,
crypto/openssl/crypto/bn/rsaz_exp.h
69
const BN_ULONG *m,
crypto/openssl/crypto/bn/rsaz_exp.h
70
BN_ULONG *tmp, size_t num)
crypto/openssl/crypto/bn/rsaz_exp_x2.c
100
BN_ULONG k0);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
101
void ossl_rsaz_amm52x20_x2_avxifma256(BN_ULONG *out, const BN_ULONG *a,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
102
const BN_ULONG *b, const BN_ULONG *m,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
103
const BN_ULONG k0[2]);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
104
void ossl_extract_multiplier_2x20_win5_avx(BN_ULONG *red_Y,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
105
const BN_ULONG *red_table,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
109
void ossl_rsaz_amm52x30_x1_avxifma256(BN_ULONG *res, const BN_ULONG *a,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
110
const BN_ULONG *b, const BN_ULONG *m,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
111
BN_ULONG k0);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
112
void ossl_rsaz_amm52x30_x2_avxifma256(BN_ULONG *out, const BN_ULONG *a,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
113
const BN_ULONG *b, const BN_ULONG *m,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
114
const BN_ULONG k0[2]);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
115
void ossl_extract_multiplier_2x30_win5_avx(BN_ULONG *red_Y,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
116
const BN_ULONG *red_table,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
120
void ossl_rsaz_amm52x40_x1_avxifma256(BN_ULONG *res, const BN_ULONG *a,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
121
const BN_ULONG *b, const BN_ULONG *m,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
122
BN_ULONG k0);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
123
void ossl_rsaz_amm52x40_x2_avxifma256(BN_ULONG *out, const BN_ULONG *a,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
124
const BN_ULONG *b, const BN_ULONG *m,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
125
const BN_ULONG k0[2]);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
126
void ossl_extract_multiplier_2x40_win5_avx(BN_ULONG *red_Y,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
127
const BN_ULONG *red_table,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
131
typedef void (*AMM)(BN_ULONG *res, const BN_ULONG *a, const BN_ULONG *b,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
132
const BN_ULONG *m, BN_ULONG k0);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
143
typedef void (*DAMM)(BN_ULONG *res, const BN_ULONG *a, const BN_ULONG *b,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
144
const BN_ULONG *m, const BN_ULONG k0[2]);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
155
typedef void (*DEXTRACT)(BN_ULONG *res, const BN_ULONG *red_table,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
167
static int RSAZ_mod_exp_x2_ifma256(BN_ULONG *res, const BN_ULONG *base,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
168
const BN_ULONG *exp[2], const BN_ULONG *m,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
169
const BN_ULONG *rr, const BN_ULONG k0[2],
crypto/openssl/crypto/bn/rsaz_exp_x2.c
201
int ossl_rsaz_mod_exp_avx512_x2(BN_ULONG *res1,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
202
const BN_ULONG *base1,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
203
const BN_ULONG *exp1,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
204
const BN_ULONG *m1,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
205
const BN_ULONG *rr1,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
206
BN_ULONG k0_1,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
207
BN_ULONG *res2,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
208
const BN_ULONG *base2,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
209
const BN_ULONG *exp2,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
210
const BN_ULONG *m2,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
211
const BN_ULONG *rr2,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
212
BN_ULONG k0_2,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
229
BN_ULONG *base1_red, *m1_red, *rr1_red;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
230
BN_ULONG *base2_red, *m2_red, *rr2_red;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
231
BN_ULONG *coeff_red;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
232
BN_ULONG *storage = NULL;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
233
BN_ULONG *storage_aligned = NULL;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
234
int storage_len_bytes = 7 * regs_capacity * sizeof(BN_ULONG)
crypto/openssl/crypto/bn/rsaz_exp_x2.c
237
const BN_ULONG *exp[2] = { 0 };
crypto/openssl/crypto/bn/rsaz_exp_x2.c
238
BN_ULONG k0[2] = { 0 };
crypto/openssl/crypto/bn/rsaz_exp_x2.c
248
storage = (BN_ULONG *)OPENSSL_malloc(storage_len_bytes);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
251
storage_aligned = (BN_ULONG *)ALIGN_OF(storage, 64);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
286
memset(coeff_red, 0, exp_digits * sizeof(BN_ULONG));
crypto/openssl/crypto/bn/rsaz_exp_x2.c
313
factor_size /= sizeof(BN_ULONG) * 8;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
348
int RSAZ_mod_exp_x2_ifma256(BN_ULONG *out,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
349
const BN_ULONG *base,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
350
const BN_ULONG *exp[2],
crypto/openssl/crypto/bn/rsaz_exp_x2.c
351
const BN_ULONG *m,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
352
const BN_ULONG *rr,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
353
const BN_ULONG k0[2],
crypto/openssl/crypto/bn/rsaz_exp_x2.c
370
BN_ULONG *storage = NULL;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
371
BN_ULONG *storage_aligned = NULL;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
375
BN_ULONG *red_Y = NULL; /* [2][red_digits] */
crypto/openssl/crypto/bn/rsaz_exp_x2.c
376
BN_ULONG *red_X = NULL; /* [2][red_digits] */
crypto/openssl/crypto/bn/rsaz_exp_x2.c
378
BN_ULONG *red_table = NULL; /* [1U << exp_win_size][2][red_digits] */
crypto/openssl/crypto/bn/rsaz_exp_x2.c
380
BN_ULONG *expz = NULL; /* [2][exp_digits + 1] */
crypto/openssl/crypto/bn/rsaz_exp_x2.c
422
* sizeof(BN_ULONG)
crypto/openssl/crypto/bn/rsaz_exp_x2.c
425
storage = (BN_ULONG *)OPENSSL_zalloc(storage_len_bytes);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
428
storage_aligned = (BN_ULONG *)ALIGN_OF(storage, 64);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
44
static void to_words52(BN_ULONG *out, int out_len, const BN_ULONG *in,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
442
damm(&red_table[0 * 2 * red_digits], (const BN_ULONG *)red_X, rr, m, k0);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
454
memcpy(&expz[0 * (exp_digits + 1)], exp[0], exp_digits * sizeof(BN_ULONG));
crypto/openssl/crypto/bn/rsaz_exp_x2.c
456
memcpy(&expz[1 * (exp_digits + 1)], exp[1], exp_digits * sizeof(BN_ULONG));
crypto/openssl/crypto/bn/rsaz_exp_x2.c
46
static void from_words52(BN_ULONG *bn_out, int out_bitsize, const BN_ULONG *in);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
462
const BN_ULONG table_idx_mask = exp_win_mask;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
468
BN_ULONG red_table_idx_0, red_table_idx_1;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
47
static ossl_inline void set_bit(BN_ULONG *a, int idx);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
491
extract(&red_Y[0 * red_digits], (const BN_ULONG *)red_table, (int)red_table_idx_0, (int)red_table_idx_1);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
497
BN_ULONG T;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
532
extract(&red_X[0 * red_digits], (const BN_ULONG *)red_table, (int)red_table_idx_0, (int)red_table_idx_1);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
536
DAMS((BN_ULONG *)red_Y, (const BN_ULONG *)red_Y, m, k0);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
537
DAMS((BN_ULONG *)red_Y, (const BN_ULONG *)red_Y, m, k0);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
538
DAMS((BN_ULONG *)red_Y, (const BN_ULONG *)red_Y, m, k0);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
539
DAMS((BN_ULONG *)red_Y, (const BN_ULONG *)red_Y, m, k0);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
540
DAMS((BN_ULONG *)red_Y, (const BN_ULONG *)red_Y, m, k0);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
542
damm((BN_ULONG *)red_Y, (const BN_ULONG *)red_Y, (const BN_ULONG *)red_X, m, k0);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
558
memset(red_X, 0, 2 * red_digits * sizeof(BN_ULONG));
crypto/openssl/crypto/bn/rsaz_exp_x2.c
561
damm(out, (const BN_ULONG *)red_Y, (const BN_ULONG *)red_X, m, k0);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
594
static void to_words52(BN_ULONG *out, int out_len,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
595
const BN_ULONG *in, int in_bitsize)
crypto/openssl/crypto/bn/rsaz_exp_x2.c
634
memset(out, 0, out_len * sizeof(BN_ULONG));
crypto/openssl/crypto/bn/rsaz_exp_x2.c
652
static void from_words52(BN_ULONG *out, int out_bitsize, const BN_ULONG *in)
crypto/openssl/crypto/bn/rsaz_exp_x2.c
68
void ossl_rsaz_amm52x20_x1_ifma256(BN_ULONG *res, const BN_ULONG *a,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
69
const BN_ULONG *b, const BN_ULONG *m,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
695
static ossl_inline void set_bit(BN_ULONG *a, int idx)
crypto/openssl/crypto/bn/rsaz_exp_x2.c
70
BN_ULONG k0);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
704
a[i] |= (((BN_ULONG)1) << j);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
71
void ossl_rsaz_amm52x20_x2_ifma256(BN_ULONG *out, const BN_ULONG *a,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
72
const BN_ULONG *b, const BN_ULONG *m,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
73
const BN_ULONG k0[2]);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
74
void ossl_extract_multiplier_2x20_win5(BN_ULONG *red_Y,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
75
const BN_ULONG *red_table,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
78
void ossl_rsaz_amm52x30_x1_ifma256(BN_ULONG *res, const BN_ULONG *a,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
79
const BN_ULONG *b, const BN_ULONG *m,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
80
BN_ULONG k0);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
81
void ossl_rsaz_amm52x30_x2_ifma256(BN_ULONG *out, const BN_ULONG *a,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
82
const BN_ULONG *b, const BN_ULONG *m,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
83
const BN_ULONG k0[2]);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
84
void ossl_extract_multiplier_2x30_win5(BN_ULONG *red_Y,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
85
const BN_ULONG *red_table,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
88
void ossl_rsaz_amm52x40_x1_ifma256(BN_ULONG *res, const BN_ULONG *a,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
89
const BN_ULONG *b, const BN_ULONG *m,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
90
BN_ULONG k0);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
91
void ossl_rsaz_amm52x40_x2_ifma256(BN_ULONG *out, const BN_ULONG *a,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
92
const BN_ULONG *b, const BN_ULONG *m,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
93
const BN_ULONG k0[2]);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
94
void ossl_extract_multiplier_2x40_win5(BN_ULONG *red_Y,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
95
const BN_ULONG *red_table,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
98
void ossl_rsaz_amm52x20_x1_avxifma256(BN_ULONG *res, const BN_ULONG *a,
crypto/openssl/crypto/bn/rsaz_exp_x2.c
99
const BN_ULONG *b, const BN_ULONG *m,
crypto/openssl/crypto/deterministic_nonce.c
192
const size_t prefsz = sizeof(BN_ULONG);
crypto/openssl/crypto/deterministic_nonce.c
58
int blen_bits = (inlen - sizeof(BN_ULONG)) * 8;
crypto/openssl/crypto/dh/dh_asn1.c
157
if (!BN_set_word(dhv.counter, (BN_ULONG)counter))
crypto/openssl/crypto/ec/ec_curve.c
3120
|| !BN_set_word(x, (BN_ULONG)data->cofactor)) {
crypto/openssl/crypto/ec/ec_curve.c
3330
|| BN_is_word(cofactor, (const BN_ULONG)curve.data->cofactor))
crypto/openssl/crypto/ec/ecp_nistz256.c
1005
BN_ULONG infty;
crypto/openssl/crypto/ec/ecp_nistz256.c
101
void ecp_nistz256_div_by_2(BN_ULONG res[P256_LIMBS],
crypto/openssl/crypto/ec/ecp_nistz256.c
102
const BN_ULONG a[P256_LIMBS]);
crypto/openssl/crypto/ec/ecp_nistz256.c
1020
BN_ULONG d = bn_get_words(scalar)[i / BN_BYTES];
crypto/openssl/crypto/ec/ecp_nistz256.c
104
void ecp_nistz256_sub(BN_ULONG res[P256_LIMBS],
crypto/openssl/crypto/ec/ecp_nistz256.c
105
const BN_ULONG a[P256_LIMBS],
crypto/openssl/crypto/ec/ecp_nistz256.c
106
const BN_ULONG b[P256_LIMBS]);
crypto/openssl/crypto/ec/ecp_nistz256.c
108
void ecp_nistz256_neg(BN_ULONG res[P256_LIMBS], const BN_ULONG a[P256_LIMBS]);
crypto/openssl/crypto/ec/ecp_nistz256.c
110
void ecp_nistz256_mul_mont(BN_ULONG res[P256_LIMBS],
crypto/openssl/crypto/ec/ecp_nistz256.c
111
const BN_ULONG a[P256_LIMBS],
crypto/openssl/crypto/ec/ecp_nistz256.c
112
const BN_ULONG b[P256_LIMBS]);
crypto/openssl/crypto/ec/ecp_nistz256.c
114
void ecp_nistz256_sqr_mont(BN_ULONG res[P256_LIMBS],
crypto/openssl/crypto/ec/ecp_nistz256.c
115
const BN_ULONG a[P256_LIMBS]);
crypto/openssl/crypto/ec/ecp_nistz256.c
1150
BN_ULONG z_inv2[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
1151
BN_ULONG z_inv3[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
1152
BN_ULONG x_aff[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
1153
BN_ULONG y_aff[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
1154
BN_ULONG point_x[P256_LIMBS], point_y[P256_LIMBS], point_z[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
1155
BN_ULONG x_ret[P256_LIMBS], y_ret[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
117
void ecp_nistz256_from_mont(BN_ULONG res[P256_LIMBS],
crypto/openssl/crypto/ec/ecp_nistz256.c
118
const BN_ULONG in[P256_LIMBS]);
crypto/openssl/crypto/ec/ecp_nistz256.c
120
void ecp_nistz256_to_mont(BN_ULONG res[P256_LIMBS],
crypto/openssl/crypto/ec/ecp_nistz256.c
121
const BN_ULONG in[P256_LIMBS]);
crypto/openssl/crypto/ec/ecp_nistz256.c
1253
void ecp_nistz256_ord_mul_mont(BN_ULONG res[P256_LIMBS],
crypto/openssl/crypto/ec/ecp_nistz256.c
1254
const BN_ULONG a[P256_LIMBS],
crypto/openssl/crypto/ec/ecp_nistz256.c
1255
const BN_ULONG b[P256_LIMBS]);
crypto/openssl/crypto/ec/ecp_nistz256.c
1256
void ecp_nistz256_ord_sqr_mont(BN_ULONG res[P256_LIMBS],
crypto/openssl/crypto/ec/ecp_nistz256.c
1257
const BN_ULONG a[P256_LIMBS],
crypto/openssl/crypto/ec/ecp_nistz256.c
1258
BN_ULONG rep);
crypto/openssl/crypto/ec/ecp_nistz256.c
1264
static const BN_ULONG RR[P256_LIMBS] = {
crypto/openssl/crypto/ec/ecp_nistz256.c
1269
static const BN_ULONG one[P256_LIMBS] = {
crypto/openssl/crypto/ec/ecp_nistz256.c
1276
BN_ULONG table[15][P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
1277
BN_ULONG out[P256_LIMBS], t[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
133
static const BN_ULONG ONE[P256_LIMBS] = {
crypto/openssl/crypto/ec/ecp_nistz256.c
1521
|| !BN_set_word(x, (BN_ULONG)1)) { /* cofactor is 1 */
crypto/openssl/crypto/ec/ecp_nistz256.c
168
static void copy_conditional(BN_ULONG dst[P256_LIMBS],
crypto/openssl/crypto/ec/ecp_nistz256.c
169
const BN_ULONG src[P256_LIMBS], BN_ULONG move)
crypto/openssl/crypto/ec/ecp_nistz256.c
171
BN_ULONG mask1 = 0 - move;
crypto/openssl/crypto/ec/ecp_nistz256.c
172
BN_ULONG mask2 = ~mask1;
crypto/openssl/crypto/ec/ecp_nistz256.c
186
static BN_ULONG is_zero(BN_ULONG in)
crypto/openssl/crypto/ec/ecp_nistz256.c
194
static BN_ULONG is_equal(const BN_ULONG a[P256_LIMBS],
crypto/openssl/crypto/ec/ecp_nistz256.c
195
const BN_ULONG b[P256_LIMBS])
crypto/openssl/crypto/ec/ecp_nistz256.c
197
BN_ULONG res;
crypto/openssl/crypto/ec/ecp_nistz256.c
213
static BN_ULONG is_one(const BIGNUM *z)
crypto/openssl/crypto/ec/ecp_nistz256.c
215
BN_ULONG res = 0;
crypto/openssl/crypto/ec/ecp_nistz256.c
216
BN_ULONG *a = bn_get_words(z);
crypto/openssl/crypto/ec/ecp_nistz256.c
259
BN_ULONG S[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
260
BN_ULONG M[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
261
BN_ULONG Zsqr[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
262
BN_ULONG tmp0[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
264
const BN_ULONG *in_x = a->X;
crypto/openssl/crypto/ec/ecp_nistz256.c
265
const BN_ULONG *in_y = a->Y;
crypto/openssl/crypto/ec/ecp_nistz256.c
266
const BN_ULONG *in_z = a->Z;
crypto/openssl/crypto/ec/ecp_nistz256.c
268
BN_ULONG *res_x = r->X;
crypto/openssl/crypto/ec/ecp_nistz256.c
269
BN_ULONG *res_y = r->Y;
crypto/openssl/crypto/ec/ecp_nistz256.c
270
BN_ULONG *res_z = r->Z;
crypto/openssl/crypto/ec/ecp_nistz256.c
306
BN_ULONG U2[P256_LIMBS], S2[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
307
BN_ULONG U1[P256_LIMBS], S1[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
308
BN_ULONG Z1sqr[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
309
BN_ULONG Z2sqr[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
310
BN_ULONG H[P256_LIMBS], R[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
311
BN_ULONG Hsqr[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
312
BN_ULONG Rsqr[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
313
BN_ULONG Hcub[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
315
BN_ULONG res_x[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
316
BN_ULONG res_y[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
317
BN_ULONG res_z[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
319
BN_ULONG in1infty, in2infty;
crypto/openssl/crypto/ec/ecp_nistz256.c
321
const BN_ULONG *in1_x = a->X;
crypto/openssl/crypto/ec/ecp_nistz256.c
322
const BN_ULONG *in1_y = a->Y;
crypto/openssl/crypto/ec/ecp_nistz256.c
323
const BN_ULONG *in1_z = a->Z;
crypto/openssl/crypto/ec/ecp_nistz256.c
325
const BN_ULONG *in2_x = b->X;
crypto/openssl/crypto/ec/ecp_nistz256.c
326
const BN_ULONG *in2_y = b->Y;
crypto/openssl/crypto/ec/ecp_nistz256.c
327
const BN_ULONG *in2_z = b->Z;
crypto/openssl/crypto/ec/ecp_nistz256.c
37
#define TOBN(hi, lo) ((BN_ULONG)hi << 32 | lo)
crypto/openssl/crypto/ec/ecp_nistz256.c
437
BN_ULONG U2[P256_LIMBS], S2[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
438
BN_ULONG Z1sqr[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
439
BN_ULONG H[P256_LIMBS], R[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
440
BN_ULONG Hsqr[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
441
BN_ULONG Rsqr[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
442
BN_ULONG Hcub[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
444
BN_ULONG res_x[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
445
BN_ULONG res_y[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
446
BN_ULONG res_z[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
448
BN_ULONG in1infty, in2infty;
crypto/openssl/crypto/ec/ecp_nistz256.c
450
const BN_ULONG *in1_x = a->X;
crypto/openssl/crypto/ec/ecp_nistz256.c
451
const BN_ULONG *in1_y = a->Y;
crypto/openssl/crypto/ec/ecp_nistz256.c
452
const BN_ULONG *in1_z = a->Z;
crypto/openssl/crypto/ec/ecp_nistz256.c
454
const BN_ULONG *in2_x = b->X;
crypto/openssl/crypto/ec/ecp_nistz256.c
455
const BN_ULONG *in2_y = b->Y;
crypto/openssl/crypto/ec/ecp_nistz256.c
46
BN_ULONG X[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
47
BN_ULONG Y[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
48
BN_ULONG Z[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
518
static void ecp_nistz256_mod_inverse(BN_ULONG r[P256_LIMBS],
crypto/openssl/crypto/ec/ecp_nistz256.c
519
const BN_ULONG in[P256_LIMBS])
crypto/openssl/crypto/ec/ecp_nistz256.c
52
BN_ULONG X[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
525
BN_ULONG p2[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
526
BN_ULONG p4[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
527
BN_ULONG p8[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
528
BN_ULONG p16[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
529
BN_ULONG p32[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
53
BN_ULONG Y[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
530
BN_ULONG res[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
598
__owur static int ecp_nistz256_bignum_to_field_elem(BN_ULONG out[P256_LIMBS],
crypto/openssl/crypto/ec/ecp_nistz256.c
651
BN_ULONG d = bn_get_words(scalars[i])[j / BN_BYTES];
crypto/openssl/crypto/ec/ecp_nistz256.c
776
static const BN_ULONG def_xG[P256_LIMBS] = {
crypto/openssl/crypto/ec/ecp_nistz256.c
781
static const BN_ULONG def_yG[P256_LIMBS] = {
crypto/openssl/crypto/ec/ecp_nistz256.c
90
void ecp_nistz256_add(BN_ULONG res[P256_LIMBS],
crypto/openssl/crypto/ec/ecp_nistz256.c
91
const BN_ULONG a[P256_LIMBS],
crypto/openssl/crypto/ec/ecp_nistz256.c
92
const BN_ULONG b[P256_LIMBS]);
crypto/openssl/crypto/ec/ecp_nistz256.c
94
void ecp_nistz256_mul_by_2(BN_ULONG res[P256_LIMBS],
crypto/openssl/crypto/ec/ecp_nistz256.c
95
const BN_ULONG a[P256_LIMBS]);
crypto/openssl/crypto/ec/ecp_nistz256.c
97
void ecp_nistz256_mul_by_3(BN_ULONG res[P256_LIMBS],
crypto/openssl/crypto/ec/ecp_nistz256.c
98
const BN_ULONG a[P256_LIMBS]);
crypto/openssl/crypto/ec/ecp_nistz256_table.c
31
static const BN_ULONG ecp_nistz256_precomputed[37][64 * sizeof(P256_POINT_AFFINE) / sizeof(BN_ULONG)]
crypto/openssl/crypto/ec/ecp_sm2p256.c
100
static ossl_inline int is_equal(const BN_ULONG *a, const BN_ULONG *b)
crypto/openssl/crypto/ec/ecp_sm2p256.c
102
BN_ULONG res;
crypto/openssl/crypto/ec/ecp_sm2p256.c
112
static ossl_inline int is_greater(const BN_ULONG *a, const BN_ULONG *b)
crypto/openssl/crypto/ec/ecp_sm2p256.c
138
ALIGN32 BN_ULONG u[4]; \
crypto/openssl/crypto/ec/ecp_sm2p256.c
139
ALIGN32 BN_ULONG v[4]; \
crypto/openssl/crypto/ec/ecp_sm2p256.c
140
ALIGN32 BN_ULONG x1[4] = { 1, 0, 0, 0 }; \
crypto/openssl/crypto/ec/ecp_sm2p256.c
141
ALIGN32 BN_ULONG x2[4] = { 0 }; \
crypto/openssl/crypto/ec/ecp_sm2p256.c
171
static ossl_inline void ecp_sm2p256_mod_inverse(BN_ULONG *out,
crypto/openssl/crypto/ec/ecp_sm2p256.c
172
const BN_ULONG *in)
crypto/openssl/crypto/ec/ecp_sm2p256.c
181
ALIGN32 BN_ULONG tmp0[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_sm2p256.c
182
ALIGN32 BN_ULONG tmp1[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_sm2p256.c
183
ALIGN32 BN_ULONG tmp2[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_sm2p256.c
218
ALIGN32 BN_ULONG tmp0[P256_LIMBS] = { 0 };
crypto/openssl/crypto/ec/ecp_sm2p256.c
219
ALIGN32 BN_ULONG tmp1[P256_LIMBS] = { 0 };
crypto/openssl/crypto/ec/ecp_sm2p256.c
220
ALIGN32 BN_ULONG tmp2[P256_LIMBS] = { 0 };
crypto/openssl/crypto/ec/ecp_sm2p256.c
221
ALIGN32 BN_ULONG tmp3[P256_LIMBS] = { 0 };
crypto/openssl/crypto/ec/ecp_sm2p256.c
27
extern const BN_ULONG ecp_sm2p256_precomputed[8 * 32 * 256];
crypto/openssl/crypto/ec/ecp_sm2p256.c
281
ALIGN32 BN_ULONG tmp0[P256_LIMBS] = { 0 };
crypto/openssl/crypto/ec/ecp_sm2p256.c
282
ALIGN32 BN_ULONG tmp1[P256_LIMBS] = { 0 };
crypto/openssl/crypto/ec/ecp_sm2p256.c
283
ALIGN32 BN_ULONG tmp2[P256_LIMBS] = { 0 };
crypto/openssl/crypto/ec/ecp_sm2p256.c
31
BN_ULONG X[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_sm2p256.c
32
BN_ULONG Y[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_sm2p256.c
33
BN_ULONG Z[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_sm2p256.c
335
static void ecp_sm2p256_point_G_mul_by_scalar(P256_POINT *R, const BN_ULONG *k)
crypto/openssl/crypto/ec/ecp_sm2p256.c
37
BN_ULONG X[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_sm2p256.c
370
static void ecp_sm2p256_point_P_mul_by_scalar(P256_POINT *R, const BN_ULONG *k,
crypto/openssl/crypto/ec/ecp_sm2p256.c
38
BN_ULONG Y[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_sm2p256.c
420
ALIGN32 BN_ULONG z_inv3[P256_LIMBS] = { 0 };
crypto/openssl/crypto/ec/ecp_sm2p256.c
421
ALIGN32 BN_ULONG z_inv2[P256_LIMBS] = { 0 };
crypto/openssl/crypto/ec/ecp_sm2p256.c
43
ALIGN32 static const BN_ULONG def_xG[P256_LIMBS] = {
crypto/openssl/crypto/ec/ecp_sm2p256.c
457
ALIGN32 BN_ULONG k[P256_LIMBS] = { 0 };
crypto/openssl/crypto/ec/ecp_sm2p256.c
48
ALIGN32 static const BN_ULONG def_yG[P256_LIMBS] = {
crypto/openssl/crypto/ec/ecp_sm2p256.c
519
ALIGN32 BN_ULONG k[P256_LIMBS] = { 0 };
crypto/openssl/crypto/ec/ecp_sm2p256.c
57
ALIGN32 static const BN_ULONG def_p[P256_LIMBS] = {
crypto/openssl/crypto/ec/ecp_sm2p256.c
594
ALIGN32 BN_ULONG a_fe[P256_LIMBS] = { 0 };
crypto/openssl/crypto/ec/ecp_sm2p256.c
595
ALIGN32 BN_ULONG b_fe[P256_LIMBS] = { 0 };
crypto/openssl/crypto/ec/ecp_sm2p256.c
596
ALIGN32 BN_ULONG r_fe[P256_LIMBS] = { 0 };
crypto/openssl/crypto/ec/ecp_sm2p256.c
618
ALIGN32 BN_ULONG a_fe[P256_LIMBS] = { 0 };
crypto/openssl/crypto/ec/ecp_sm2p256.c
619
ALIGN32 BN_ULONG r_fe[P256_LIMBS] = { 0 };
crypto/openssl/crypto/ec/ecp_sm2p256.c
62
ALIGN32 static const BN_ULONG ONE[P256_LIMBS] = { 1, 0, 0, 0 };
crypto/openssl/crypto/ec/ecp_sm2p256.c
71
void bn_rshift1(BN_ULONG *a);
crypto/openssl/crypto/ec/ecp_sm2p256.c
73
void bn_sub(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b);
crypto/openssl/crypto/ec/ecp_sm2p256.c
75
void ecp_sm2p256_div_by_2(BN_ULONG *r, const BN_ULONG *a);
crypto/openssl/crypto/ec/ecp_sm2p256.c
77
void ecp_sm2p256_div_by_2_mod_ord(BN_ULONG *r, const BN_ULONG *a);
crypto/openssl/crypto/ec/ecp_sm2p256.c
79
void ecp_sm2p256_add(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b);
crypto/openssl/crypto/ec/ecp_sm2p256.c
81
void ecp_sm2p256_sub(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b);
crypto/openssl/crypto/ec/ecp_sm2p256.c
83
void ecp_sm2p256_sub_mod_ord(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b);
crypto/openssl/crypto/ec/ecp_sm2p256.c
85
void ecp_sm2p256_mul_by_3(BN_ULONG *r, const BN_ULONG *a);
crypto/openssl/crypto/ec/ecp_sm2p256.c
87
void ecp_sm2p256_mul(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b);
crypto/openssl/crypto/ec/ecp_sm2p256.c
89
void ecp_sm2p256_sqr(BN_ULONG *r, const BN_ULONG *a);
crypto/openssl/crypto/ec/ecp_sm2p256.c
91
static ossl_inline BN_ULONG is_zeros(const BN_ULONG *a)
crypto/openssl/crypto/ec/ecp_sm2p256.c
93
BN_ULONG res;
crypto/openssl/crypto/ec/ecp_sm2p256_table.c
33
extern const BN_ULONG ecp_sm2p256_precomputed[8 * 32 * 256];
crypto/openssl/crypto/ec/ecp_sm2p256_table.c
34
const BN_ULONG ecp_sm2p256_precomputed[8 * 32 * 256] = {
crypto/openssl/crypto/encode_decode/encoder_lib.c
727
BN_ULONG *words = bn_get_words(bn);
crypto/openssl/crypto/rsa/rsa_gen.c
277
BN_ULONG bitst = 0;
crypto/openssl/include/crypto/bn.h
43
int bn_copy_words(BN_ULONG *out, const BIGNUM *in, int size);
crypto/openssl/include/crypto/bn.h
45
BN_ULONG *bn_get_words(const BIGNUM *a);
crypto/openssl/include/crypto/bn.h
51
void bn_set_static_words(BIGNUM *a, const BN_ULONG *words, int size);
crypto/openssl/include/crypto/bn.h
62
int bn_set_words(BIGNUM *a, const BN_ULONG *words, int num_words);
crypto/openssl/include/crypto/bn.h
94
int ossl_bn_is_word_fixed_top(const BIGNUM *a, const BN_ULONG w);
crypto/openssl/include/internal/constant_time.h
149
#ifdef BN_ULONG
crypto/openssl/include/internal/constant_time.h
150
static ossl_inline BN_ULONG value_barrier_bn(BN_ULONG a)
crypto/openssl/include/internal/constant_time.h
153
BN_ULONG r;
crypto/openssl/include/internal/constant_time.h
156
volatile BN_ULONG r = a;
crypto/openssl/include/internal/constant_time.h
161
static ossl_inline BN_ULONG constant_time_msb_bn(BN_ULONG a)
crypto/openssl/include/internal/constant_time.h
166
static ossl_inline BN_ULONG constant_time_lt_bn(BN_ULONG a, BN_ULONG b)
crypto/openssl/include/internal/constant_time.h
171
static ossl_inline BN_ULONG constant_time_is_zero_bn(BN_ULONG a)
crypto/openssl/include/internal/constant_time.h
176
static ossl_inline BN_ULONG constant_time_eq_bn(BN_ULONG a,
crypto/openssl/include/internal/constant_time.h
177
BN_ULONG b)
crypto/openssl/include/internal/constant_time.h
182
static ossl_inline BN_ULONG constant_time_select_bn(BN_ULONG mask,
crypto/openssl/include/internal/constant_time.h
183
BN_ULONG a,
crypto/openssl/include/internal/constant_time.h
184
BN_ULONG b)
crypto/openssl/include/openssl/bn.h
190
int BN_abs_is_word(const BIGNUM *a, const BN_ULONG w);
crypto/openssl/include/openssl/bn.h
193
int BN_is_word(const BIGNUM *a, const BN_ULONG w);
crypto/openssl/include/openssl/bn.h
235
int BN_num_bits_word(BN_ULONG l);
crypto/openssl/include/openssl/bn.h
295
BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w);
crypto/openssl/include/openssl/bn.h
296
BN_ULONG BN_div_word(BIGNUM *a, BN_ULONG w);
crypto/openssl/include/openssl/bn.h
297
int BN_mul_word(BIGNUM *a, BN_ULONG w);
crypto/openssl/include/openssl/bn.h
298
int BN_add_word(BIGNUM *a, BN_ULONG w);
crypto/openssl/include/openssl/bn.h
299
int BN_sub_word(BIGNUM *a, BN_ULONG w);
crypto/openssl/include/openssl/bn.h
300
int BN_set_word(BIGNUM *a, BN_ULONG w);
crypto/openssl/include/openssl/bn.h
301
BN_ULONG BN_get_word(const BIGNUM *a);
crypto/openssl/include/openssl/bn.h
317
int BN_mod_exp_mont_word(BIGNUM *r, BN_ULONG a, const BIGNUM *p,
crypto/openssl/include/openssl/bn.h
358
void BN_consttime_swap(BN_ULONG swap, BIGNUM *a, BIGNUM *b, int nwords);
crypto/openssl/include/openssl/bn.h
56
#define BN_TBIT ((BN_ULONG)1 << (BN_BITS2 - 1))
crypto/openssl/test/bntest.c
116
BN_ULONG word;
crypto/openssl/test/bntest.c
1221
BN_ULONG b_word;
crypto/openssl/test/bntest.c
1308
if (!BN_is_negative(b) && b_word != (BN_ULONG)-1) {
crypto/openssl/test/bntest.c
1535
BN_ULONG b_word, ret_word;
crypto/openssl/test/bntest.c
1560
if (!BN_is_negative(b) && b_word != (BN_ULONG)-1) {
crypto/openssl/test/bntest.c
1561
BN_ULONG remainder_word = BN_get_word(remainder);
crypto/openssl/test/bntest.c
1563
assert(remainder_word != (BN_ULONG)-1);
crypto/openssl/test/exptest.c
50
BN_ULONG one_word = 1;
crypto/openssl/test/keymgmt_internal_test.c
161
static BN_ULONG expected[] = {
crypto/openssl/test/testutil.h
399
const BIGNUM *a, BN_ULONG w);
crypto/openssl/test/testutil.h
401
const char *ws, const BIGNUM *a, BN_ULONG w);
crypto/openssl/test/testutil/tests.c
414
const BIGNUM *a, BN_ULONG w)
crypto/openssl/test/testutil/tests.c
428
const char *ws, const BIGNUM *a, BN_ULONG w)
usr.bin/factor/factor.c
189
if (BN_mod_word(val, (BN_ULONG)*fact) == 0)
usr.bin/factor/factor.c
216
BN_div_word(val, (BN_ULONG)*fact);
usr.bin/factor/factor.c
217
} while (BN_mod_word(val, (BN_ULONG)*fact) == 0);
usr.bin/factor/factor.c
346
static BN_ULONG
usr.bin/factor/factor.c
347
BN_div_word(BIGNUM *a, BN_ULONG b)
usr.bin/factor/factor.c
349
BN_ULONG mod;
usr.bin/factor/factor.c
94
static BN_ULONG BN_div_word(BIGNUM *, BN_ULONG);