mbedtls_dhm_get_len() function
This function returns the size of the prime modulus in bytes.
Arguments
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).
mbedtls_dhm_get_len() is called by 5 functions and calls 1 function:
![]()
mbedtls_dhm_get_len()
mbedtls_dhm_get_len():
![]()
mbedtls_dhm_get_len()