Lines Matching refs:CK_RV
569 CK_RV meta_slotManager_initialize();
572 CK_RV meta_get_slot_session(CK_ULONG slotnum, slot_session_t **session,
576 CK_RV meta_mechManager_initialize();
578 CK_RV meta_mechManager_get_mechs(CK_MECHANISM_TYPE *list, CK_ULONG *listsize);
579 CK_RV meta_mechManager_get_slots(mech_support_info_t *mech_support_info,
581 CK_RV meta_mechManager_slot_supports_mech(CK_MECHANISM_TYPE mechanism,
585 CK_RV meta_operation_init(CK_FLAGS optype, meta_session_t *session,
587 CK_RV meta_operation_init_defer(CK_FLAGS optype, meta_session_t *session,
589 CK_RV meta_do_operation(CK_FLAGS optype, int mode,
596 CK_RV meta_generate_keys(meta_session_t *session, CK_MECHANISM *pMechanism,
600 CK_RV meta_wrap_key(meta_session_t *session,
605 CK_RV meta_unwrap_key(meta_session_t *session,
611 CK_RV meta_derive_key(meta_session_t *session, CK_MECHANISM *pMech,
620 CK_RV meta_sessionManager_initialize();
622 CK_RV meta_handle2session(CK_SESSION_HANDLE hSession,
624 CK_RV meta_session_alloc(meta_session_t **newSession);
625 CK_RV meta_session_activate(meta_session_t *session);
626 CK_RV meta_session_deactivate(meta_session_t *session,
631 CK_RV meta_objectManager_initialize();
633 CK_RV meta_handle2object(CK_OBJECT_HANDLE hObject, meta_object_t **object);
634 CK_RV meta_object_alloc(meta_session_t *session, meta_object_t **object);
635 CK_RV meta_object_get_attr(slot_session_t *slot_session,
638 CK_RV meta_object_deactivate(meta_object_t *object, boolean_t have_list_lock,
640 CK_RV meta_object_dealloc(meta_session_t *session, meta_object_t *object,
642 CK_RV meta_slot_object_alloc(slot_object_t **object);
647 CK_RV meta_object_copyin(meta_object_t *object);
648 CK_RV meta_object_get_clone(meta_object_t *object,
653 CK_RV meta_token_object_deactivate(token_obj_type_t token_type);
657 CK_RV meta_freetoken_set(CK_ULONG slot_num, CK_BBOOL *current_value,
664 CK_RV get_master_attributes_by_object(slot_session_t *session,
667 CK_RV get_master_attributes_by_template(
670 CK_RV get_master_template_by_type(CK_OBJECT_CLASS class, CK_ULONG subtype,
672 CK_RV get_master_attributes_by_type(CK_OBJECT_CLASS class, CK_ULONG subtype,
674 CK_RV get_master_attributes_by_duplication(
678 CK_RV attribute_set_value(CK_ATTRIBUTE *new_attr,
699 CK_RV meta_GetFunctionList(CK_FUNCTION_LIST_PTR_PTR ppFunctionList);
700 CK_RV meta_Initialize(CK_VOID_PTR pInitArgs);
701 CK_RV meta_Finalize(CK_VOID_PTR pReserved);
702 CK_RV meta_GetInfo(CK_INFO_PTR pInfo);
703 CK_RV meta_GetSlotList(CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList,
705 CK_RV meta_GetSlotInfo(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo);
706 CK_RV meta_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo);
707 CK_RV meta_GetMechanismList(CK_SLOT_ID slotID,
709 CK_RV meta_GetMechanismInfo(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type,
711 CK_RV meta_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin,
713 CK_RV meta_InitPIN(CK_SESSION_HANDLE hSession, CK_UTF8CHAR_PTR pPin,
715 CK_RV meta_SetPIN(CK_SESSION_HANDLE hSession, CK_UTF8CHAR_PTR pOldPin,
717 CK_RV meta_OpenSession(CK_SLOT_ID slotID, CK_FLAGS flags,
720 CK_RV meta_CloseSession(CK_SESSION_HANDLE hSession);
721 CK_RV meta_CloseAllSessions(CK_SLOT_ID slotID);
722 CK_RV meta_GetSessionInfo(CK_SESSION_HANDLE hSession,
724 CK_RV meta_GetOperationState(CK_SESSION_HANDLE hSession,
726 CK_RV meta_SetOperationState(CK_SESSION_HANDLE hSession,
729 CK_RV meta_Login(CK_SESSION_HANDLE hSession, CK_USER_TYPE userType,
731 CK_RV meta_Logout(CK_SESSION_HANDLE hSession);
732 CK_RV meta_CreateObject(CK_SESSION_HANDLE hSession, CK_ATTRIBUTE_PTR pTemplate,
734 CK_RV meta_CopyObject(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject,
737 CK_RV meta_DestroyObject(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject);
738 CK_RV meta_GetObjectSize(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject,
740 CK_RV meta_GetAttributeValue(CK_SESSION_HANDLE hSession,
742 CK_RV meta_SetAttributeValue(CK_SESSION_HANDLE hSession,
744 CK_RV meta_FindObjectsInit(CK_SESSION_HANDLE hSession,
746 CK_RV meta_FindObjects(CK_SESSION_HANDLE hSession,
749 CK_RV meta_FindObjectsFinal(CK_SESSION_HANDLE hSession);
750 CK_RV meta_EncryptInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism,
752 CK_RV meta_Encrypt(CK_SESSION_HANDLE hSession,
755 CK_RV meta_EncryptUpdate(CK_SESSION_HANDLE hSession,
758 CK_RV meta_EncryptFinal(CK_SESSION_HANDLE hSession,
760 CK_RV meta_DecryptInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism,
762 CK_RV meta_Decrypt(CK_SESSION_HANDLE hSession,
765 CK_RV meta_DecryptUpdate(CK_SESSION_HANDLE hSession,
768 CK_RV meta_DecryptFinal(CK_SESSION_HANDLE hSession,
770 CK_RV meta_DigestInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism);
771 CK_RV meta_Digest(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData,
773 CK_RV meta_DigestUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart,
775 CK_RV meta_DigestKey(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hKey);
776 CK_RV meta_DigestFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pDigest,
778 CK_RV meta_SignInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism,
780 CK_RV meta_Sign(CK_SESSION_HANDLE hSession,
783 CK_RV meta_SignUpdate(CK_SESSION_HANDLE hSession,
785 CK_RV meta_SignFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature,
787 CK_RV meta_SignRecoverInit(CK_SESSION_HANDLE hSession,
789 CK_RV meta_SignRecover(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData,
791 CK_RV meta_VerifyInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism,
793 CK_RV meta_Verify(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData,
795 CK_RV meta_VerifyUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart,
797 CK_RV meta_VerifyFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature,
799 CK_RV meta_VerifyRecoverInit(CK_SESSION_HANDLE hSession,
801 CK_RV meta_VerifyRecover(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature,
803 CK_RV meta_DigestEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart,
806 CK_RV meta_DecryptDigestUpdate(CK_SESSION_HANDLE hSession,
809 CK_RV meta_SignEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart,
812 CK_RV meta_DecryptVerifyUpdate(CK_SESSION_HANDLE hSession,
815 CK_RV meta_GenerateKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism,
817 CK_RV meta_GenerateKeyPair(CK_SESSION_HANDLE hSession,
822 CK_RV meta_WrapKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism,
825 CK_RV meta_UnwrapKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism,
829 CK_RV meta_DeriveKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism,
832 CK_RV meta_SeedRandom(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSeed,
834 CK_RV meta_GenerateRandom(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pRandomData,
836 CK_RV meta_GetFunctionStatus(CK_SESSION_HANDLE hSession);
837 CK_RV meta_CancelFunction(CK_SESSION_HANDLE hSession);
838 CK_RV meta_WaitForSlotEvent(CK_FLAGS flags, CK_SLOT_ID_PTR pSlot,