Merge pull request #6832 from jpbland1/cryptocb-key-context
add devCtx to all keys for use in cryptoCb
This commit is contained in:
commit
4d81725438
@ -87,6 +87,7 @@ struct curve25519_key {
|
||||
WC_ASYNC_DEV asyncDev;
|
||||
#endif
|
||||
#if defined(WOLF_CRYPTO_CB)
|
||||
void* devCtx;
|
||||
int devId;
|
||||
#endif
|
||||
|
||||
|
@ -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)
|
||||
|
@ -103,6 +103,7 @@ struct ed25519_key {
|
||||
WC_ASYNC_DEV asyncDev;
|
||||
#endif
|
||||
#if defined(WOLF_CRYPTO_CB)
|
||||
void* devCtx;
|
||||
int devId;
|
||||
#endif
|
||||
void *heap;
|
||||
|
@ -92,6 +92,7 @@ struct ed448_key {
|
||||
WC_ASYNC_DEV asyncDev;
|
||||
#endif
|
||||
#if defined(WOLF_CRYPTO_CB)
|
||||
void* devCtx;
|
||||
int devId;
|
||||
#endif
|
||||
void *heap;
|
||||
|
@ -209,6 +209,7 @@ struct RsaKey {
|
||||
byte keyIdSet;
|
||||
#endif
|
||||
#ifdef WOLF_CRYPTO_CB
|
||||
void* devCtx;
|
||||
int devId;
|
||||
#endif
|
||||
#if defined(HAVE_PKCS11)
|
||||
|
Loading…
x
Reference in New Issue
Block a user