Searched refs:ecdsa_ctx (Results 1 – 1 of 1) sorted by relevance
314 mbedtls_ecdsa_context ecdsa_ctx; member327 mbedtls_ecdsa_init( &rs_ctx->ecdsa_ctx ); in eckey_rs_alloc()342 mbedtls_ecdsa_free( &rs_ctx->ecdsa_ctx ); in eckey_rs_free()360 if( rs->ecdsa_ctx.grp.pbits == 0 ) in eckey_verify_rs_wrap()361 MBEDTLS_MPI_CHK( mbedtls_ecdsa_from_keypair( &rs->ecdsa_ctx, ctx ) ); in eckey_verify_rs_wrap()363 MBEDTLS_MPI_CHK( ecdsa_verify_rs_wrap( &rs->ecdsa_ctx, in eckey_verify_rs_wrap()385 if( rs->ecdsa_ctx.grp.pbits == 0 ) in eckey_sign_rs_wrap()386 MBEDTLS_MPI_CHK( mbedtls_ecdsa_from_keypair( &rs->ecdsa_ctx, ctx ) ); in eckey_sign_rs_wrap()388 MBEDTLS_MPI_CHK( ecdsa_sign_rs_wrap( &rs->ecdsa_ctx, md_alg, in eckey_sign_rs_wrap()