mbedtls_psa_ecp_load_representation() function
Load the contents of a key buffer into an internal ECP representation
Arguments
type
The type of key contained in \p data.
curve_bits
The nominal bit-size of the curve. It must be consistent with the representation passed in \p data. This can be 0, in which case the bit-size is inferred from \p data_length (which is possible for all key types and representation formats formats that are currently supported or will be in the foreseeable future).
data
The buffer from which to load the representation.
data_length
The size in bytes of \p data.
p_ecp
Returns a pointer to an ECP context on success. The caller is responsible for freeing both the contents of the context and the context itself when done.
mbedtls_psa_ecp_load_representation() is called by 5 functions and calls 11 functions:
![]()
mbedtls_psa_ecp_load_representation()
mbedtls_psa_ecp_load_representation() reads 3 variables:
![]()
mbedtls_psa_ecp_load_representation()