Merge pull request #1142 from tom-daubney-arm/hash_buffer_protection

Add secure buffer copying to PSA Hash API