SHA-384 and SHA-512 are not supported in CC3XX PSA driver

For psa arch crypto test, SHA-384 and SHA-512 are not supported
in CC3XX PSA driver.

Signed-off-by: Summer Qin <summer.qin@arm.com>
diff --git a/api-tests/CMakeLists.txt b/api-tests/CMakeLists.txt
index 55c456b..618a775 100644
--- a/api-tests/CMakeLists.txt
+++ b/api-tests/CMakeLists.txt
@@ -641,6 +641,9 @@
 if(${SP_HEAP_MEM_SUPP} EQUAL 1)
 	add_definitions(-DSP_HEAP_MEM_SUPP)
 endif()
+if(${CC312_LEGACY_DRIVER_API_ENABLED})
+	add_definitions(-DCC312_LEGACY_DRIVER_API_ENABLED)
+endif()
 
 # Build PAL NSPE LIB
 include(${PSA_ROOT_DIR}/platform/targets/${TARGET}/target.cmake)