mbedTLS + 0/1 examples
SourceVu will show references to mbedtls_dhm_calc_secret() from the following samples and libraries:
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedExamplesReferencesCall TreeData Use

Return value

\c 0 on success. An \c MBEDTLS_ERR_DHM_XXX error code on failure.

Notes

If \p f_rng is not \c NULL, it is used to blind the input as a countermeasure against timing attacks. Blinding is used only if our private key \c X is re-used, and not used otherwise. We recommend always passing a non-NULL \p f_rng argument.

References

from 0/1 examples