Reference Guide
Chapter 4: Hardware Support 39
RSA BSAFE Crypto-C Micro Edition 3.x to 4.1.4 Migration Guide
3. Attach the tracing callback function to the PKCS #11 provider object. For
example,
static const R_TRACER tracer =
{
R_TRACE_VERSION_1,
R_TRACE_LVL_ALL|R_TRACE_F_DATA,
do_trace,
NULL
};
ret = R_PROV_PKCS11_set_info(p, R_PROV_INFO_ID_TRACER,
(void *)&tracer);
For more information about tracing in Crypto-C ME, see Tracing in the RSA BSAFE
Crypto-C Micro Edition Developers Guide.