mbedTLS
mbedtls_rsa_context::D
is only used within mbedTLS.
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
mbedTLS
mbedtls_rsa_context::D
mbedtls_rsa_context::D field
Syntax
Show:
Summary
Declaration
from
rsa.h:95
mbedtls_mpi
MBEDTLS_PRIVATE
(
D
;
Examples
References
from
examples
Code
Location
Referrer
mbedtls_mpi
MBEDTLS_PRIVATE
(
D
)
;
/*!< The private exponent. */
rsa.h:95
(
D
!=
NULL
&&
(
ret
=
mbedtls_mpi_copy
(
&
ctx
->
D
,
D
)
)
!=
0
)
||
rsa.c:582
mbedtls_rsa_import()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_read_binary
(
&
ctx
->
D
,
D
,
D_len
)
)
;
rsa.c:617
mbedtls_rsa_import_raw()
have_D
=
(
mbedtls_mpi_cmp_int
(
&
ctx
->
D
,
0
)
!=
0
)
;
rsa.c:734
mbedtls_rsa_complete()
ret
=
mbedtls_rsa_deduce_primes
(
&
ctx
->
N
,
&
ctx
->
E
,
&
ctx
->
D
,
rsa.c:783
mbedtls_rsa_complete()
&
ctx
->
D
)
)
!=
0
)
{
rsa.c:793
mbedtls_rsa_complete()
ret
=
mbedtls_rsa_deduce_crt
(
&
ctx
->
P
,
&
ctx
->
Q
,
&
ctx
->
D
,
rsa.c:805
mbedtls_rsa_complete()
mbedtls_mpi_cmp_int
(
&
ctx
->
D
,
0
)
!=
0
&&
rsa.c:835
mbedtls_rsa_export_raw()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_write_binary
(
&
ctx
->
D
,
D
,
D_len
)
)
;
rsa.c:860
mbedtls_rsa_export_raw()
mbedtls_mpi_cmp_int
(
&
ctx
->
D
,
0
)
!=
0
&&
rsa.c:884
mbedtls_rsa_export()
(
D
!=
NULL
&&
(
ret
=
mbedtls_mpi_copy
(
D
,
&
ctx
->
D
)
)
!=
0
)
||
rsa.c:901
mbedtls_rsa_export()
mbedtls_mpi_cmp_int
(
&
ctx
->
D
,
0
)
!=
0
&&
rsa.c:926
mbedtls_rsa_export_crt()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_inv_mod
(
&
ctx
->
D
,
&
ctx
->
E
,
&
L
)
)
;
rsa.c:1116
mbedtls_rsa_gen_key()
if
(
mbedtls_mpi_bitlen
(
&
ctx
->
D
)
<=
(
(
nbits
+
1
)
/
2
)
)
{
// (FIPS 186-4 §B.3.1 criterion 3(a))
rsa.c:1118
mbedtls_rsa_gen_key()
MBEDTLS_MPI_CHK
(
mbedtls_rsa_deduce_crt
(
&
ctx
->
P
,
&
ctx
->
Q
,
&
ctx
->
D
,
rsa.c:1139
mbedtls_rsa_gen_key()
&
ctx
->
D
,
&
ctx
->
E
,
NULL
,
NULL
)
!=
0
)
{
rsa.c:1199
mbedtls_rsa_check_privkey()
else
if
(
mbedtls_rsa_validate_crt
(
&
ctx
->
P
,
&
ctx
->
Q
,
&
ctx
->
D
,
rsa.c:1204
mbedtls_rsa_check_privkey()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_copy
(
&
dst
->
D
,
&
src
->
D
)
)
;
rsa.c:2782
mbedtls_rsa_copy()
mbedtls_mpi_free
(
&
ctx
->
D
)
;
rsa.c:2822
mbedtls_rsa_free()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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