Consider using NXP ASK which is based on OpenWRT customized and verified
on LS1012A-based boards:
Layerscape 1012A Broadband Home Router Application | NXP
The ASK offers an NXP verified and HW-accelerated IPSec solution.
Regards,
Platon
Can you please mention the exact name and version of the NXP SDK/BSP you are
working with?
Best Regards,
Platon