cryptlib  3.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
Classes | Macros | Enumerations | Functions | Variables
kernel.h File Reference
#include "kernel/thread.h"

Go to the source code of this file.

Classes

struct  OBJECT_INFO
 
struct  OBJECT_STATE_INFO
 
struct  MESSAGE_QUEUE_DATA
 
struct  SEMAPHORE_INFO
 
struct  THREAD_INFO
 
struct  KERNEL_DATA
 

Macros

#define isValidHandle(handle)   ( ( handle ) >= 0 && ( handle ) < krnlData->objectTableSize )
 
#define isValidObject(handle)
 
#define isFreeObject(handle)
 
#define isInternalObject(handle)   ( krnlData->objectTable[ handle ].flags & OBJECT_FLAG_INTERNAL )
 
#define isObjectAccessValid(objectHandle, message)
 
#define isInvalidObjectState(handle)   ( krnlData->objectTable[ ( handle ) ].flags & OBJECT_FLAGMASK_STATUS )
 
#define isInUse(handle)   ( krnlData->objectTable[ ( handle ) ].lockCount > 0 )
 
#define isObjectOwner(handle)   THREAD_SAME( krnlData->objectTable[ ( handle ) ].lockOwner, THREAD_SELF() )
 
#define isInHighState(handle)   ( krnlData->objectTable[ ( handle ) ].flags & OBJECT_FLAG_HIGH )
 
#define isSameOwningObject(handle1, handle2)
 
#define isValidMessage(message)   ( ( message ) > MESSAGE_NONE && ( message ) < MESSAGE_LAST )
 
#define isInternalMessage(message)   ( ( message ) & MESSAGE_FLAG_INTERNAL )
 
#define isValidType(type)   ( ( type ) > OBJECT_TYPE_NONE && ( type ) < OBJECT_TYPE_LAST )
 
#define isValidSubtype(subtypeMask, subtype)   ( ( ( subtypeMask ) & ( subtype ) ) == ( subtype ) )
 
#define fullObjectCheck(objectHandle, message)
 
#define isParamMessage(message)
 
#define checkObjectOwnership(objectPtr)
 
#define getObjectStatusValue(flags)
 
#define OBJECT_FLAG_NONE   0x0000 /* Non-flag */
 
#define OBJECT_FLAG_INTERNAL   0x0001 /* Internal-use only */
 
#define OBJECT_FLAG_NOTINITED   0x0002 /* Still being initialised */
 
#define OBJECT_FLAG_HIGH   0x0004 /* In 'high' security state */
 
#define OBJECT_FLAG_SIGNALLED   0x0008 /* In signalled state */
 
#define OBJECT_FLAG_SECUREMALLOC   0x0010 /* Uses secure memory */
 
#define OBJECT_FLAG_OWNED   0x0020 /* Object is bound to a thread */
 
#define OBJECT_FLAG_ATTRLOCKED   0x0040 /* Security properties can't be modified */
 
#define OBJECT_FLAGMASK_STATUS   ( OBJECT_FLAG_NOTINITED | OBJECT_FLAG_SIGNALLED )
 
#define MESSAGE_QUEUE_SIZE   16
 
#define CLEAR_KERNEL_DATA()
 

Enumerations

enum  SEMAPHORE_STATE {
  SEMAPHORE_STATE_UNINITED, SEMAPHORE_STATE_CLEAR, SEMAPHORE_STATE_PRECLEAR, SEMAPHORE_STATE_SET,
  SEMAPHORE_STATE_LAST
}
 
enum  INIT_LEVEL { INIT_LEVEL_NONE, INIT_LEVEL_KRNLDATA, INIT_LEVEL_FULL, INIT_LEVEL_LAST }
 
enum  SHUTDOWN_LEVEL {
  SHUTDOWN_LEVEL_NONE, SHUTDOWN_LEVEL_THREADS, SHUTDOWN_LEVEL_MESSAGES, SHUTDOWN_LEVEL_MUTEXES,
  SHUTDOWN_LEVEL_ALL, SHUTDOWN_LEVEL_LAST
}
 

