mbedtls_rsa_deduce_primes() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Return value

- 0 if successful. In this case, P and Q constitute a factorization of N. - A non-zero error code otherwise.

Notes

This is a 'static' helper function not operating on an RSA context. Alternative implementations need not overwrite it. It is neither checked that P, Q are prime nor that D, E are modular inverses wrt. P-1 and Q-1. For that, use the helper function \c mbedtls_rsa_validate_params.

References

from examples