MISRA: Reduce the number of violations for MC3R1.R12.1

According to MC3R1.R12.1 the precedence
of operators within expressions should be made explicit.

Change-Id: Ia82d28dc437f83bba995cb75dff0d1282d3b3157
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
diff --git a/interface/include/psa/crypto_values.h b/interface/include/psa/crypto_values.h
index 1d678db..eb04f46 100644
--- a/interface/include/psa/crypto_values.h
+++ b/interface/include/psa/crypto_values.h
@@ -2396,7 +2396,7 @@
  * \return The constructed lifetime value.
  */
 #define PSA_KEY_LIFETIME_FROM_PERSISTENCE_AND_LOCATION(persistence, location) \
-    ((location) << 8 | (persistence))
+    (((location) << 8) | (persistence))
 
 /** The local storage area for persistent keys.
  *