Functions

CHECK_RETVAL STDC_NONNULL_ARG ((3)) int preDispatchCheckCertMgmtAccess(IN_HANDLE const int objectHandle
 
CHECK_RETVAL IN_MESSAGE const
MESSAGE_TYPE 
IN_BUFFER_C (sizeof(MESSAGE_CERTMGMT_INFO)) const void *messageDataPtr
 
CHECK_RETVAL IN_MESSAGE const
MESSAGE_TYPE 
IN_ENUM (CRYPT_CERTACTION) const int messageValue
 
CHECK_RETVAL IN_MESSAGE const
MESSAGE_TYPE 
IN_BUFFER_C (sizeof(MESSAGE_KEYMGMT_INFO)) const void *messageDataPtr
 
CHECK_RETVAL IN_MESSAGE const
MESSAGE_TYPE 
IN_ENUM (KEYMGMT_ITEM) const int messageValue
 
CHECK_RETVAL IN_MESSAGE const
MESSAGE_TYPE 
IN_BUFFER_C (sizeof(MECHANISM_WRAP_INFO)) TYPECAST(MECHANISM_WRAP_INFO *) const void *messageDataPtr
 
CHECK_RETVAL IN_MESSAGE const
MESSAGE_TYPE 
IN_ENUM (MECHANISM) const int messageValue
 
CHECK_RETVAL IN_MESSAGE const
MESSAGE_TYPE 
IN_BUFFER_C (sizeof(MECHANISM_SIGN_INFO)) TYPECAST(MECHANISM_SIGN_INFO *) const void *messageDataPtr
 
CHECK_RETVAL IN_MESSAGE const
MESSAGE_TYPE 
IN_BUFFER_C (sizeof(MECHANISM_DERIVE_INFO)) TYPECAST(MECHANISM_DERIVE_INFO *) const void *messageDataPtr
 
CHECK_RETVAL IN_MESSAGE const
MESSAGE_TYPE 
IN_BUFFER_C (sizeof(MECHANISM_KDF_INFO)) TYPECAST(MECHANISM_KDF_INFO *) const void *messageDataPtr
 
CHECK_RETVAL int preDispatchSignalDependentObjects (IN_HANDLE const int objectHandle, STDC_UNUSED const MESSAGE_TYPE dummy1, STDC_UNUSED const void *dummy2, STDC_UNUSED const int dummy3, STDC_UNUSED const void *dummy4)
 
CHECK_RETVAL STDC_NONNULL_ARG ((5)) int preDispatchCheckAttributeAccess(IN_HANDLE const int objectHandle
 
CHECK_RETVAL IN_MESSAGE const
MESSAGE_TYPE IN_OPT const void
IN_ATTRIBUTE const int IN 
TYPECAST (ATTRIBUTE_ACL *) const void *auxInfo)
 
CHECK_RETVAL int preDispatchCheckCompareParam (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, const void *messageDataPtr, IN_ENUM(MESSAGE_COMPARE) const int messageValue, STDC_UNUSED const void *dummy2)
 
CHECK_RETVAL int preDispatchCheckCheckParam (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, STDC_UNUSED const void *dummy1, IN_ENUM(MESSAGE_CHECK) const int messageValue, STDC_UNUSED const void *dummy2)
 
CHECK_RETVAL int preDispatchCheckActionAccess (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, STDC_UNUSED const void *dummy1, STDC_UNUSED const int dummy2, STDC_UNUSED const void *dummy3)
 
CHECK_RETVAL int preDispatchCheckState (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, STDC_UNUSED const void *dummy1, STDC_UNUSED const int dummy2, STDC_UNUSED const void *dummy3)
 
CHECK_RETVAL int preDispatchCheckParamHandleOpt (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, STDC_UNUSED const void *dummy1, const int messageValue, IN TYPECAST(MESSAGE_ACL *) const void *auxInfo)
 
CHECK_RETVAL int preDispatchCheckStateParamHandle (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, STDC_UNUSED const void *dummy1, const int messageValue, IN TYPECAST(MESSAGE_ACL *) const void *auxInfo)
 
CHECK_RETVAL int preDispatchCheckExportAccess (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, const void *messageDataPtr, IN_ENUM(CRYPT_CERTFORMAT) const int messageValue, STDC_UNUSED const void *dummy2)
 
CHECK_RETVAL IN_MESSAGE const
MESSAGE_TYPE 
IN_BUFFER_C (sizeof(MESSAGE_DATA)) const void *messageDataPtr
 
CHECK_RETVAL IN_MESSAGE const
MESSAGE_TYPE 
IN_BUFFER_C (sizeof(MESSAGE_CREATEOBJECT_INFO)) const void *messageDataPtr
 
CHECK_RETVAL IN_MESSAGE const
MESSAGE_TYPE 
IN_ENUM (OBJECT) const int messageValue
 
CHECK_RETVAL int preDispatchCheckUserMgmtAccess (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, STDC_UNUSED const void *dummy1, IN_ENUM(MESSAGE_USERMGMT) const int messageValue, STDC_UNUSED const void *dummy2)
 
CHECK_RETVAL int preDispatchCheckTrustMgmtAccess (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, const void *messageDataPtr, STDC_UNUSED const int messageValue, STDC_UNUSED const void *dummy)
 
CHECK_RETVAL int postDispatchMakeObjectExternal (STDC_UNUSED const int dummy, IN_MESSAGE const MESSAGE_TYPE message, const void *messageDataPtr, const int messageValue, const void *auxInfo)
 
CHECK_RETVAL int postDispatchForwardToDependentObject (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, STDC_UNUSED const void *dummy1, IN_ENUM(MESSAGE_CHECK) const int messageValue, STDC_UNUSED const void *dummy2)
 
CHECK_RETVAL int postDispatchUpdateUsageCount (IN_HANDLE const int objectHandle, STDC_UNUSED const MESSAGE_TYPE dummy1, STDC_UNUSED const void *dummy2, STDC_UNUSED const int dummy3, STDC_UNUSED const void *dummy4)
 
CHECK_RETVAL int postDispatchChangeState (IN_HANDLE const int objectHandle, STDC_UNUSED const MESSAGE_TYPE dummy1, STDC_UNUSED const void *dummy2, STDC_UNUSED const int dummy3, STDC_UNUSED const void *dummy4)
 
CHECK_RETVAL int postDispatchChangeStateOpt (IN_HANDLE const int objectHandle, STDC_UNUSED const MESSAGE_TYPE dummy1, STDC_UNUSED const void *dummy2, const int messageValue, IN TYPECAST(ATTRIBUTE_ACL *) const void *auxInfo)
 
CHECK_RETVAL int postDispatchHandleZeroise (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, STDC_UNUSED const void *dummy2, IN_ENUM(MESSAGE_USERMGMT) const int messageValue, STDC_UNUSED const void *dummy3)
 
CHECK_RETVAL_PTR const void * findAttributeACL (IN_ATTRIBUTE const CRYPT_ATTRIBUTE_TYPE attribute, const BOOLEAN isInternalMessage)
 
CHECK_RETVAL IN_ATTRIBUTE
const CRYPT_ATTRIBUTE_TYPE 
OUT_BUFFER_FIXED_C (sizeof(int)) void *messageDataPtr)
 
