Remove deterministic alg restriction on sign hash
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
diff --git a/library/psa_crypto.c b/library/psa_crypto.c
index ee9e041..748cb13 100644
--- a/library/psa_crypto.c
+++ b/library/psa_crypto.c
@@ -3494,12 +3494,6 @@
defined(MBEDTLS_PSA_BUILTIN_ALG_DETERMINISTIC_ECDSA)) && \
defined(MBEDTLS_ECP_RESTARTABLE)
-#if !defined(MBEDTLS_PSA_BUILTIN_ALG_DETERMINISTIC_ECDSA)
- if (PSA_ALG_ECDSA_IS_DETERMINISTIC(alg)) {
- return PSA_ERROR_NOT_SUPPORTED;
- }
-#endif
-
/* Ensure default is set even if
* mbedtls_psa_interruptible_set_max_ops() has not been called. */
mbedtls_psa_interruptible_set_max_ops(