• Home
  • Raw
  • Download

Lines Matching refs:CKR_OK

121 		    p->slotinfo[i].session)) != CKR_OK)  in pkcs11_provider_finalize()
124 if ((rv = p->function_list->C_Finalize(NULL)) != CKR_OK) in pkcs11_provider_finalize()
227 if ((rv = f->C_FindObjectsInit(session, attr, nattr)) != CKR_OK) { in pkcs11_find()
231 if ((rv = f->C_FindObjects(session, obj, 1, &nfound)) != CKR_OK || in pkcs11_find()
237 if ((rv = f->C_FindObjectsFinal(session)) != CKR_OK) in pkcs11_find()
276 case CKR_OK: in pkcs11_login_slot()
335 if (rv != CKR_OK) { in pkcs11_check_obj_bool_attrib()
402 if ((rv = f->C_SignInit(si->session, &mech, obj)) != CKR_OK) { in pkcs11_get_key()
448 if (rv == CKR_OK) in pkcs11_rsa_private_encrypt()
543 if (rv != CKR_OK) { in ecdsa_do_sign()
665 CKF_SERIAL_SESSION, NULL, NULL, &session)) != CKR_OK) { in pkcs11_open_session()
671 if (rv != CKR_OK && rv != CKR_USER_ALREADY_LOGGED_IN) { in pkcs11_open_session()
676 if ((rv = f->C_CloseSession(session)) != CKR_OK) in pkcs11_open_session()
724 if (rv != CKR_OK) { in pkcs11_fetch_ecdsa_pubkey()
747 if (rv != CKR_OK) { in pkcs11_fetch_ecdsa_pubkey()
845 if (rv != CKR_OK) { in pkcs11_fetch_rsa_pubkey()
868 if (rv != CKR_OK) { in pkcs11_fetch_rsa_pubkey()
947 if (rv != CKR_OK) { in pkcs11_fetch_x509_pubkey()
970 if (rv != CKR_OK) { in pkcs11_fetch_x509_pubkey()
1114 if (rv != CKR_OK) { in pkcs11_fetch_certs()
1123 if (rv != CKR_OK) { in pkcs11_fetch_certs()
1137 if (rv != CKR_OK) { in pkcs11_fetch_certs()
1178 if (rv != CKR_OK) { in pkcs11_fetch_certs()
1217 if (rv != CKR_OK) { in pkcs11_fetch_keys()
1227 if (rv != CKR_OK) { in pkcs11_fetch_keys()
1244 if (rv != CKR_OK) { in pkcs11_fetch_keys()
1291 if (rv != CKR_OK) { in pkcs11_fetch_keys()
1357 &pubKey, &privKey)) != CKR_OK) { in pkcs11_rsa_generate_private_key()
1474 &pubKey, &privKey)) != CKR_OK) { in pkcs11_ecdsa_generate_private_key()
1530 if ((rv = (*getfunctionlist)(&f)) != CKR_OK) { in pkcs11_register_provider()
1536 if ((rv = f->C_Initialize(NULL)) != CKR_OK) { in pkcs11_register_provider()
1542 if ((rv = f->C_GetInfo(&p->info)) != CKR_OK) { in pkcs11_register_provider()
1558 if ((rv = f->C_GetSlotList(CK_TRUE, NULL, &p->nslots)) != CKR_OK) { in pkcs11_register_provider()
1570 != CKR_OK) { in pkcs11_register_provider()
1581 != CKR_OK) { in pkcs11_register_provider()
1634 if (need_finalize && (rv = f->C_Finalize(NULL)) != CKR_OK) in pkcs11_register_provider()
1707 CK_INVALID_HANDLE, CK_INVALID_HANDLE)) != CKR_OK) { in pkcs11_gakp()
1779 CK_INVALID_HANDLE, CK_INVALID_HANDLE)) != CKR_OK) { in pkcs11_destroy_keypair()
1793 if ((rv = f->C_DestroyObject(session, obj)) != CKR_OK) { in pkcs11_destroy_keypair()
1815 if (rv != CKR_OK) { in pkcs11_destroy_keypair()
1826 if ((rv = f->C_DestroyObject(session, obj)) != CKR_OK) { in pkcs11_destroy_keypair()