mbedTLS
+
0
/1 examples
SourceVu will show references to
mbedtls_dhm_get_len()
from the following samples and libraries:
blufi sample
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
mbedTLS
mbedtls_dhm_get_len()
mbedtls_dhm_get_len() function
This function returns the size of the prime modulus in bytes.
Syntax
Show:
Summary
Declaration
from
dhm.h:305
size_t
mbedtls_dhm_get_len
(
const
mbedtls_dhm_context
*
ctx
)
;
Arguments
Argument
Description
ctx
The DHM context to query.
Return value
The size of the prime modulus in bytes, i.e. the number n such that 2^(8*(n-1)) <= P < 2^(8*n).
Related Functions
Found 15 other functions taking a
mbedtls_dhm_context
argument:
Function
Description
mbedtls_dhm_free()
This function frees and clears the components of a DHM context.
mbedtls_dhm_init()
This function initializes the DHM context.
mbedtls_dhm_calc_secret()
This function derives and exports the shared secret \c (G^Y)^X mod \c P.
mbedtls_dhm_read_params()
This function parses the DHM parameters in a TLS ServerKeyExchange handshake message (DHM modulus, generator, and public key).
mbedtls_dhm_get_value()
This function copies a parameter of a DHM key.
mbedtls_dhm_parse_dhm()
This function parses DHM parameters in PEM or DER format.
mbedtls_dhm_make_public()
This function creates a DHM key pair and exports the raw public key in big-endian format.
mbedtls_dhm_make_params()
This function generates a DHM key pair and exports its public part together with the DHM parameters in the format used in a TLS ServerKeyExchange handshake message.
mbedtls_dhm_set_group()
This function sets the prime modulus and generator.
mbedtls_dhm_get_bitlen()
This function returns the size of the prime modulus in bits.
mbedtls_dhm_read_public()
This function imports the raw public value of the peer.
dhm_make_common()
mbedtls_dhm_parse_dhmfile()
This function loads and parses DHM parameters from a file.
mbedtls_ssl_conf_dh_param_ctx()
Set the Diffie-Hellman public P and G values, read from existing context (server-side only)
dhm_update_blinding()
Examples
mbedtls_dhm_get_len()
is referenced by 1 libraries and example projects:
References
from
examples
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