393 #if defined( USE_PGP ) || defined( USE_PGPKEYS )
400 MKACP_N( 0, INT_MAX >> 6 ) } },
451 krnlData = krnlDataPtr;
470 int preDispatchCheckMechanismWrapAccess(
IN_HANDLE const int objectHandle,
482 mechanismWrapACL : mechanismUnwrapACL;
484 const int mechanismAclSize = \
489 int contextHandle, i;
511 for( i = 0; i < mechanismAclSize && \
512 mechanismACL[ i ].type != messageValue && \
514 ENSURES( i < mechanismAclSize );
516 mechanismACL = &mechanismACL[ i ];
526 mechanismInfo->wrappedData,
529 mechanismInfo->keyData,
537 if( !isRawMechanism )
629 ( !isRawMechanism && \
639 int preDispatchCheckMechanismSignAccess(
IN_HANDLE const int objectHandle,
643 const void *messageDataPtr,
651 mechanismSignACL : mechanismSigCheckACL;
653 const int mechanismAclSize = \
657 int contextHandle, i;
671 for( i = 0; i < mechanismAclSize && \
672 mechanismACL[ i ].type != messageValue && \
674 ENSURES( i < mechanismAclSize );
676 mechanismACL = &mechanismACL[ i ];
683 mechanismInfo->signature,
752 int preDispatchCheckMechanismDeriveAccess(
IN_HANDLE const int objectHandle,
756 const void *messageDataPtr,
757 IN_ENUM( MECHANISM )
const int messageValue,
780 for( i = 0; mechanismACL[ i ].
type != messageValue && \
786 mechanismACL = &mechanismACL[ i ];
793 mechanismInfo->dataOut,
796 mechanismInfo->dataIn,
815 int preDispatchCheckMechanismKDFAccess(
IN_HANDLE const int objectHandle,
819 const void *messageDataPtr,
820 IN_ENUM( MECHANISM )
const int messageValue,
837 for( i = 0; mechanismACL[ i ].
type != messageValue && \
843 mechanismACL = &mechanismACL[ i ];