ESP-IDF
mp_int::sign
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
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::sign
mp_int::sign field
Syntax
Show:
Summary
Declaration
from
libtommath.h:118
int
used
,
alloc
,
sign
;
Examples
References
from
examples
Code
Location
Referrer
int
used
,
alloc
,
sign
;
libtommath.h:118
a
->
sign
=
MP_ZPOS
;
libtommath.h:387
mp_init()
a
->
sign
=
MP_ZPOS
;
libtommath.h:412
mp_clear()
sa
=
a
->
sign
;
libtommath.h:424
mp_add()
sb
=
b
->
sign
;
libtommath.h:425
mp_add()
c
->
sign
=
sa
;
libtommath.h:431
mp_add()
c
->
sign
=
sb
;
libtommath.h:439
mp_add()
c
->
sign
=
sa
;
libtommath.h:442
mp_add()
sa
=
a
->
sign
;
libtommath.h:456
mp_sub()
sb
=
b
->
sign
;
libtommath.h:457
mp_sub()
c
->
sign
=
sa
;
libtommath.h:464
mp_sub()
c
->
sign
=
sa
;
libtommath.h:473
mp_sub()
c
->
sign
=
(
sa
==
MP_ZPOS
)
?
MP_NEG
:
MP_ZPOS
;
libtommath.h:479
mp_sub()
neg
=
(
a
->
sign
==
b
->
sign
)
?
MP_ZPOS
:
MP_NEG
;
libtommath.h:493
mp_mul()
c
->
sign
=
(
c
->
used
>
0
)
?
neg
:
MP_ZPOS
;
libtommath.h:531
mp_mul()
if
(
t
.
sign
!=
b
->
sign
)
{
libtommath.h:573
mp_mod()
if
(
P
->
sign
==
MP_NEG
)
{
libtommath.h:598
mp_exptmod()
if
(
X
->
sign
==
MP_NEG
)
{
libtommath.h:603
mp_exptmod()
if
(
a
->
sign
!=
b
->
sign
)
{
libtommath.h:686
mp_cmp()
if
(
a
->
sign
==
MP_NEG
)
{
libtommath.h:687
mp_cmp()
if
(
a
->
sign
==
MP_NEG
)
{
libtommath.h:695
mp_cmp()
if
(
a
->
sign
==
MP_NEG
)
{
libtommath.h:709
mp_cmp_d()
a
->
sign
=
MP_ZPOS
;
libtommath.h:1125
mp_zero()
b
->
sign
=
a
->
sign
;
libtommath.h:1178
mp_copy()
a
->
sign
=
MP_ZPOS
;
libtommath.h:1269
mp_clamp()
b
->
sign
=
MP_ZPOS
;
libtommath.h:1330
mp_abs()
n
=
a
->
sign
;
libtommath.h:1684
mp_div()
n2
=
(
a
->
sign
==
b
->
sign
?
MP_ZPOS
:
MP_NEG
)
;
libtommath.h:1685
mp_div()
c
->
sign
=
(
mp_iszero
(
c
)
==
MP_YES
)
?
MP_ZPOS
:
n2
;
libtommath.h:1688
mp_div()
d
->
sign
=
(
mp_iszero
(
d
)
==
MP_YES
)
?
MP_ZPOS
:
n
;
libtommath.h:1692
mp_div()
b
->
sign
=
MP_ZPOS
;
libtommath.h:2169
mp_sqr()
a
->
sign
=
MP_ZPOS
;
libtommath.h:2545
mp_init_size()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mp_int::sign
is written by 12 functions and is read by 9 functions:
mp_init()
mp_clear()
mp_add()
mp_sub()
mp_mul()
mp_zero()
mp_copy()
mp_clamp()
mp_abs()
mp_div()
mp_sqr()
mp_init_size()
All items filtered out
mp_int::sign
mp_add()
mp_sub()
mp_mul()
mp_mod()
mp_exptmod()
mp_cmp()
mp_cmp_d()
mp_copy()
mp_div()
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