CHECK_RETVAL IN_ATTRIBUTE
const CRYPT_ATTRIBUTE_TYPE 
IN_BUFFER_C (sizeof(int)) void *messageDataPtr)
 
CHECK_RETVAL int incRefCount (IN_HANDLE const int objectHandle, STDC_UNUSED const int dummy1, STDC_UNUSED const void *dummy2, STDC_UNUSED const BOOLEAN dummy3)
 
CHECK_RETVAL int decRefCount (IN_HANDLE const int objectHandle, STDC_UNUSED const int dummy1, STDC_UNUSED const void *dummy2, const BOOLEAN isInternal)
 
CHECK_RETVAL IN_ENUM (SETDEP_OPTION) const int option
 
CHECK_RETVAL int cloneObject (IN_HANDLE const int objectHandle, IN_HANDLE const int clonedObject, STDC_UNUSED const void *dummy1, STDC_UNUSED const BOOLEAN dummy2)
 
CHECK_RETVAL int checkTargetType (IN_HANDLE const int objectHandle, const long targets)
 
CHECK_RETVAL int findTargetType (IN_HANDLE const int originalObjectHandle, const long targets)
 
CHECK_RETVAL STDC_NONNULL_ARG ((2)) int waitForObject(IN_HANDLE const int objectHandle
 
CHECK_RETVAL int destroyObjectData (IN_HANDLE const int objectHandle)
 
CHECK_RETVAL int destroyObjects (void)
 
void setSemaphore (IN_ENUM(SEMAPHORE) const SEMAPHORE_TYPE semaphore, const MUTEX_HANDLE object)
 
void clearSemaphore (IN_ENUM(SEMAPHORE) const SEMAPHORE_TYPE semaphore)
 
CHECK_RETVAL STDC_NONNULL_ARG ((1)) int initAllocation(INOUT KERNEL_DATA *krnlDataPtr)
 
void endAllocation (void)
 
void endAttributeACL (void)
 
void endCertMgmtACL (void)
 
void endInternalMsgs (void)
 
void endKeymgmtACL (void)
 
void endMechanismACL (void)
 
void endMessageACL (void)
 
void endObjects (void)
 
void endObjectAltAccess (void)
 
void endSemaphores (void)
 
void endSendMessage (void)
 

Variables

CHECK_RETVAL IN_MESSAGE const
MESSAGE_TYPE 
message
 
CHECK_RETVAL IN_MESSAGE const
MESSAGE_TYPE STDC_UNUSED const
void * 
dummy
 
CHECK_RETVAL IN_MESSAGE const
MESSAGE_TYPE IN_OPT const void * 
messageDataPtr
 
CHECK_RETVAL IN_MESSAGE const
MESSAGE_TYPE IN_OPT const void
IN_ATTRIBUTE const int 
messageValue
 
CHECK_RETVAL IN_MESSAGE const
MESSAGE_TYPE STDC_UNUSED const
int 
dummy1
 
CHECK_RETVAL IN_MESSAGE const
MESSAGE_TYPE STDC_UNUSED const
int STDC_UNUSED const void * 
dummy2
 
CHECK_RETVAL IN_ATTRIBUTE
const CRYPT_ATTRIBUTE_TYPE 
attribute
 
CHECK_RETVAL const int targetType
 
CHECK_RETVAL OUT_PTR OBJECT_INFO ** objectInfoPtrPtr
 

Macro Definition Documentation

#define checkObjectOwnership (   objectPtr)
Value:
( !( ( objectPtr ).flags & OBJECT_FLAG_OWNED ) || \
THREAD_SAME( ( objectPtr ).objectOwner, THREAD_SELF() ) )

Definition at line 120 of file kernel.h.

#define CLEAR_KERNEL_DATA ( )
Value:
assert( &krnlDataBlock.endMarker - \
&krnlDataBlock.initLevel < sizeof( krnlDataBlock ) ); \
zeroise( ( void * ) ( &krnlDataBlock.initLevel ), \
&krnlDataBlock.endMarker - &krnlDataBlock.initLevel )

Definition at line 406 of file kernel.h.

#define fullObjectCheck (   objectHandle,
  message 
)
Value:
( isValidObject( objectHandle ) && \
isObjectAccessValid( objectHandle, message ) && \
checkObjectOwnership( objectTable[ objectHandle ] ) )

