Lines Matching refs:ma
222 ctx->ma = NULL; in mbedtls_ecp_restart_init()
237 ecp_restart_ma_free(ctx->ma); in mbedtls_ecp_restart_free()
238 mbedtls_free(ctx->ma); in mbedtls_ecp_restart_free()
2825 ECP_RS_ENTER(ma); in mbedtls_ecp_muladd_restartable()
2828 if (rs_ctx != NULL && rs_ctx->ma != NULL) { in mbedtls_ecp_muladd_restartable()
2830 pmP = &rs_ctx->ma->mP; in mbedtls_ecp_muladd_restartable()
2831 pR = &rs_ctx->ma->R; in mbedtls_ecp_muladd_restartable()
2834 if (rs_ctx->ma->state == ecp_rsma_mul2) { in mbedtls_ecp_muladd_restartable()
2837 if (rs_ctx->ma->state == ecp_rsma_add) { in mbedtls_ecp_muladd_restartable()
2840 if (rs_ctx->ma->state == ecp_rsma_norm) { in mbedtls_ecp_muladd_restartable()
2848 if (rs_ctx != NULL && rs_ctx->ma != NULL) { in mbedtls_ecp_muladd_restartable()
2849 rs_ctx->ma->state = ecp_rsma_mul2; in mbedtls_ecp_muladd_restartable()
2863 if (rs_ctx != NULL && rs_ctx->ma != NULL) { in mbedtls_ecp_muladd_restartable()
2864 rs_ctx->ma->state = ecp_rsma_add; in mbedtls_ecp_muladd_restartable()
2872 if (rs_ctx != NULL && rs_ctx->ma != NULL) { in mbedtls_ecp_muladd_restartable()
2873 rs_ctx->ma->state = ecp_rsma_norm; in mbedtls_ecp_muladd_restartable()
2882 if (rs_ctx != NULL && rs_ctx->ma != NULL) { in mbedtls_ecp_muladd_restartable()
2899 ECP_RS_LEAVE(ma); in mbedtls_ecp_muladd_restartable()