Add test for ecdsa_read_signature_restartable()

Test values taken from a random signature as generated in
ecdsa_write_read_random() test function
This commit is contained in:
Manuel Pégourié-Gonnard 2017-04-21 11:04:47 +02:00
parent 32aa4375cc
commit 722e5156fd
4 changed files with 68 additions and 3 deletions

View file

@ -62,7 +62,7 @@ typedef mbedtls_ecp_keypair mbedtls_ecdsa_context;
*/
typedef struct
{
mbedtls_ecp_restart_ctx rs_ecp; /*!< base context (admin+ecp info) */
mbedtls_ecp_restart_ctx ecp; /*!< base context (admin+ecp info) */
} mbedtls_ecdsa_restart_ctx;
#else /* MBEDTLS_ECP_RESTARTABLE */