Definition at line 104 of file kernel.h.

#define getObjectStatusValue (   flags)
Value:

Definition at line 128 of file kernel.h.

#define isFreeObject (   handle)
Value:
( isValidHandle( handle ) && \
krnlData->objectTable[ ( handle ) ].objectPtr == NULL )

Definition at line 70 of file kernel.h.

#define isInHighState (   handle)    ( krnlData->objectTable[ ( handle ) ].flags & OBJECT_FLAG_HIGH )

Definition at line 84 of file kernel.h.

#define isInternalMessage (   message)    ( ( message ) & MESSAGE_FLAG_INTERNAL )

Definition at line 94 of file kernel.h.

#define isInternalObject (   handle)    ( krnlData->objectTable[ handle ].flags & OBJECT_FLAG_INTERNAL )

Definition at line 73 of file kernel.h.

#define isInUse (   handle)    ( krnlData->objectTable[ ( handle ) ].lockCount > 0 )

Definition at line 80 of file kernel.h.

#define isInvalidObjectState (   handle)    ( krnlData->objectTable[ ( handle ) ].flags & OBJECT_FLAGMASK_STATUS )

Definition at line 78 of file kernel.h.

#define isObjectAccessValid (   objectHandle,
  message 
)
Value:
!( isInternalObject( objectHandle ) && \

Definition at line 75 of file kernel.h.

#define isObjectOwner (   handle)    THREAD_SAME( krnlData->objectTable[ ( handle ) ].lockOwner, THREAD_SELF() )

Definition at line 82 of file kernel.h.

#define isParamMessage (   message)
Value:

Definition at line 114 of file kernel.h.

#define isSameOwningObject (   handle1,
  handle2 
)
Value:
( krnlData->objectTable[ ( handle1 ) ].owner == CRYPT_UNUSED || \
krnlData->objectTable[ ( handle2 ) ].owner == CRYPT_UNUSED || \
( krnlData->objectTable[ ( handle1 ) ].owner == \
krnlData->objectTable[ ( handle2 ) ].owner ) || \
( ( handle1 ) == krnlData->objectTable[ ( handle2 ) ].owner ) )

