ESP-IDF
mp_int::dp
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_int::dp
mp_int::dp field
Syntax
Show:
Summary
Declaration
from
libtommath.h:119
mp_digit
*
dp
;
Examples
References
from
examples
Code
Location
Referrer
mp_digit
*
dp
;
libtommath.h:119
tmpa
=
a
->
dp
;
libtommath.h:247
s_mp_add()
tmpb
=
b
->
dp
;
libtommath.h:250
s_mp_add()
tmpc
=
c
->
dp
;
libtommath.h:253
s_mp_add()
*
tmpc
=
x
->
dp
[
i
]
+
u
;
libtommath.h:274
s_mp_add()
tmpa
=
a
->
dp
;
libtommath.h:322
s_mp_sub()
tmpb
=
b
->
dp
;
libtommath.h:323
s_mp_sub()
tmpc
=
c
->
dp
;
libtommath.h:324
s_mp_sub()
a
->
dp
=
OPT_CAST
(
mp_digit
)
XMALLOC
(
sizeof
(
mp_digit
)
*
MP_PREC
)
;
libtommath.h:373
mp_init()
if
(
a
->
dp
==
NULL
)
{
libtommath.h:374
mp_init()
a
->
dp
[
i
]
=
0
;
libtommath.h:380
mp_init()
if
(
a
->
dp
!=
NULL
)
{
libtommath.h:400
mp_clear()
a
->
dp
[
i
]
=
0
;
libtommath.h:403
mp_clear()
XFREE
(
a
->
dp
)
;
libtommath.h:407
mp_clear()
a
->
dp
=
NULL
;
libtommath.h:410
mp_clear()
if
(
a
->
dp
[
0
]
>
b
)
{
libtommath.h:719
mp_cmp_d()
}
else
if
(
a
->
dp
[
0
]
<
b
)
{
libtommath.h:721
mp_cmp_d()
tmpa
=
a
->
dp
+
(
a
->
used
-
1
)
;
libtommath.h:944
mp_cmp_mag()
tmpb
=
b
->
dp
+
(
a
->
used
-
1
)
;
libtommath.h:947
mp_cmp_mag()
a
->
dp
[
0
]
|=
*
b
++
;
libtommath.h:986
mp_read_unsigned_bin()
b
[
x
++
]
=
(
unsigned
char
)
(
t
.
dp
[
0
]
&
255
)
;
libtommath.h:1013
mp_to_unsigned_bin()
tmpc
=
c
->
dp
+
(
c
->
used
-
1
)
;
libtommath.h:1081
mp_div_2d()
tmp
=
a
->
dp
;
libtommath.h:1128
mp_zero()
tmpa
=
a
->
dp
;
libtommath.h:1160
mp_copy()
tmpb
=
b
->
dp
;
libtommath.h:1163
mp_copy()
bottom
=
a
->
dp
;
libtommath.h:1206
mp_rshd()
top
=
a
->
dp
+
b
;
libtommath.h:1209
mp_rshd()
while
(
a
->
used
>
0
&&
a
->
dp
[
a
->
used
-
1
]
==
0
)
{
libtommath.h:1263
mp_clamp()
tmp
=
OPT_CAST
(
mp_digit
)
XREALLOC
(
a
->
dp
,
sizeof
(
mp_digit
)
*
size
)
;
libtommath.h:1292
mp_grow()
a
->
dp
=
tmp
;
libtommath.h:1299
mp_grow()
a
->
dp
[
i
]
=
0
;
libtommath.h:1305
mp_grow()
a
->
dp
[
0
]
=
b
&
MP_MASK
;
libtommath.h:1342
mp_set()
a
->
used
=
(
a
->
dp
[
0
]
!=
0
)
?
1
:
0
;
libtommath.h:1343
mp_set()
tmpc
=
c
->
dp
;
libtommath.h:1438
mp_mul_2d()
c
->
dp
[
(
c
->
used
)
++
]
=
r
;
libtommath.h:1456
mp_mul_2d()
top
=
a
->
dp
+
a
->
used
-
1
;
libtommath.h:1545
mp_lshd()
bottom
=
a
->
dp
+
a
->
used
-
1
-
b
;
libtommath.h:1548
mp_lshd()
top
=
a
->
dp
;
libtommath.h:1559
mp_lshd()
q
=
a
->
dp
[
a
->
used
-
1
]
;
libtommath.h:1584
mp_count_bits()
c
->
dp
[
x
]
=
0
;
libtommath.h:1618
mp_mod_2d()
c
->
dp
[
b
/
DIGIT_BIT
]
&=
libtommath.h:1621
mp_mod_2d()
buf
=
X
->
dp
[
digidx
--
]
;
libtommath.h:2039
s_mp_exptmod()
a
->
dp
[
b
/
DIGIT_BIT
]
=
(
(
mp_digit
)
1
)
<
<
(
b
%
DIGIT_BIT
)
;
libtommath.h:2263
mp_2expt()
tmpx
=
a
->
dp
[
ix
]
;
libtommath.h:2404
s_mp_mul_digs()
tmpt
=
t
.
dp
+
ix
;
libtommath.h:2407
s_mp_mul_digs()
tmpy
=
b
->
dp
;
libtommath.h:2410
s_mp_mul_digs()
tmpx
=
a
->
dp
+
tx
;
libtommath.h:2484
fast_s_mp_mul_digs()
tmpy
=
b
->
dp
+
ty
;
libtommath.h:2485
fast_s_mp_mul_digs()
tmpc
=
c
->
dp
;
libtommath.h:2511
fast_s_mp_mul_digs()
a
->
dp
=
OPT_CAST
(
mp_digit
)
XMALLOC
(
sizeof
(
mp_digit
)
*
size
)
;
libtommath.h:2537
mp_init_size()
if
(
a
->
dp
==
NULL
)
{
libtommath.h:2538
mp_init_size()
a
->
dp
[
x
]
=
0
;
libtommath.h:2549
mp_init_size()
r
=
(
(
mp_word
)
t
.
dp
[
2
*
ix
]
)
+
libtommath.h:2576
s_mp_sqr()
(
(
mp_word
)
a
->
dp
[
ix
]
)
*
(
(
mp_word
)
a
->
dp
[
ix
]
)
;
libtommath.h:2577
s_mp_sqr()
t
.
dp
[
ix
+
ix
]
=
(
mp_digit
)
(
r
&
(
(
mp_word
)
MP_MASK
)
)
;
libtommath.h:2580
s_mp_sqr()
tmpx
=
a
->
dp
[
ix
]
;
libtommath.h:2586
s_mp_sqr()
tmpt
=
t
.
dp
+
(
2
*
ix
+
1
)
;
libtommath.h:2589
s_mp_sqr()
r
=
(
(
mp_word
)
tmpx
)
*
(
(
mp_word
)
a
->
dp
[
iy
]
)
;
libtommath.h:2593
s_mp_sqr()
tmpx
=
a
->
dp
[
ix
]
;
libtommath.h:2653
s_mp_mul_high_digs()
tmpt
=
&
(
t
.
dp
[
digs
]
)
;
libtommath.h:2656
s_mp_mul_high_digs()
tmpy
=
b
->
dp
+
(
digs
-
ix
)
;
libtommath.h:2659
s_mp_mul_high_digs()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mp_int::dp
is written by 4 functions and is read by 26 functions:
mp_init()
mp_clear()
mp_grow()
mp_init_size()
All items filtered out
mp_int::dp
s_mp_add()
s_mp_sub()
mp_init()
mp_clear()
mp_cmp_d()
mp_cmp_mag()
mp_read_unsigned_bin()
mp_to_unsigned_bin()
mp_div_2d()
mp_zero()
mp_copy()
mp_rshd()
mp_clamp()
mp_grow()
mp_set()
mp_mul_2d()
mp_lshd()
mp_count_bits()
mp_mod_2d()
s_mp_exptmod()
mp_2expt()
s_mp_mul_digs()
fast_s_mp_mul_digs()
mp_init_size()
s_mp_sqr()
s_mp_mul_high_digs()
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
Lifecycle
from
examples
All items filtered out
All items filtered out