= OSSL_PARAM_UTF8_STRING)
        goto err;
    phase = (const char *)p-&gt;data;

    p = OSSL_PARAM_locate_const(params, OSSL_PROV_PARAM_SELF_TEST_DESC);
    if (p == NULL || p-&gt;data_type != OSSL_PARAM_UTF8_STRING)
        goto err;
    desc = (const char *)p-&gt;data;

    p = OSSL_PARAM_locate_const(params, OSSL_PROV_PARAM_SELF_TEST_TYPE);
    if (p == NULL || p-&gt;data_type != OSSL_PARAM_UTF8_STRING)
        goto err;
    type = (const char *)p-&gt;data;

    /* Do some logging */
    if (strcmp(ph