Merge pull request #1153 from tom-daubney-arm/asymmetric_encrypt_buffer_protection

Implement safe buffer copying in asymmetric encryption