Merge pull request #1172 from davidhorstmann-arm/generate-random-buffer-protection

Add secure buffer copying to `psa_generate_random()`