FreeRTOS-Plus/ThirdParty/WolfSSL-FIPS-Ready/wolfcrypt/src/wc_dsp.c
/* Local function for setting up default handle
 * returns 0 on success */
Local function for setting up default handle
returns 0 on success
Local function for setting up default handle returns 0 on success
int wolfSSL_InitHandle()
{
    char *sp_URI_value;
    int ret;
    sp_URI_value = wolfSSL_URI "&_dom=adsp";
    ret = wolfSSL_open(sp_URI_value, &defaultHandle);
    if (ret != 0) {
        WOLFSSL_MSG("Unable to open aDSP?");
        return -1;
    }
    wolfSSL_SetHandleCb(default_handle_cb);
    ret = wc_InitMutex(&handle_mutex);
    if (ret != 0) {
        WOLFSSL_MSG("Unable to init handle mutex");
        return -1;
    }
    return 0;
}
int wolfSSL_InitHandle ( ) { char * sp_URI_value ; int ret ; sp_URI_value = wolfSSL_URI " " ; ret = wolfSSL_open ( sp_URI_value , & defaultHandle ) ; if ( ret != 0 ) { WOLFSSL_MSG ( " " ) ; return -1 ; } wolfSSL_SetHandleCb ( default_handle_cb ) ; ret = wc_InitMutex ( & handle_mutex ) ; if ( ret != 0 ) { WOLFSSL_MSG ( " " ) ; return -1 ; } return 0 ; }
Local function for setting up default handle
 returns 0 on success
Local function for setting up default handle returns 0 on success