Allowing the security processor 204 to control the security functionality of the non-volatile memory 202, alleviates the external processor 206 from having to execute functions associated with security such as authentication, encryption, and signing.