Fix key usage test in psa_pake_set_password_key()

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
diff --git a/library/psa_crypto_pake.c b/library/psa_crypto_pake.c
index 05d5854..7288cac 100644
--- a/library/psa_crypto_pake.c
+++ b/library/psa_crypto_pake.c
@@ -188,11 +188,8 @@
         return PSA_ERROR_INVALID_ARGUMENT;
     }
 
-    if( usage == 0 ||
-        ( usage & PSA_KEY_USAGE_DERIVE ) == 0 )
-    {
+    if( ( usage & PSA_KEY_USAGE_DERIVE ) == 0 )
         return PSA_ERROR_NOT_PERMITTED;
-    }
 
     operation->password = password;