mbedTLS
mbedtls_ecdh_context::grp
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
mbedTLS
mbedtls_ecdh_context::grp
mbedtls_ecdh_context::grp field
The elliptic curve used.
Syntax
from
ecdh.h:113
mbedtls_ecp_group
grp
;
References
Location
Referrer
Text
ecdh.h:113
mbedtls_ecp_group
grp
;
/*!< The elliptic curve used. */
ecdh.c:56
mbedtls_ecdh_grp_id()
return
(
ctx
->
grp
.
id
)
;
ecdh.c:158
ecdh_init_internal()
mbedtls_ecp_group_init
(
&
ctx
->
grp
)
;
ecdh.c:197
ecdh_setup_internal()
ret
=
mbedtls_ecp_group_load
(
&
ctx
->
grp
,
grp_id
)
;
ecdh.c:230
ecdh_free_internal()
mbedtls_ecp_group_free
(
&
ctx
->
grp
)
;
ecdh.c:297
ecdh_make_params_internal()
if
(
ctx
->
grp
.
pbits
==
0
)
ecdh.c:313
ecdh_make_params_internal()
if
(
(
ret
=
mbedtls_ecdh_gen_public
(
&
ctx
->
grp
,
&
ctx
->
d
,
&
ctx
->
Q
,
ecdh.c:318
ecdh_make_params_internal()
if
(
(
ret
=
mbedtls_ecp_tls_write_group
(
&
ctx
->
grp
,
&
grp_len
,
buf
,
ecdh.c:325
ecdh_make_params_internal()
if
(
(
ret
=
mbedtls_ecp_tls_write_point
(
&
ctx
->
grp
,
&
ctx
->
Q
,
point_format
,
ecdh.c:378
ecdh_read_params_internal()
return
(
mbedtls_ecp_tls_read_point
(
&
ctx
->
grp
,
&
ctx
->
Qp
,
buf
,
ecdh.c:499
ecdh_make_public_internal()
if
(
ctx
->
grp
.
pbits
==
0
)
ecdh.c:514
ecdh_make_public_internal()
if
(
(
ret
=
mbedtls_ecdh_gen_public
(
&
ctx
->
grp
,
&
ctx
->
d
,
&
ctx
->
Q
,
ecdh.c:519
ecdh_make_public_internal()
return
mbedtls_ecp_tls_write_point
(
&
ctx
->
grp
,
&
ctx
->
Q
,
point_format
,
olen
,
ecdh.c:564
ecdh_read_public_internal()
if
(
(
ret
=
mbedtls_ecp_tls_read_point
(
&
ctx
->
grp
,
&
ctx
->
Qp
,
&
p
,
ecdh.c:611
ecdh_calc_secret_internal()
if
(
ctx
==
NULL
||
ctx
->
grp
.
pbits
==
0
)
ecdh.c:629
ecdh_calc_secret_internal()
if
(
(
ret
=
mbedtls_ecdh_compute_shared
(
&
ctx
->
grp
,
&
ctx
->
z
,
&
ctx
->
Qp
,
ecdh.c:639
ecdh_calc_secret_internal()
*
olen
=
ctx
->
grp
.
pbits
/
8
+
(
(
ctx
->
grp
.
pbits
%
8
)
!=
0
)
;
ssl_cli.c:2032
ssl_check_server_ecdh_params()
grp_id
=
ssl
->
handshake
->
ecdh_ctx
.
grp
.
id
;
Data Use
Functions reading
mbedtls_ecdh_context::grp
mbedtls_ecdh_context::grp
mbedtls_ecdh_grp_id()
ecdh_make_params_internal()
ecdh_make_public_internal()
ecdh_calc_secret_internal()
ssl_check_server_ecdh_params()
all items filtered out
Type of
mbedtls_ecdh_context::grp
mbedtls_ecdh_context::grp
mbedtls_ecp_group
all items filtered out