ESP-IDF
mp_copy()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
mp_copy()
mp_copy() function
Syntax
Show:
Summary
Declaration
Definition
from
libtommath.h:159
static
int
mp_copy
(
mp_int
*
a
,
mp_int
*
b
)
;
Implemented in
libtommath.h:1136
Arguments
Argument
a
b
Related Functions
Found 44 other functions taking a
mp_int
argument:
Function
mp_clear()
mp_init()
mp_clamp()
mp_exch()
mp_grow()
mp_zero()
mp_count_bits()
mp_mul()
mp_cmp_mag()
s_mp_sub()
mp_sqr()
mp_div_2d()
mp_set()
mp_mul_2d()
mp_rshd()
mp_add()
mp_init_size()
mp_abs()
mp_2expt()
mp_mod_2d()
mp_div()
s_mp_mul_digs()
mp_init_copy()
mp_mod()
mp_cmp()
mp_sub()
mp_lshd()
s_mp_add()
s_mp_mul_high_digs()
mp_reduce_2k_l()
mp_reduce_2k_setup_l()
mp_reduce_setup()
mp_reduce()
mp_cmp_d()
mp_unsigned_bin_size()
fast_s_mp_mul_digs()
s_mp_exptmod()
mp_init_multi()
mp_clear_multi()
s_mp_sqr()
mp_mulmod()
mp_exptmod()
mp_read_unsigned_bin()
mp_to_unsigned_bin()
Examples
References
from
examples
Code
Location
Referrer
mp_copy
(
mp_int
*
a
,
mp_int
*
b
)
libtommath.h:1137
static
int
mp_copy
(
mp_int
*
a
,
mp_int
*
b
)
;
libtommath.h:159
res
=
mp_copy
(
a
,
c
)
;
libtommath.h:1039
mp_div_2d()
if
(
(
res
=
mp_copy
(
a
,
c
)
)
!=
MP_OKAY
)
{
libtommath.h:1059
mp_div_2d()
return
mp_copy
(
b
,
a
)
;
libtommath.h:1114
mp_init_copy()
if
(
(
res
=
mp_copy
(
a
,
b
)
)
!=
MP_OKAY
)
{
libtommath.h:1324
mp_abs()
if
(
(
res
=
mp_copy
(
a
,
c
)
)
!=
MP_OKAY
)
{
libtommath.h:1407
mp_mul_2d()
res
=
mp_copy
(
a
,
c
)
;
libtommath.h:1607
mp_mod_2d()
if
(
(
res
=
mp_copy
(
a
,
c
)
)
!=
MP_OKAY
)
{
libtommath.h:1612
mp_mod_2d()
res
=
mp_copy
(
a
,
d
)
;
libtommath.h:1645
mp_div()
if
(
(
err
=
mp_copy
(
&
M
[
1
]
,
&
M
[
1
<
<
(
winsize
-
1
)
]
)
)
!=
MP_OKAY
)
{
libtommath.h:1988
s_mp_exptmod()
Call Tree
from
examples
mp_copy()
is called by 7 functions and calls 1 function:
mp_div_2d()
mp_init_copy()
mp_abs()
mp_mul_2d()
mp_mod_2d()
mp_div()
s_mp_exptmod()
All items filtered out
mp_copy()
mp_grow()
All items filtered out
Data Use
from
examples
mp_copy()
reads 4 variables and writes 2 variables:
mp_int::used
mp_int::alloc
mp_int::sign
mp_int::dp
All items filtered out
mp_copy()
mp_int::used
mp_int::sign
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