mbedTLS
mbedtls_rsa_context::Q
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::Q
mbedtls_rsa_context::Q field
Syntax
Show:
Summary
Declaration
from
rsa.h:97
mbedtls_mpi
MBEDTLS_PRIVATE
(
Q
;
Examples
References
from
examples
Code
Location
Referrer
mbedtls_mpi
MBEDTLS_PRIVATE
(
Q
)
;
/*!< The second prime factor. */
rsa.h:97
(
Q
!=
NULL
&&
(
ret
=
mbedtls_mpi_copy
(
&
ctx
->
Q
,
Q
)
)
!=
0
)
||
rsa.c:581
mbedtls_rsa_import()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_read_binary
(
&
ctx
->
Q
,
Q
,
Q_len
)
)
;
rsa.c:613
mbedtls_rsa_import_raw()
mbedtls_mpi_cmp_int
(
&
ctx
->
Q
,
0
)
<=
0
||
rsa.c:670
rsa_check_context()
mbedtls_mpi_get_bit
(
&
ctx
->
Q
,
0
)
==
0
)
)
{
rsa.c:671
rsa_check_context()
have_Q
=
(
mbedtls_mpi_cmp_int
(
&
ctx
->
Q
,
0
)
!=
0
)
;
rsa.c:733
mbedtls_rsa_complete()
&
ctx
->
Q
)
)
!=
0
)
{
rsa.c:771
mbedtls_rsa_complete()
&
ctx
->
P
,
&
ctx
->
Q
)
;
rsa.c:784
mbedtls_rsa_complete()
&
ctx
->
Q
,
rsa.c:791
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
->
Q
,
0
)
!=
0
&&
rsa.c:834
mbedtls_rsa_export_raw()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_write_binary
(
&
ctx
->
Q
,
Q
,
Q_len
)
)
;
rsa.c:856
mbedtls_rsa_export_raw()
mbedtls_mpi_cmp_int
(
&
ctx
->
Q
,
0
)
!=
0
&&
rsa.c:883
mbedtls_rsa_export()
(
Q
!=
NULL
&&
(
ret
=
mbedtls_mpi_copy
(
Q
,
&
ctx
->
Q
)
)
!=
0
)
||
rsa.c:900
mbedtls_rsa_export()
mbedtls_mpi_cmp_int
(
&
ctx
->
Q
,
0
)
!=
0
&&
rsa.c:925
mbedtls_rsa_export_crt()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_gen_prime
(
&
ctx
->
Q
,
nbits
>
>
1
,
rsa.c:1088
mbedtls_rsa_gen_key()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_sub_mpi
(
&
H
,
&
ctx
->
P
,
&
ctx
->
Q
)
)
;
rsa.c:1092
mbedtls_rsa_gen_key()
mbedtls_mpi_swap
(
&
ctx
->
P
,
&
ctx
->
Q
)
;
rsa.c:1099
mbedtls_rsa_gen_key()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_sub_int
(
&
ctx
->
Q
,
&
ctx
->
Q
,
1
)
)
;
rsa.c:1104
mbedtls_rsa_gen_key()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mul_mpi
(
&
H
,
&
ctx
->
P
,
&
ctx
->
Q
)
)
;
rsa.c:1105
mbedtls_rsa_gen_key()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_gcd
(
&
G
,
&
ctx
->
P
,
&
ctx
->
Q
)
)
;
rsa.c:1114
mbedtls_rsa_gen_key()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_add_int
(
&
ctx
->
Q
,
&
ctx
->
Q
,
1
)
)
;
rsa.c:1127
mbedtls_rsa_gen_key()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mul_mpi
(
&
ctx
->
N
,
&
ctx
->
P
,
&
ctx
->
Q
)
)
;
rsa.c:1129
mbedtls_rsa_gen_key()
MBEDTLS_MPI_CHK
(
mbedtls_rsa_deduce_crt
(
&
ctx
->
P
,
&
ctx
->
Q
,
&
ctx
->
D
,
rsa.c:1139
mbedtls_rsa_gen_key()
if
(
mbedtls_rsa_validate_params
(
&
ctx
->
N
,
&
ctx
->
P
,
&
ctx
->
Q
,
rsa.c:1198
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_sub_int
(
&
Q1
,
&
ctx
->
Q
,
1
)
)
;
rsa.c:1499
mbedtls_rsa_private()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_exp_mod
(
&
TQ
,
&
T
,
&
DQ_blind
,
&
ctx
->
Q
,
&
ctx
->
RQ
)
)
;
rsa.c:1541
mbedtls_rsa_private()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mul_mpi
(
&
TP
,
&
T
,
&
ctx
->
Q
)
)
;
rsa.c:1553
mbedtls_rsa_private()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_copy
(
&
dst
->
Q
,
&
src
->
Q
)
)
;
rsa.c:2784
mbedtls_rsa_copy()
mbedtls_mpi_free
(
&
ctx
->
Q
)
;
rsa.c:2823
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