Crypto: Introduce declarations for deprecated PSA APIs

The psa_asymmetric_sign() and psa_asymmetric_verify(),although part
of 1.0 beta3 specification, were deprecated by mbed-crypto as part
of migrating towards PSA 1.0 specification. Reintroduce the
declarations to allow Apps to use these APIs.

Signed-off-by: Soby Mathew <soby.mathew@arm.com>
Change-Id: I453b7be8db2114863e689aa6d5fbda3101c98bfb
diff --git a/interface/include/psa/crypto_compat.h b/interface/include/psa/crypto_compat.h
index 86fea2d..518008b 100644
--- a/interface/include/psa/crypto_compat.h
+++ b/interface/include/psa/crypto_compat.h
@@ -84,6 +84,24 @@
 #define PSA_ASYMMETRIC_SIGN_OUTPUT_SIZE( key_type, key_bits, alg ) \
     MBEDTLS_DEPRECATED_CONSTANT( size_t, PSA_SIGN_OUTPUT_SIZE( key_type, key_bits, alg ) )
 
+/*
+ * Deprecated PSA Crypto function names (PSA Crypto API  <= 1.0 beta3)
+ */
+MBEDTLS_PSA_DEPRECATED psa_status_t psa_asymmetric_sign( psa_key_handle_t key,
+                            psa_algorithm_t alg,
+                            const uint8_t *hash,
+                            size_t hash_length,
+                            uint8_t *signature,
+                            size_t signature_size,
+                            size_t *signature_length );
+
+MBEDTLS_PSA_DEPRECATED psa_status_t psa_asymmetric_verify( psa_key_handle_t key,
+                              psa_algorithm_t alg,
+                              const uint8_t *hash,
+                              size_t hash_length,
+                              const uint8_t *signature,
+                              size_t signature_length );
+
 #endif /* MBEDTLS_DEPRECATED_REMOVED */
 
 #ifdef __cplusplus