Merge pull request #7149 from dgarske/psa_cryptocb

Remove the PSA restriction to allow use with crypto callbacks
This commit is contained in:
JacobBarthelmeh 2024-01-22 08:24:51 -08:00 committed by GitHub
commit 12dafec3aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,13 +44,6 @@
#include <wolfssl/wolfcrypt/types.h>
/* 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 <psa/crypto.h>