Skip to content

Hexagon DSP Offload

Functions

Name
int wolfSSL_GetHandleCbSet(void )
Checks if handle callback is set.
int wolfSSL_SetHandleCb(wolfSSL_DSP_Handle_cb in)
Sets handle callback.

Functions Documentation

function wolfSSL_GetHandleCbSet

int wolfSSL_GetHandleCbSet(
    void 
)

Checks if handle callback is set.

Parameters:

  • none No parameters

See: wolfSSL_SetHandleCb

Return:

  • 1 if set
  • 0 if not set

Example

if (wolfSSL_GetHandleCbSet()) {
    // callback is set
}

function wolfSSL_SetHandleCb

int wolfSSL_SetHandleCb(
    wolfSSL_DSP_Handle_cb in
)

Sets handle callback.

Parameters:

  • in Handle callback

See: wolfSSL_GetHandleCbSet

Return:

  • 0 on success
  • negative on error

Example

int ret = wolfSSL_SetHandleCb(myHandleCallback);

Updated on 2026-11-17 at 01:15:29 +0000