ESP-IDF
mp_digit
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
mp_digit
mp_digit
Syntax
Show:
Summary
Declaration
from
libtommath.h:71
typedef
unsigned
long
mp_digit
;
Examples
References
from
examples
Code
Location
Scope
Referrer
typedef
unsigned
long
mp_digit
;
libtommath.h:71
mp_digit
*
dp
;
libtommath.h:119
mp_int
mp_int::dp
static
void
mp_set
(
mp_int
*
a
,
mp_digit
b
)
;
libtommath.h:145
mp_set()
mp_set()::b
register
mp_digit
u
,
*
tmpa
,
*
tmpb
,
*
tmpc
;
libtommath.h:241
s_mp_add()
u
=
*
tmpc
>
>
(
(
mp_digit
)
DIGIT_BIT
)
;
libtommath.h:262
s_mp_add()
*
tmpc
++
&=
MP_MASK
;
libtommath.h:265
s_mp_add()
u
=
*
tmpc
>
>
(
(
mp_digit
)
DIGIT_BIT
)
;
libtommath.h:277
s_mp_add()
*
tmpc
++
&=
MP_MASK
;
libtommath.h:280
s_mp_add()
register
mp_digit
u
,
*
tmpa
,
*
tmpb
,
*
tmpc
;
libtommath.h:318
s_mp_sub()
u
=
*
tmpc
>
>
(
(
mp_digit
)
(
CHAR_BIT
*
sizeof
(
mp_digit
)
-
1
)
)
;
libtommath.h:337
s_mp_sub()
*
tmpc
++
&=
MP_MASK
;
libtommath.h:340
s_mp_sub()
u
=
*
tmpc
>
>
(
(
mp_digit
)
(
CHAR_BIT
*
sizeof
(
mp_digit
)
-
1
)
)
;
libtommath.h:349
s_mp_sub()
*
tmpc
++
&=
MP_MASK
;
libtommath.h:352
s_mp_sub()
a
->
dp
=
OPT_CAST
(
mp_digit
)
XMALLOC
(
sizeof
(
mp_digit
)
*
MP_PREC
)
;
libtommath.h:373
mp_init()
mp_cmp_d
(
mp_int
*
a
,
mp_digit
b
)
libtommath.h:706
mp_cmp_d()
mp_cmp_d()::b
mp_digit
*
tmpa
,
*
tmpb
;
libtommath.h:932
mp_cmp_mag()
mp_digit
D
,
r
,
rr
;
libtommath.h:1032
mp_div_2d()
D
=
(
mp_digit
)
(
b
%
DIGIT_BIT
)
;
libtommath.h:1070
mp_div_2d()
register
mp_digit
*
tmpc
,
mask
,
shift
;
libtommath.h:1072
mp_div_2d()
mask
=
(
(
(
mp_digit
)
1
)
<
<
D
)
-
1
;
libtommath.h:1075
mp_div_2d()
mp_digit
*
tmp
;
libtommath.h:1123
mp_zero()
register
mp_digit
*
tmpa
,
*
tmpb
;
libtommath.h:1155
mp_copy()
register
mp_digit
*
bottom
,
*
top
;
libtommath.h:1201
mp_rshd()
mp_digit
*
tmp
;
libtommath.h:1279
mp_grow()
tmp
=
OPT_CAST
(
mp_digit
)
XREALLOC
(
a
->
dp
,
sizeof
(
mp_digit
)
*
size
)
;
libtommath.h:1292
mp_grow()
mp_set
(
mp_int
*
a
,
mp_digit
b
)
libtommath.h:1339
mp_set()
mp_set()::b
a
->
dp
[
0
]
=
b
&
MP_MASK
;
libtommath.h:1342
mp_set()
mp_digit
d
;
libtommath.h:1402
mp_mul_2d()
d
=
(
mp_digit
)
(
b
%
DIGIT_BIT
)
;
libtommath.h:1426
mp_mul_2d()
register
mp_digit
*
tmpc
,
shift
,
mask
,
r
,
rr
;
libtommath.h:1428
mp_mul_2d()
mask
=
(
(
(
mp_digit
)
1
)
<
<
d
)
-
1
;
libtommath.h:1432
mp_mul_2d()
*
tmpc
=
(
(
*
tmpc
<
<
d
)
|
r
)
&
MP_MASK
;
libtommath.h:1447
mp_mul_2d()
register
mp_digit
*
top
,
*
bottom
;
libtommath.h:1539
mp_lshd()
mp_digit
q
;
libtommath.h:1573
mp_count_bits()
while
(
q
>
(
(
mp_digit
)
0
)
)
{
libtommath.h:1585
mp_count_bits()
q
>>=
(
(
mp_digit
)
1
)
;
libtommath.h:1587
mp_count_bits()
(
mp_digit
)
(
(
(
(
mp_digit
)
1
)
<
<
(
(
(
mp_digit
)
b
)
%
DIGIT_BIT
)
)
-
(
(
mp_digit
)
1
)
)
;
libtommath.h:1622
mp_mod_2d()
mp_digit
buf
;
libtommath.h:1911
s_mp_exptmod()
y
=
(
buf
>
>
(
mp_digit
)
(
DIGIT_BIT
-
1
)
)
&
1
;
libtommath.h:2044
s_mp_exptmod()
buf
<<=
(
mp_digit
)
1
;
libtommath.h:2045
s_mp_exptmod()
a
->
dp
[
b
/
DIGIT_BIT
]
=
(
(
mp_digit
)
1
)
<
<
(
b
%
DIGIT_BIT
)
;
libtommath.h:2263
mp_2expt()
if
(
(
(
unsigned
long
)
um
)
>
(
(
(
mp_digit
)
1
)
<
<
(
DIGIT_BIT
-
1
)
)
)
{
libtommath.h:2303
mp_reduce()
mp_digit
u
;
libtommath.h:2377
s_mp_mul_digs()
mp_digit
tmpx
,
*
tmpt
,
*
tmpy
;
libtommath.h:2379
s_mp_mul_digs()
*
tmpt
++
=
(
mp_digit
)
(
r
&
(
(
mp_word
)
MP_MASK
)
)
;
libtommath.h:2420
s_mp_mul_digs()
u
=
(
mp_digit
)
(
r
>
>
(
(
mp_word
)
DIGIT_BIT
)
)
;
libtommath.h:2423
s_mp_mul_digs()
mp_digit
W
[
MP_WARRAY
]
;
libtommath.h:2459
fast_s_mp_mul_digs()
mp_digit
*
tmpx
,
*
tmpy
;
libtommath.h:2477
fast_s_mp_mul_digs()
W
[
ix
]
=
(
(
mp_digit
)
_W
)
&
MP_MASK
;
libtommath.h:2499
fast_s_mp_mul_digs()
register
mp_digit
*
tmpc
;
libtommath.h:2510
fast_s_mp_mul_digs()
a
->
dp
=
OPT_CAST
(
mp_digit
)
XMALLOC
(
sizeof
(
mp_digit
)
*
size
)
;
libtommath.h:2537
mp_init_size()
mp_digit
u
,
tmpx
,
*
tmpt
;
libtommath.h:2563
s_mp_sqr()
t
.
dp
[
ix
+
ix
]
=
(
mp_digit
)
(
r
&
(
(
mp_word
)
MP_MASK
)
)
;
libtommath.h:2580
s_mp_sqr()
u
=
(
mp_digit
)
(
r
>
>
(
(
mp_word
)
DIGIT_BIT
)
)
;
libtommath.h:2583
s_mp_sqr()
*
tmpt
++
=
(
mp_digit
)
(
r
&
(
(
mp_word
)
MP_MASK
)
)
;
libtommath.h:2601
s_mp_sqr()
u
=
(
mp_digit
)
(
r
>
>
(
(
mp_word
)
DIGIT_BIT
)
)
;
libtommath.h:2604
s_mp_sqr()
while
(
u
!=
(
(
mp_digit
)
0
)
)
{
libtommath.h:2607
s_mp_sqr()
*
tmpt
++
=
(
mp_digit
)
(
r
&
(
(
mp_word
)
MP_MASK
)
)
;
libtommath.h:2609
s_mp_sqr()
u
=
(
mp_digit
)
(
r
>
>
(
(
mp_word
)
DIGIT_BIT
)
)
;
libtommath.h:2610
s_mp_sqr()
mp_digit
u
;
libtommath.h:2629
s_mp_mul_high_digs()
mp_digit
tmpx
,
*
tmpt
,
*
tmpy
;
libtommath.h:2631
s_mp_mul_high_digs()
*
tmpt
++
=
(
mp_digit
)
(
r
&
(
(
mp_word
)
MP_MASK
)
)
;
libtommath.h:2668
s_mp_mul_high_digs()
u
=
(
mp_digit
)
(
r
>
>
(
(
mp_word
)
DIGIT_BIT
)
)
;
libtommath.h:2671
s_mp_mul_high_digs()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Instance
Scope
Location
Project
mp_int::dp
mp_int
libtommath.h:119
mp_set()::b
mp_set()
libtommath.h:145
mp_cmp_d()::b
mp_cmp_d()
libtommath.h:706
mp_set()::b
mp_set()
libtommath.h:1339
Lifecycle
from
examples
All items filtered out
All items filtered out