Lines Matching refs:capi_idx
281 static int capi_idx = -1; variable
292 if (capi_idx == -1) { in capi_ctrl()
296 ctx = ENGINE_get_ex_data(e, capi_idx); in capi_ctrl()
416 if (capi_idx < 0) { in capi_init()
417 capi_idx = ENGINE_get_ex_new_index(0, NULL, NULL, NULL, 0); in capi_init()
418 if (capi_idx < 0) { in capi_init()
468 ENGINE_set_ex_data(e, capi_idx, ctx); in capi_init()
514 ctx = ENGINE_get_ex_data(e, capi_idx); in capi_finish()
516 ENGINE_set_ex_data(e, capi_idx, NULL); in capi_finish()
820 ctx = ENGINE_get_ex_data(eng, capi_idx); in capi_load_privkey()
860 ctx = ENGINE_get_ex_data(RSA_get0_engine(rsa), capi_idx); in capi_rsa_sign()
957 ctx = ENGINE_get_ex_data(RSA_get0_engine(rsa), capi_idx); in capi_rsa_priv_dec()
1031 ctx = ENGINE_get_ex_data(DSA_get0_engine(dsa), capi_idx); in capi_dsa_do_sign()
1733 ctx = ENGINE_get_ex_data(e, capi_idx); in capi_load_ssl_client_cert()
1863 ctx = ENGINE_get_ex_data(e, capi_idx); in cert_select_dialog()