Solar Energetic Particle Acceleration and Transport at the Curved and Evolving Shock Driven by Coronal Mass Ejections