mbedtls_ecdsa_sign_det_restartable() is only used within mbedTLS.
 
Symbols
loading...
Files
loading (1/5)...
SummarySyntaxArgumentsRelatedReferencesCall TreeData Use

Return value

\c 0 on success. #MBEDTLS_ERR_ECP_IN_PROGRESS if maximum number of operations was reached: see \c mbedtls_ecp_set_max_ops(). Another \c MBEDTLS_ERR_ECP_XXX, \c MBEDTLS_ERR_MPI_XXX or \c MBEDTLS_ERR_ASN1_XXX error code on failure.

Notes

This function is like \c mbedtls_ecdsa_sign_det_ext() but it can return early and restart according to the limit set with \c mbedtls_ecp_set_max_ops() to reduce blocking. If the bitlength of the message hash is larger than the bitlength of the group order, then the hash is truncated as defined in Standards for Efficient Cryptography Group (SECG): SEC1 Elliptic Curve Cryptography, section 4.1.3, step 5.

References