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
|`server_rc` (output parameter) | Server-side result |
72
101
73
-
### Server Return Codes
102
+
### Server Return Codes (SetCryptoAffinity)
74
103
75
104
| Code | Description |
76
105
|------|-------------|
77
106
|`WH_ERROR_OK`| Affinity changed successfully |
78
-
|`WH_ERROR_BADCONFIG`| HW requested but no HW crypto configured |
107
+
|`WH_ERROR_NOTIMPL`| HW requested but no HW crypto configured, `WOLF_CRYPTO_CB` is not defined, or `WOLFHSM_CFG_NO_CRYPTO` is defined|
79
108
|`WH_ERROR_BADARGS`| Invalid affinity value |
80
109
|`WH_ERROR_ABORTED`| Server crypto context is NULL |
81
-
|`WH_ERROR_NOTIMPL`| Affinity change not implemented (returned when `WOLF_CRYPTO_CB` is not defined and HW affinity is requested, or when `WOLFHSM_CFG_NO_CRYPTO` is defined) |
110
+
111
+
### Server Return Codes (GetCryptoAffinity)
112
+
113
+
| Code | Description |
114
+
|------|-------------|
115
+
|`WH_ERROR_OK`| Affinity queried successfully |
116
+
|`WH_ERROR_ABORTED`| Server crypto context is NULL |
117
+
|`WH_ERROR_NOTIMPL`| Not implemented (returned when `WOLFHSM_CFG_NO_CRYPTO` is defined) |
0 commit comments