mbedTLS
mbedtls_rsa_context::N
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
mbedTLS
mbedtls_rsa_context::N
mbedtls_rsa_context::N field
Syntax
Show:
Summary
Declaration
from
rsa.h:92
mbedtls_mpi
MBEDTLS_PRIVATE
(
N
;
Examples
References
from
examples
Code
Location
Referrer
mbedtls_mpi
MBEDTLS_PRIVATE
(
N
)
;
/*!< The public modulus. */
rsa.h:92
items
->
value
=
&
(
rsa
->
N
)
;
pk_wrap.c:482
rsa_debug()
if
(
(
N
!=
NULL
&&
(
ret
=
mbedtls_mpi_copy
(
&
ctx
->
N
,
N
)
)
!=
0
)
||
rsa.c:579
mbedtls_rsa_import()
ctx
->
len
=
mbedtls_mpi_size
(
&
ctx
->
N
)
;
rsa.c:588
mbedtls_rsa_import()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_read_binary
(
&
ctx
->
N
,
N
,
N_len
)
)
;
rsa.c:604
mbedtls_rsa_import_raw()
ctx
->
len
=
mbedtls_mpi_size
(
&
ctx
->
N
)
;
rsa.c:605
mbedtls_rsa_import_raw()
if
(
ctx
->
len
!=
mbedtls_mpi_size
(
&
ctx
->
N
)
||
rsa.c:647
rsa_check_context()
if
(
mbedtls_mpi_cmp_int
(
&
ctx
->
N
,
0
)
<=
0
||
rsa.c:658
rsa_check_context()
mbedtls_mpi_get_bit
(
&
ctx
->
N
,
0
)
==
0
)
{
rsa.c:659
rsa_check_context()
have_N
=
(
mbedtls_mpi_cmp_int
(
&
ctx
->
N
,
0
)
!=
0
)
;
rsa.c:731
mbedtls_rsa_complete()
if
(
(
ret
=
mbedtls_mpi_mul_mpi
(
&
ctx
->
N
,
&
ctx
->
P
,
rsa.c:770
mbedtls_rsa_complete()
ctx
->
len
=
mbedtls_mpi_size
(
&
ctx
->
N
)
;
rsa.c:775
mbedtls_rsa_complete()
ret
=
mbedtls_rsa_deduce_primes
(
&
ctx
->
N
,
&
ctx
->
E
,
&
ctx
->
D
,
rsa.c:783
mbedtls_rsa_complete()
mbedtls_mpi_cmp_int
(
&
ctx
->
N
,
0
)
!=
0
&&
rsa.c:832
mbedtls_rsa_export_raw()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_write_binary
(
&
ctx
->
N
,
N
,
N_len
)
)
;
rsa.c:848
mbedtls_rsa_export_raw()
mbedtls_mpi_cmp_int
(
&
ctx
->
N
,
0
)
!=
0
&&
rsa.c:881
mbedtls_rsa_export()
if
(
(
N
!=
NULL
&&
(
ret
=
mbedtls_mpi_copy
(
N
,
&
ctx
->
N
)
)
!=
0
)
||
rsa.c:898
mbedtls_rsa_export()
mbedtls_mpi_cmp_int
(
&
ctx
->
N
,
0
)
!=
0
&&
rsa.c:923
mbedtls_rsa_export_crt()
return
mbedtls_mpi_bitlen
(
&
ctx
->
N
)
;
rsa.c:1025
mbedtls_rsa_get_bitlen()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mul_mpi
(
&
ctx
->
N
,
&
ctx
->
P
,
&
ctx
->
Q
)
)
;
rsa.c:1129
mbedtls_rsa_gen_key()
ctx
->
len
=
mbedtls_mpi_size
(
&
ctx
->
N
)
;
rsa.c:1131
mbedtls_rsa_gen_key()
if
(
mbedtls_mpi_bitlen
(
&
ctx
->
N
)
<
128
)
{
rsa.c:1175
mbedtls_rsa_check_pubkey()
mbedtls_mpi_cmp_mpi
(
&
ctx
->
E
,
&
ctx
->
N
)
>=
0
)
{
rsa.c:1181
mbedtls_rsa_check_pubkey()
if
(
mbedtls_rsa_validate_params
(
&
ctx
->
N
,
&
ctx
->
P
,
&
ctx
->
Q
,
rsa.c:1198
mbedtls_rsa_check_privkey()
if
(
mbedtls_mpi_cmp_mpi
(
&
pub
->
N
,
&
prv
->
N
)
!=
0
||
rsa.c:1224
mbedtls_rsa_check_pub_priv()
if
(
mbedtls_mpi_cmp_mpi
(
&
T
,
&
ctx
->
N
)
>=
0
)
{
rsa.c:1257
mbedtls_rsa_public()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_exp_mod_unsafe
(
&
T
,
&
T
,
&
ctx
->
E
,
&
ctx
->
N
,
&
ctx
->
RN
)
)
;
rsa.c:1263
mbedtls_rsa_public()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mod_mpi
(
&
ctx
->
Vi
,
&
ctx
->
Vi
,
&
ctx
->
N
)
)
;
rsa.c:1299
rsa_prepare_blinding()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mod_mpi
(
&
ctx
->
Vf
,
&
ctx
->
Vf
,
&
ctx
->
N
)
)
;
rsa.c:1301
rsa_prepare_blinding()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mod_mpi
(
&
ctx
->
Vi
,
&
ctx
->
Vi
,
&
ctx
->
N
)
)
;
rsa.c:1318
rsa_prepare_blinding()
ret
=
mbedtls_mpi_inv_mod
(
&
ctx
->
Vi
,
&
ctx
->
Vi
,
&
ctx
->
N
)
;
rsa.c:1324
rsa_prepare_blinding()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mod_mpi
(
&
ctx
->
Vi
,
&
ctx
->
Vi
,
&
ctx
->
N
)
)
;
rsa.c:1333
rsa_prepare_blinding()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_exp_mod
(
&
ctx
->
Vi
,
&
ctx
->
Vi
,
&
ctx
->
E
,
&
ctx
->
N
,
&
ctx
->
RN
)
)
;
rsa.c:1337
rsa_prepare_blinding()
if
(
mbedtls_mpi_cmp_mpi
(
&
T
,
&
ctx
->
N
)
>=
0
)
{
rsa.c:1480
mbedtls_rsa_private()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mod_mpi
(
&
T
,
&
T
,
&
ctx
->
N
)
)
;
rsa.c:1491
mbedtls_rsa_private()
&
ctx
->
N
,
&
ctx
->
RN
)
)
;
rsa.c:1559
mbedtls_rsa_private()
MBEDTLS_MPI_CHK
(
rsa_unblind
(
&
T
,
&
ctx
->
Vf
,
&
ctx
->
N
)
)
;
rsa.c:1569
mbedtls_rsa_private()
msb
=
mbedtls_mpi_bitlen
(
&
ctx
->
N
)
-
1
;
rsa.c:2185
rsa_rsassa_pss_sign_no_mode_check()
msb
=
mbedtls_mpi_bitlen
(
&
ctx
->
N
)
-
1
;
rsa.c:2214
rsa_rsassa_pss_sign_no_mode_check()
msb
=
mbedtls_mpi_bitlen
(
&
ctx
->
N
)
-
1
;
rsa.c:2589
mbedtls_rsa_rsassa_pss_verify_ext()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_copy
(
&
dst
->
N
,
&
src
->
N
)
)
;
rsa.c:2779
mbedtls_rsa_copy()
mbedtls_mpi_free
(
&
ctx
->
N
)
;
rsa.c:2826
mbedtls_rsa_free()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_rsa_context::N
is read by 1 function:
All items filtered out
mbedtls_rsa_context::N
rsa_debug()
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