You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: route configurable devId through key init calls
Adds int devId to WOLFPROV_CTX (initialized to INVALID_DEVID) and
exposes it as a settable OSSL_PARAM ("wolfprovider_devid") so callers
can route provider operations through a wolfHSM device callback.
Routes devId through:
- RSA: wc_InitRsaKey -> wc_InitRsaKey_ex
- ECC: wc_ecc_init_ex (was hardcoding INVALID_DEVID)
- DH: wc_InitDhKey_ex (was hardcoding INVALID_DEVID)
- ECX gen-context RNG: wc_InitRng -> wc_InitRng_ex
Known gap: ECX key init functions (wc_curve25519_init, wc_ed25519_init,
wc_ed448_init) use WP_ECX_INIT function pointers with no devId
parameter; fixing them requires a table-shape change tracked separately.
0 commit comments