src/wolfSSL/wolfcrypt/src/rsa.c
int wc_RsaInitCavium(RsaKey* rsa, int devId)
{
    if (rsa == NULL)
        return -1;

    if (CspAllocContext(CONTEXT_SSL, &rsa->contextHandle, devId) != 0)
        return -1;

    rsa->devId = devId;
    rsa->magic = WOLFSSL_RSA_CAVIUM_MAGIC;

    return 0;
}
/* Initialize RSA for use with Nitrox device */
Initialize RSA for use with Nitrox device
Initialize RSA for use with Nitrox device
int wc_RsaInitCavium(RsaKey* rsa, int devId)
{
    if (rsa == NULL)
        return -1;
    if (CspAllocContext(CONTEXT_SSL, &rsa->contextHandle, devId) != 0)
        return -1;
    rsa->devId = devId;
    rsa->magic = WOLFSSL_RSA_CAVIUM_MAGIC;
    return 0;
}
int wc_RsaInitCavium ( RsaKey * rsa , int devId ) { if ( rsa == NULL ) return -1 ; if ( CspAllocContext ( CONTEXT_SSL , & rsa -> contextHandle , devId ) != 0 ) return -1 ; rsa -> devId = devId ; rsa -> magic = WOLFSSL_RSA_CAVIUM_MAGIC ; return 0 ; }
Initialize RSA for use with Nitrox device
Initialize RSA for use with Nitrox device