Merge pull request #6832 from jpbland1/cryptocb-key-context

add devCtx to all keys for use in cryptoCb
This commit is contained in:
David Garske 2023-10-04 09:34:06 -07:00 committed by GitHub
commit 4d81725438
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)