Do not copy the content to the local output buffer with allocation

Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
diff --git a/library/psa_crypto.c b/library/psa_crypto.c
index deb2327..59d0506 100644
--- a/library/psa_crypto.c
+++ b/library/psa_crypto.c
@@ -4442,7 +4442,7 @@
     }
 
     LOCAL_INPUT_ALLOC(input_external, input_length, input);
-    LOCAL_OUTPUT_ALLOC_WITH_COPY(output_external, output_size, output);
+    LOCAL_OUTPUT_ALLOC(output_external, output_size, output);
 
     status = psa_driver_wrapper_cipher_update(operation,
                                               input,
@@ -4481,7 +4481,7 @@
         goto exit;
     }
 
-    LOCAL_OUTPUT_ALLOC_WITH_COPY(output_external, output_size, output);
+    LOCAL_OUTPUT_ALLOC(output_external, output_size, output);
 
     status = psa_driver_wrapper_cipher_finish(operation,
                                               output,