add devCtx to all keys for use in cryptoCb

This commit is contained in:
John Bland
2023-10-03 19:29:36 -04:00
parent 88d25036a0
commit f4acc8f33d
5 changed files with 5 additions and 0 deletions

View File

@ -87,6 +87,7 @@ struct curve25519_key {
WC_ASYNC_DEV asyncDev;
#endif
#if defined(WOLF_CRYPTO_CB)
void* devCtx;
int devId;
#endif

View File

@ -505,6 +505,7 @@ struct ecc_key {
byte pubkey_raw[ECC_MAX_CRYPTO_HW_PUBKEY_SIZE];
#endif
#if defined(PLUTON_CRYPTO_ECC) || defined(WOLF_CRYPTO_CB)
void* devCtx;
int devId;
#endif
#if defined(HAVE_PKCS11)

View File

@ -103,6 +103,7 @@ struct ed25519_key {
WC_ASYNC_DEV asyncDev;
#endif
#if defined(WOLF_CRYPTO_CB)
void* devCtx;
int devId;
#endif
void *heap;

View File

@ -92,6 +92,7 @@ struct ed448_key {
WC_ASYNC_DEV asyncDev;
#endif
#if defined(WOLF_CRYPTO_CB)
void* devCtx;
int devId;
#endif
void *heap;

View File

@ -209,6 +209,7 @@ struct RsaKey {
byte keyIdSet;
#endif
#ifdef WOLF_CRYPTO_CB
void* devCtx;
int devId;
#endif
#if defined(HAVE_PKCS11)