Have a great day,
There is separate P5040 Security (SEC) Reference Manual on the P5040 web page
http://www.nxp.com/products/microcontrollers-and-processors/power-architecture-processors/qoriq-powe...
There are application notes for the SEC 2.0 and SEC 3.x but it is not so useful because the P5040 has SEC rev. 4.2. You can search for the security training courses on the NXP site. For example see “Introduction to Security Acceleration in QorIQ Processors”
https://community.nxp.com/servlet/JiveServlet/downloadBody/331881-102-1-267794/DES-N1856%20Security%...
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------