Merge pull request #1174 from davidhorstmann-arm/cipher-multipart-test-fix

Fix a multipart test that overwrites the same buffer twice