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

Return value

\c 0 if the signing operation was successful. An \c MBEDTLS_ERR_RSA_XXX error code on failure.

Notes

The \p sig buffer must be as large as the size of \p ctx->N. For example, 128 Bytes if RSA-1024 is used. For PKCS#1 v2.1 encoding, see comments on mbedtls_rsa_rsassa_pss_sign() for details on \p md_alg and \p hash_id.

References

from 0/1 examples