From 111f584d99d7f58084c1195825084f8e9c94c601 Mon Sep 17 00:00:00 2001 From: David Garske Date: Fri, 19 Jan 2024 12:15:40 -0800 Subject: [PATCH] Remove the PSA restriction to allow use with crypto callbacks. --- wolfssl/wolfcrypt/port/psa/psa.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/wolfssl/wolfcrypt/port/psa/psa.h b/wolfssl/wolfcrypt/port/psa/psa.h index 886d823a6..6bde526c0 100644 --- a/wolfssl/wolfcrypt/port/psa/psa.h +++ b/wolfssl/wolfcrypt/port/psa/psa.h @@ -44,13 +44,6 @@ #include -/* PSA implementation takes over the Sha struct and Sha functions implementation - completely. Devoiding the struct of the DevId field and hooks to make - crypto_cb work. */ -#if !defined(WOLFSSL_PSA_NO_HASH) && defined(WOLF_CRYPTO_CB) -#error "WOLFSSL PSA is not supported with WOLF_CRYPTO_CB" -#endif - #if defined(WOLFSSL_HAVE_PSA) #include