mbedTLS
mbedtls_ecp_keypair::d
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
mbedTLS
mbedtls_ecp_keypair::d
mbedtls_ecp_keypair::d field
Syntax
Show:
Summary
Declaration
from
ecp.h:430
mbedtls_mpi
MBEDTLS_PRIVATE
(
d
;
Examples
References
from
examples
Code
Location
Referrer
mbedtls_mpi
MBEDTLS_PRIVATE
(
d
)
;
/*!< our secret value */
ecp.h:430
(
ret
=
mbedtls_mpi_copy
(
&
ctx
->
d
,
&
key
->
d
)
)
!=
0
)
{
ecdh.c:435
ecdh_get_params_internal()
MBEDTLS_MPI_CHK
(
mbedtls_ecdsa_sign_det_restartable
(
&
ctx
->
grp
,
&
r
,
&
s
,
&
ctx
->
d
,
ecdsa.c:657
mbedtls_ecdsa_write_signature_restartable()
return
mbedtls_ecp_gen_keypair
(
&
ctx
->
grp
,
&
ctx
->
d
,
ecdsa.c:785
mbedtls_ecdsa_genkey()
(
ret
=
mbedtls_mpi_copy
(
&
ctx
->
d
,
&
key
->
d
)
)
!=
0
||
ecdsa.c:797
mbedtls_ecdsa_from_keypair()
mbedtls_mpi_init
(
&
key
->
d
)
;
ecp.c:537
mbedtls_ecp_keypair_init()
mbedtls_mpi_free
(
&
key
->
d
)
;
ecp.c:610
mbedtls_ecp_keypair_free()
return
mbedtls_ecp_gen_keypair
(
&
key
->
grp
,
&
key
->
d
,
&
key
->
Q
,
f_rng
,
p_rng
)
;
ecp.c:3228
mbedtls_ecp_gen_key()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_read_binary_le
(
&
key
->
d
,
buf
,
buflen
)
)
;
ecp.c:3277
mbedtls_ecp_read_key()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_set_bit
(
&
key
->
d
,
0
,
0
)
)
;
ecp.c:3280
mbedtls_ecp_read_key()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_set_bit
(
&
key
->
d
,
1
,
0
)
)
;
ecp.c:3281
mbedtls_ecp_read_key()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_set_bit
(
&
key
->
d
,
2
,
0
)
)
;
ecp.c:3282
mbedtls_ecp_read_key()
mbedtls_mpi_set_bit
(
&
key
->
d
,
ecp.c:3286
mbedtls_ecp_read_key()
mbedtls_mpi_set_bit
(
&
key
->
d
,
ecp.c:3292
mbedtls_ecp_read_key()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_read_binary_le
(
&
key
->
d
,
buf
,
buflen
)
)
;
ecp.c:3300
mbedtls_ecp_read_key()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_set_bit
(
&
key
->
d
,
0
,
0
)
)
;
ecp.c:3303
mbedtls_ecp_read_key()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_set_bit
(
&
key
->
d
,
1
,
0
)
)
;
ecp.c:3304
mbedtls_ecp_read_key()
mbedtls_mpi_set_bit
(
&
key
->
d
,
ecp.c:3308
mbedtls_ecp_read_key()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_read_binary
(
&
key
->
d
,
buf
,
buflen
)
)
;
ecp.c:3316
mbedtls_ecp_read_key()
MBEDTLS_MPI_CHK
(
mbedtls_ecp_check_privkey
(
&
key
->
grp
,
&
key
->
d
)
)
;
ecp.c:3321
mbedtls_ecp_read_key()
mbedtls_mpi_free
(
&
key
->
d
)
;
ecp.c:3327
mbedtls_ecp_read_key()
if
(
key
->
d
.
n
==
0
)
{
ecp.c:3381
mbedtls_ecp_write_key_ext()
return
mbedtls_mpi_write_binary_le
(
&
key
->
d
,
buf
,
len
)
;
ecp.c:3387
mbedtls_ecp_write_key_ext()
return
mbedtls_mpi_write_binary
(
&
key
->
d
,
buf
,
len
)
;
ecp.c:3393
mbedtls_ecp_write_key_ext()
MBEDTLS_MPI_CHK
(
mbedtls_ecp_mul
(
&
grp
,
&
Q
,
&
prv
->
d
,
&
prv
->
grp
.
G
,
f_rng
,
p_rng
)
)
;
ecp.c:3439
mbedtls_ecp_check_pub_priv()
return
mbedtls_ecp_mul
(
&
key
->
grp
,
&
key
->
Q
,
&
key
->
d
,
&
key
->
grp
.
G
,
ecp.c:3459
mbedtls_ecp_keypair_calc_public()
if
(
d
!=
NULL
&&
(
ret
=
mbedtls_mpi_copy
(
d
,
&
key
->
d
)
)
!=
0
)
{
ecp.c:3482
mbedtls_ecp_export()
int
has_private
=
(
ec
->
d
.
n
!=
0
)
;
pk.c:476
mbedtls_pk_get_psa_attributes()
if
(
ec
->
d
.
n
==
0
)
{
pk.c:704
import_pair_into_psa()
return
mbedtls_ecp_mul
(
&
eck
->
grp
,
&
eck
->
Q
,
&
eck
->
d
,
&
eck
->
grp
.
G
,
f_rng
,
p_rng
)
;
pk_ecc.c:140
mbedtls_pk_ecc_set_pubkey_from_prv()
mbedtls_ecp_mul
(
&
ecp
->
grp
,
&
ecp
->
Q
,
&
ecp
->
d
,
&
ecp
->
grp
.
G
,
psa_crypto_ecp.c:264
mbedtls_psa_ecp_export_key()
&
ecp
->
d
,
hash
,
psa_crypto_ecp.c:401
mbedtls_psa_ecdsa_sign_hash()
MBEDTLS_MPI_CHK
(
mbedtls_ecdsa_sign
(
&
ecp
->
grp
,
&
r
,
&
s
,
&
ecp
->
d
,
psa_crypto_ecp.c:411
mbedtls_psa_ecdsa_sign_hash()
&
ecp
->
d
,
&
ecp
->
grp
.
G
,
psa_crypto_ecp.c:443
mbedtls_psa_ecp_load_public_part()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_ecp_keypair::d
is read by 3 functions:
All items filtered out
mbedtls_ecp_keypair::d
mbedtls_ecp_write_key_ext()
mbedtls_pk_get_psa_attributes()
import_pair_into_psa()
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