mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Merge pull request #7149 from dgarske/psa_cryptocb
Remove the PSA restriction to allow use with crypto callbacks
This commit is contained in:
@ -44,13 +44,6 @@
|
|||||||
|
|
||||||
#include <wolfssl/wolfcrypt/types.h>
|
#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)
|
#if defined(WOLFSSL_HAVE_PSA)
|
||||||
|
|
||||||
#include <psa/crypto.h>
|
#include <psa/crypto.h>
|
||||||
|
Reference in New Issue
Block a user