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
David Garske 2026-07-02 16:34:16 -07:00
parent 36af63f1dd
commit 2bf2c06056
2 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,8 @@ extern "C" {
/* ---- HUK crypto-callback device (our RealTek port) ---- */
#define WOLFSSL_RTL8735B_HUK
#define WOLF_CRYPTO_CB
#define WOLF_CRYPTO_CB_COPY /* HUK HMAC buffer copy/free ops */
#define WOLF_CRYPTO_CB_FREE
/* ---- platform / RTOS ---- */
#define WOLFSSL_GENERAL_ALIGNMENT 4

View File

@ -12,6 +12,8 @@ extern "C" {
/* ---- HUK crypto-callback device (our RealTek port) ---- */
#define WOLFSSL_RTL8735B_HUK
#define WOLF_CRYPTO_CB
#define WOLF_CRYPTO_CB_COPY /* HUK HMAC buffer copy/free ops */
#define WOLF_CRYPTO_CB_FREE
/* ---- platform / RTOS ---- */
#define WOLFSSL_GENERAL_ALIGNMENT 4