Definition at line 86 of file kernel.h.

#define isValidHandle (   handle)    ( ( handle ) >= 0 && ( handle ) < krnlData->objectTableSize )

Definition at line 65 of file kernel.h.

#define isValidMessage (   message)    ( ( message ) > MESSAGE_NONE && ( message ) < MESSAGE_LAST )

Definition at line 92 of file kernel.h.

#define isValidObject (   handle)
Value:
( isValidHandle( handle ) && \
krnlData->objectTable[ ( handle ) ].objectPtr != NULL )

Definition at line 67 of file kernel.h.

#define isValidSubtype (   subtypeMask,
  subtype 
)    ( ( ( subtypeMask ) & ( subtype ) ) == ( subtype ) )

Definition at line 98 of file kernel.h.

#define isValidType (   type)    ( ( type ) > OBJECT_TYPE_NONE && ( type ) < OBJECT_TYPE_LAST )

Definition at line 96 of file kernel.h.

#define MESSAGE_QUEUE_SIZE   16

Definition at line 221 of file kernel.h.

#define OBJECT_FLAG_ATTRLOCKED   0x0040 /* Security properties can't be modified */

Definition at line 183 of file kernel.h.

#define OBJECT_FLAG_HIGH   0x0004 /* In 'high' security state */

Definition at line 179 of file kernel.h.

#define OBJECT_FLAG_INTERNAL   0x0001 /* Internal-use only */

Definition at line 177 of file kernel.h.

#define OBJECT_FLAG_NONE   0x0000 /* Non-flag */

Definition at line 176 of file kernel.h.

