ESP-IDF
mp_init()
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_init()
mp_init() function
Syntax
Show:
Summary
Declaration
from
libtommath.h:367
static
int
mp_init
(
mp_int
*
a
)
;
Arguments
Argument
a
Related Functions
Found 44 other functions taking a
mp_int
argument:
Function
mp_clear()
mp_clamp()
mp_copy()
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_init
(
mp_int
*
a
)
libtommath.h:368
if
(
mp_init
(
(
mp_int
*
)
n
)
!=
MP_OKAY
)
{
bignum.c:35
bignum_init()
if
(
(
res
=
mp_init
(
&
t
)
)
!=
MP_OKAY
)
{
libtommath.h:543
mp_mulmod()
if
(
(
res
=
mp_init
(
&
t
)
)
!=
MP_OKAY
)
{
libtommath.h:564
mp_mod()
if
(
(
res
=
mp_init
(
&
t
)
)
!=
MP_OKAY
)
{
libtommath.h:1046
mp_div_2d()
if
(
(
res
=
mp_init
(
a
)
)
!=
MP_OKAY
)
{
libtommath.h:1111
mp_init_copy()
if
(
mp_init
(
cur_arg
)
!=
MP_OKAY
)
{
libtommath.h:1475
mp_init_multi()
if
(
(
err
=
mp_init
(
&
M
[
1
]
)
)
!=
MP_OKAY
)
{
libtommath.h:1941
s_mp_exptmod()
if
(
(
err
=
mp_init
(
&
M
[
x
]
)
)
!=
MP_OKAY
)
{
libtommath.h:1947
s_mp_exptmod()
if
(
(
err
=
mp_init
(
&
mu
)
)
!=
MP_OKAY
)
{
libtommath.h:1957
s_mp_exptmod()
if
(
(
err
=
mp_init
(
&
res
)
)
!=
MP_OKAY
)
{
libtommath.h:2018
s_mp_exptmod()
if
(
(
res
=
mp_init
(
&
q
)
)
!=
MP_OKAY
)
{
libtommath.h:2184
mp_reduce_2k_l()
if
(
(
res
=
mp_init
(
&
tmp
)
)
!=
MP_OKAY
)
{
libtommath.h:2223
mp_reduce_2k_setup_l()
Call Tree
from
examples
mp_init()
is called by 9 functions and calls 1 function:
mp_mulmod()
mp_mod()
mp_div_2d()
mp_init_copy()
mp_init_multi()
s_mp_exptmod()
mp_reduce_2k_l()
mp_reduce_2k_setup_l()
bignum_init()
All items filtered out
mp_init()
malloc()
All items filtered out
Data Use
from
examples
mp_init()
reads 1 variable and writes 4 variables:
mp_int::dp
All items filtered out
mp_init()
mp_int::used
mp_int::alloc
mp_int::sign
mp_int::dp
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