OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mp_word
(Results
1 - 24
of
24
) sorted by null
/external/dropbear/libtommath/
bn_mp_dr_setup.c
24
*d = (mp_digit)((((
mp_word
)1) << ((
mp_word
)DIGIT_BIT)) -
25
((
mp_word
)a->dp[0]));
bn_s_mp_sqr.c
23
mp_word
r;
37
r = ((
mp_word
) t.dp[2*ix]) +
38
((
mp_word
)a->dp[ix])*((
mp_word
)a->dp[ix]);
41
t.dp[ix+ix] = (mp_digit) (r & ((
mp_word
) MP_MASK));
44
u = (mp_digit)(r >> ((
mp_word
) DIGIT_BIT));
54
r = ((
mp_word
)tmpx) * ((
mp_word
)a->dp[iy]);
59
r = ((
mp_word
) *tmpt) + r + r + ((
mp_word
) u)
[
all
...]
bn_mp_montgomery_reduce.c
34
(1 << ((CHAR_BIT * sizeof (
mp_word
)) - (2 * DIGIT_BIT)))) {
55
mu = (mp_digit) (((
mp_word
)x->dp[ix]) * ((
mp_word
)rho) & MP_MASK);
61
register
mp_word
r;
75
r = ((
mp_word
)mu) * ((
mp_word
)*tmpn++) +
76
((
mp_word
) u) + ((
mp_word
) * tmpx);
79
u = (mp_digit)(r >> ((
mp_word
) DIGIT_BIT));
82
*tmpx++ = (mp_digit)(r & ((
mp_word
) MP_MASK))
[
all
...]
bn_mp_mul_d.c
23
mp_word
r;
51
r = ((
mp_word
) u) + ((
mp_word
)*tmpa++) * ((
mp_word
)b);
54
*tmpc++ = (mp_digit) (r & ((
mp_word
) MP_MASK));
57
u = (mp_digit) (r >> ((
mp_word
) DIGIT_BIT));
bn_mp_div_3.c
23
mp_word
w, t;
28
b = (((
mp_word
)1) << ((
mp_word
)DIGIT_BIT)) / ((
mp_word
)3);
38
w = (w << ((
mp_word
)DIGIT_BIT)) | ((
mp_word
)a->dp[ix]);
42
t = (w * ((
mp_word
)b)) >> ((
mp_word
)DIGIT_BIT);
bn_s_mp_mul_digs.c
27
mp_word
r;
33
(1 << ((CHAR_BIT * sizeof (
mp_word
)) - (2 * DIGIT_BIT)))) {
63
/* compute the column as a
mp_word
*/
64
r = ((
mp_word
)*tmpt) +
65
((
mp_word
)tmpx) * ((
mp_word
)*tmpy++) +
66
((
mp_word
) u);
69
*tmpt++ = (mp_digit) (r & ((
mp_word
) MP_MASK));
72
u = (mp_digit) (r >> ((
mp_word
) DIGIT_BIT));
bn_s_mp_mul_high_digs.c
27
mp_word
r;
33
&& MIN (a->used, b->used) < (1 << ((CHAR_BIT * sizeof (
mp_word
)) - (2 * DIGIT_BIT)))) {
60
r = ((
mp_word
)*tmpt) +
61
((
mp_word
)tmpx) * ((
mp_word
)*tmpy++) +
62
((
mp_word
) u);
65
*tmpt++ = (mp_digit) (r & ((
mp_word
) MP_MASK));
68
u = (mp_digit) (r >> ((
mp_word
) DIGIT_BIT));
bn_fast_mp_montgomery_reduce.c
29
mp_word
W[MP_WARRAY];
45
register
mp_word
*_W;
95
register
mp_word
*_W;
105
*_W++ += ((
mp_word
)mu) * ((
mp_word
)*tmpn++);
110
W[ix + 1] += W[ix] >> ((
mp_word
) DIGIT_BIT);
119
register
mp_word
*_W, *_W1;
130
*_W++ += *_W1++ >> ((
mp_word
) DIGIT_BIT);
136
* array of
mp_word
to mp_digit than calling mp_rshd
147
*tmpx++ = (mp_digit)(*_W++ & ((
mp_word
) MP_MASK))
[
all
...]
bn_fast_s_mp_sqr.c
32
mp_word
W1;
46
mp_word
_W;
73
_W += ((
mp_word
)*tmpx++)*((
mp_word
)*tmpy--);
81
_W += ((
mp_word
)a->dp[ix>>1])*((
mp_word
)a->dp[ix>>1]);
88
W1 = _W >> ((
mp_word
)DIGIT_BIT);
bn_mp_montgomery_setup.c
51
*rho = (unsigned long)(((
mp_word
)1 << ((
mp_word
) DIGIT_BIT)) - x) & MP_MASK;
bn_fast_s_mp_mul_digs.c
38
register
mp_word
_W;
72
_W += ((
mp_word
)*tmpx++)*((
mp_word
)*tmpy--);
80
_W = _W >> ((
mp_word
)DIGIT_BIT);
bn_fast_s_mp_mul_high_digs.c
31
mp_word
_W;
63
_W += ((
mp_word
)*tmpx++)*((
mp_word
)*tmpy--);
70
_W = _W >> ((
mp_word
)DIGIT_BIT);
bn_mp_dr_reduce.c
36
mp_word
r;
65
r = ((
mp_word
)*tmpx2++) * ((
mp_word
)k) + *tmpx1 + mu;
67
mu = (mp_digit)(r >> ((
mp_word
)DIGIT_BIT));
bn_mp_div_d.c
35
mp_word
w;
82
w = (w << ((
mp_word
)DIGIT_BIT)) | ((
mp_word
)a->dp[ix]);
86
w -= ((
mp_word
)t) * ((
mp_word
)b);
bn_mp_sqr.c
41
(1 << (sizeof(
mp_word
) * CHAR_BIT - 2*DIGIT_BIT - 1))) {
bn_mp_mul.c
48
(1 << ((CHAR_BIT * sizeof (
mp_word
)) - (2 * DIGIT_BIT)))) {
bn_mp_div.c
195
mp_word
tmp;
196
tmp = ((
mp_word
) x.dp[i]) << ((
mp_word
) DIGIT_BIT);
197
tmp |= ((
mp_word
) x.dp[i - 1]);
198
tmp /= ((
mp_word
) y.dp[t]);
199
if (tmp > (
mp_word
) MP_MASK)
201
q.dp[i - t - 1] = (mp_digit) (tmp & (
mp_word
) (MP_MASK));
tommath.h
58
* A "
mp_word
" must be able to hold 2*DIGIT_BIT + 1 bits
65
typedef unsigned short
mp_word
;
typedef
68
typedef unsigned long
mp_word
;
typedef
77
typedef unsigned long
mp_word
__attribute__ ((mode(TI)));
typedef
95
typedef ulong64
mp_word
;
typedef
176
#define MP_WARRAY (1 << (sizeof(
mp_word
) * CHAR_BIT - 2 * DIGIT_BIT + 1))
bn_mp_exptmod_fast.c
100
P->used < (1 << ((CHAR_BIT * sizeof (
mp_word
)) - (2 * DIGIT_BIT)))) {
/external/dropbear/libtommath/mtest/
mpi-types.h
4
typedef unsigned int
mp_word
; /* 4 byte type */
typedef
10
#define MP_WORD_BIT (CHAR_BIT*sizeof(
mp_word
))
mpi.c
68
can be contained in an mp_digit. Thus, an
mp_word
is used. These
69
macros mask off the upper and lower digits of the
mp_word
(the
70
mp_word
may be more than 2 mp_digits wide, but we only concern
73
If your
mp_word
DOES have more than 2 mp_digits, you need to
[
all
...]
/external/wpa_supplicant_8/src/tls/
libtommath.c
74
typedef unsigned long
mp_word
__attribute__((mode(TI)));
typedef
80
typedef u64
mp_word
;
typedef
123
#define MP_WARRAY (1 << (sizeof(
mp_word
) * CHAR_BIT - 2 * DIGIT_BIT + 1))
522
(1 << ((CHAR_BIT * sizeof (
mp_word
)) - (2 * DIGIT_BIT)))) {
[
all
...]
/external/dropbear/libtommath/pre_gen/
mpi.c
233
mp_word
W[MP_WARRAY];
249
register
mp_word
*_W;
299
register
mp_word
*_W;
309
*_W++ += ((
mp_word
)mu) * ((
mp_word
)*tmpn++);
314
W[ix + 1] += W[ix] >> ((
mp_word
) DIGIT_BIT);
323
register
mp_word
*_W, *_W1;
334
*_W++ += *_W1++ >> ((
mp_word
) DIGIT_BIT);
340
* array of
mp_word
to mp_digit than calling mp_rshd
351
*tmpx++ = (mp_digit)(*_W++ & ((
mp_word
) MP_MASK))
[
all
...]
/external/dropbear/libtommath/etc/
pprime.c
15
i_sqrt (
mp_word
x)
17
mp_word
x1, x2;
Completed in 72 milliseconds