#define OBJECT_FLAG_NOTINITED   0x0002 /* Still being initialised */

Definition at line 178 of file kernel.h.

#define OBJECT_FLAG_OWNED   0x0020 /* Object is bound to a thread */

Definition at line 182 of file kernel.h.

#define OBJECT_FLAG_SECUREMALLOC   0x0010 /* Uses secure memory */

Definition at line 181 of file kernel.h.

#define OBJECT_FLAG_SIGNALLED   0x0008 /* In signalled state */

Definition at line 180 of file kernel.h.

#define OBJECT_FLAGMASK_STATUS   ( OBJECT_FLAG_NOTINITED | OBJECT_FLAG_SIGNALLED )

Definition at line 187 of file kernel.h.

Enumeration Type Documentation

enum INIT_LEVEL
Enumerator:
INIT_LEVEL_NONE 
INIT_LEVEL_KRNLDATA 
INIT_LEVEL_FULL 
INIT_LEVEL_LAST 

Definition at line 271 of file kernel.h.

Enumerator:
SEMAPHORE_STATE_UNINITED 
SEMAPHORE_STATE_CLEAR 
SEMAPHORE_STATE_PRECLEAR 
SEMAPHORE_STATE_SET 
SEMAPHORE_STATE_LAST 

Definition at line 238 of file kernel.h.

Enumerator:
SHUTDOWN_LEVEL_NONE 
SHUTDOWN_LEVEL_THREADS 
SHUTDOWN_LEVEL_MESSAGES 
SHUTDOWN_LEVEL_MUTEXES 
SHUTDOWN_LEVEL_ALL 
SHUTDOWN_LEVEL_LAST 

Definition at line 278 of file kernel.h.

Function Documentation

CHECK_RETVAL int checkTargetType ( IN_HANDLE const int  objectHandle,
const long  targets 
)

Definition at line 56 of file sendmsg.c.

void clearSemaphore ( IN_ENUM(SEMAPHORE) const SEMAPHORE_TYPE  semaphore)

Definition at line 159 of file semaphore.c.

CHECK_RETVAL int cloneObject ( IN_HANDLE const int  objectHandle,
IN_HANDLE const int  clonedObject,
STDC_UNUSED const void *  dummy1,
STDC_UNUSED const BOOLEAN  dummy2 
)

Definition at line 900 of file int_msg.c.

CHECK_RETVAL int decRefCount ( IN_HANDLE const int  objectHandle,
STDC_UNUSED const int  dummy1,
STDC_UNUSED const void *  dummy2,
const BOOLEAN  isInternal 
)

Definition at line 648 of file int_msg.c.

CHECK_RETVAL int destroyObjectData ( IN_HANDLE const int  objectHandle)

Definition at line 203 of file objects.c.

CHECK_RETVAL int destroyObjects ( void  )

Definition at line 347 of file objects.c.

void endAllocation ( void  )

Definition at line 299 of file sec_mem.c.

void endAttributeACL ( void  )

Definition at line 4917 of file attr_acl.c.

void endCertMgmtACL ( void  )

Definition at line 244 of file certm_acl.c.

void endInternalMsgs ( void  )

Definition at line 294 of file int_msg.c.

void endKeymgmtACL ( void  )

Definition at line 427 of file key_acl.c.

void endMechanismACL ( void  )

Definition at line 456 of file mech_acl.c.

void endMessageACL ( void  )

Definition at line 986 of file msg_acl.c.

void endObjectAltAccess ( void  )

Definition at line 430 of file obj_acc.c.

void endObjects ( void  )

Definition at line 179 of file objects.c.

void endSemaphores ( void  )

Definition at line 70 of file semaphore.c.

void endSendMessage ( void  )

Definition at line 914 of file sendmsg.c.

CHECK_RETVAL_PTR const void* findAttributeACL ( IN_ATTRIBUTE const CRYPT_ATTRIBUTE_TYPE  attribute,
const BOOLEAN  isInternalMessage 
)

