rtl8735b: enable WOLF_CRYPTO_CB_COPY/FREE for HUK HMAC
The HUK HMAC accumulation buffer now lives on the inner SHA-256 devCtx and relies on the cryptocb copy/free ops so wc_HmacCopy/wc_HmacFree manage it correctly.pull/575/head
parent
36af63f1dd
commit
2bf2c06056
|
|
@ -12,6 +12,8 @@ extern "C" {
|
||||||
/* ---- HUK crypto-callback device (our RealTek port) ---- */
|
/* ---- HUK crypto-callback device (our RealTek port) ---- */
|
||||||
#define WOLFSSL_RTL8735B_HUK
|
#define WOLFSSL_RTL8735B_HUK
|
||||||
#define WOLF_CRYPTO_CB
|
#define WOLF_CRYPTO_CB
|
||||||
|
#define WOLF_CRYPTO_CB_COPY /* HUK HMAC buffer copy/free ops */
|
||||||
|
#define WOLF_CRYPTO_CB_FREE
|
||||||
|
|
||||||
/* ---- platform / RTOS ---- */
|
/* ---- platform / RTOS ---- */
|
||||||
#define WOLFSSL_GENERAL_ALIGNMENT 4
|
#define WOLFSSL_GENERAL_ALIGNMENT 4
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,8 @@ extern "C" {
|
||||||
/* ---- HUK crypto-callback device (our RealTek port) ---- */
|
/* ---- HUK crypto-callback device (our RealTek port) ---- */
|
||||||
#define WOLFSSL_RTL8735B_HUK
|
#define WOLFSSL_RTL8735B_HUK
|
||||||
#define WOLF_CRYPTO_CB
|
#define WOLF_CRYPTO_CB
|
||||||
|
#define WOLF_CRYPTO_CB_COPY /* HUK HMAC buffer copy/free ops */
|
||||||
|
#define WOLF_CRYPTO_CB_FREE
|
||||||
|
|
||||||
/* ---- platform / RTOS ---- */
|
/* ---- platform / RTOS ---- */
|
||||||
#define WOLFSSL_GENERAL_ALIGNMENT 4
|
#define WOLFSSL_GENERAL_ALIGNMENT 4
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue