ESP-IDF
crypto_ec_key_set_pub()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
crypto_ec_key_set_pub()
crypto_ec_key_set_pub() function
crypto_ec_key_set_pub: set bignum point on ec curve @group: ec group @buf: x,y coordinate @len: length of x and y coordinate Return : crypto key or NULL on failure
Syntax
Show:
Summary
Declaration
Definition
from
crypto.h:1067
struct
crypto_ec_key
*
crypto_ec_key_set_pub
(
const
struct
crypto_ec_group
*
group
,
const
u8
*
buf
,
size_t
len
)
;
Implemented in
crypto_mbedtls-ec.c:504
Arguments
Argument
group
buf
len
Related Functions
Found 2 other functions taking a
crypto_ec_group
argument:
Function
Description
crypto_get_order()
crypto_get_order: free crypto key Return : None
crypto_ec_get_curve_id()
crypto_ec_get_curve_id - get curve id from ec group @group: EC group Returns: curve ID
Examples
References
from
examples
Code
Location
Referrer
struct
crypto_ec_key
*
crypto_ec_key_set_pub
(
const
struct
crypto_ec_group
*
group
,
crypto_mbedtls-ec.c:504
struct
crypto_ec_key
*
crypto_ec_key_set_pub
(
const
struct
crypto_ec_group
*
group
,
crypto.h:1067
pkey
=
crypto_ec_key_set_pub
(
(
struct
crypto_ec_group
*
)
ACCESS_ECDH
(
&
ctx
,
grp
)
,
buf
,
len
)
;
crypto_mbedtls-ec.c:1213
crypto_ecdh_set_peerkey()
pkey
=
crypto_ec_key_set_pub
(
group
,
a
,
len
)
;
dpp.c:3942
dpp_parse_jwk()
pkey
=
crypto_ec_key_set_pub
(
group
,
buf
,
len
)
;
dpp_crypto.c:169
dpp_set_pubkey_point()
Call Tree
from
examples
crypto_ec_key_set_pub()
is called by 3 functions and calls 12 functions:
crypto_ecdh_set_peerkey()
dpp_parse_jwk()
dpp_set_pubkey_point()
All items filtered out
crypto_ec_key_set_pub()
mbedtls_pk_ec()
mbedtls_ecp_copy()
mbedtls_ecp_group_load()
mbedtls_ecp_check_pubkey()
mbedtls_pk_info_from_type()
mbedtls_pk_free()
mbedtls_pk_setup()
crypto_ec_point_deinit()
crypto_ec_point_from_bin()
crypto_ec_point_is_at_infinity()
crypto_ec_point_is_on_curve()
crypto_alloc_key()
All items filtered out
Data Use
from
examples
crypto_ec_key_set_pub()
reads 2 variables:
mbedtls_ecp_group::id
mbedtls_pk_type_t::MBEDTLS_PK_ECKEY
All items filtered out
crypto_ec_key_set_pub()
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