Definition at line 4930 of file attr_acl.c.

CHECK_RETVAL int findTargetType ( IN_HANDLE const int  originalObjectHandle,
const long  targets 
)

Definition at line 241 of file sendmsg.c.

CHECK_RETVAL IN_MESSAGE const MESSAGE_TYPE IN_BUFFER_C ( sizeof(MECHANISM_KDF_INFO ) const
CHECK_RETVAL IN_MESSAGE const MESSAGE_TYPE IN_BUFFER_C ( sizeof(MESSAGE_DATA ) const
CHECK_RETVAL IN_BUFFER_C ( sizeof(int)  )
CHECK_RETVAL IN_MESSAGE const MESSAGE_TYPE IN_ENUM ( CRYPT_CERTACTION  ) const
CHECK_RETVAL IN_MESSAGE const MESSAGE_TYPE IN_ENUM ( KEYMGMT_ITEM  ) const
CHECK_RETVAL IN_MESSAGE const MESSAGE_TYPE IN_ENUM ( MECHANISM  ) const
CHECK_RETVAL IN_MESSAGE const MESSAGE_TYPE IN_ENUM ( OBJECT  ) const
CHECK_RETVAL IN_ENUM ( SETDEP_OPTION  ) const
CHECK_RETVAL int incRefCount ( IN_HANDLE const int  objectHandle,
STDC_UNUSED const int  dummy1,
STDC_UNUSED const void *  dummy2,
STDC_UNUSED const BOOLEAN  dummy3 
)

Definition at line 623 of file int_msg.c.

CHECK_RETVAL IN_ATTRIBUTE const CRYPT_ATTRIBUTE_TYPE OUT_BUFFER_FIXED_C ( sizeof(int)  )
CHECK_RETVAL int postDispatchChangeState ( IN_HANDLE const int  objectHandle,
STDC_UNUSED const MESSAGE_TYPE  dummy1,
STDC_UNUSED const void *  dummy2,
STDC_UNUSED const int  dummy3,
STDC_UNUSED const void *  dummy4 
)

Definition at line 2411 of file msg_acl.c.

CHECK_RETVAL int postDispatchChangeStateOpt ( IN_HANDLE const int  objectHandle,
STDC_UNUSED const MESSAGE_TYPE  dummy1,
STDC_UNUSED const void *  dummy2,
const int  messageValue,
IN TYPECAST(ATTRIBUTE_ACL *) const void *  auxInfo 
)

Definition at line 2432 of file msg_acl.c.

CHECK_RETVAL int postDispatchForwardToDependentObject ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
STDC_UNUSED const void *  dummy1,
IN_ENUM(MESSAGE_CHECK) const int  messageValue,
STDC_UNUSED const void *  dummy2 
)

Definition at line 2304 of file msg_acl.c.

CHECK_RETVAL int postDispatchHandleZeroise ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
STDC_UNUSED const void *  dummy2,
IN_ENUM(MESSAGE_USERMGMT) const int  messageValue,
STDC_UNUSED const void *  dummy3 
)

Definition at line 2479 of file msg_acl.c.

CHECK_RETVAL int postDispatchMakeObjectExternal ( STDC_UNUSED const int  dummy,
IN_MESSAGE const MESSAGE_TYPE  message,
const void *  messageDataPtr,
const int  messageValue,
const void *  auxInfo 
)

Definition at line 2143 of file msg_acl.c.

CHECK_RETVAL int postDispatchUpdateUsageCount ( IN_HANDLE const int  objectHandle,
STDC_UNUSED const MESSAGE_TYPE  dummy1,
STDC_UNUSED const void *  dummy2,
STDC_UNUSED const int  dummy3,
STDC_UNUSED const void *  dummy4 
)

Definition at line 2374 of file msg_acl.c.

CHECK_RETVAL int preDispatchCheckActionAccess ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
STDC_UNUSED const void *  dummy1,
STDC_UNUSED const int  dummy2,
STDC_UNUSED const void *  dummy3 
)

Definition at line 1670 of file msg_acl.c.

CHECK_RETVAL int preDispatchCheckCheckParam ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
STDC_UNUSED const void *  dummy1,
IN_ENUM(MESSAGE_CHECK) const int  messageValue,
STDC_UNUSED const void *  dummy2 
)

Definition at line 1589 of file msg_acl.c.

CHECK_RETVAL int preDispatchCheckCompareParam ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
const void *  messageDataPtr,
IN_ENUM(MESSAGE_COMPARE) const int  messageValue,
STDC_UNUSED const void *  dummy2 
)

Definition at line 1505 of file msg_acl.c.

CHECK_RETVAL int preDispatchCheckExportAccess ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
const void *  messageDataPtr,
IN_ENUM(CRYPT_CERTFORMAT) const int  messageValue,
STDC_UNUSED const void *  dummy2 
)

Definition at line 1866 of file msg_acl.c.

CHECK_RETVAL int preDispatchCheckParamHandleOpt ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
STDC_UNUSED const void *  dummy1,
const int  messageValue,
IN TYPECAST(MESSAGE_ACL *) const void *  auxInfo 
)

Definition at line 1764 of file msg_acl.c.

CHECK_RETVAL int preDispatchCheckState ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
STDC_UNUSED const void *  dummy1,
STDC_UNUSED const int  dummy2,
STDC_UNUSED const void *  dummy3 
)

Definition at line 1725 of file msg_acl.c.

CHECK_RETVAL int preDispatchCheckStateParamHandle ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
STDC_UNUSED const void *  dummy1,
const int  messageValue,
IN TYPECAST(MESSAGE_ACL *) const void *  auxInfo 
)

Definition at line 1814 of file msg_acl.c.

CHECK_RETVAL int preDispatchCheckTrustMgmtAccess ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
const void *  messageDataPtr,
STDC_UNUSED const int  messageValue,
STDC_UNUSED const void *  dummy 
)

Definition at line 2092 of file msg_acl.c.

CHECK_RETVAL int preDispatchCheckUserMgmtAccess ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
STDC_UNUSED const void *  dummy1,
IN_ENUM(MESSAGE_USERMGMT) const int  messageValue,
STDC_UNUSED const void *  dummy2 
)

Definition at line 2061 of file msg_acl.c.

CHECK_RETVAL int preDispatchSignalDependentObjects ( IN_HANDLE const int  objectHandle,
STDC_UNUSED const MESSAGE_TYPE  dummy1,
STDC_UNUSED const void *  dummy2,
STDC_UNUSED const int  dummy3,
STDC_UNUSED const void *  dummy4 
)

Definition at line 1006 of file msg_acl.c.

void setSemaphore ( IN_ENUM(SEMAPHORE) const SEMAPHORE_TYPE  semaphore,
const MUTEX_HANDLE  object 
)

Definition at line 132 of file semaphore.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (3)  ) const
CHECK_RETVAL STDC_NONNULL_ARG ( (5)  ) const
CHECK_RETVAL STDC_NONNULL_ARG ( (2)  ) const
CHECK_RETVAL STDC_NONNULL_ARG ( (1)  )

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 26 of file ctx_attr.c.

Variable Documentation

Definition at line 612 of file kernel.h.

Definition at line 427 of file kernel.h.

Definition at line 538 of file kernel.h.

Definition at line 538 of file kernel.h.

Definition at line 422 of file kernel.h.

Definition at line 484 of file kernel.h.

Definition at line 484 of file kernel.h.

CHECK_RETVAL OUT_PTR OBJECT_INFO** objectInfoPtrPtr

Definition at line 661 of file kernel.h.

CHECK_RETVAL const int targetType

Definition at line 630 of file kernel.h.