/opensolaris-onvv-gate/usr/src/lib/libsmbfs/smb/ |
H A D | spnegoparse.h | 119 unsigned char * pbTokenData, unsigned long ulTokenSize ); 124 int InitSpnegoTokenElements( SPNEGO_TOKEN* pSpnegoToken, unsigned char* pbTokenData, 126 int GetSpnegoInitTokenMechList( unsigned char* pbTokenData, int nMechListLength, 128 int InitSpnegoTokenElementFromBasicType( unsigned char* pbTokenData, int nElementLength, 132 int InitSpnegoTokenElementFromOID( unsigned char* pbTokenData, int nElementLength, 148 unsigned long ulMechListMICLen, unsigned char* pbTokenData, 153 unsigned long ulMechListMICLen, unsigned char* pbTokenData, 162 unsigned char* pbTokenData, unsigned long ulLength,
|
H A D | spnegoparse.c | 214 // [out] pbTokenData - Buffer to write token into. 215 // [in] nTokenLength - Length of pbTokenData buffer 224 // Uses DER to fill out pbTokenData with a SPNEGO NegTokenInit Token 235 unsigned long ulMechListMICLen, unsigned char* pbTokenData, 245 unsigned char* pbWriteTokenData = pbTokenData + nTokenLength; 419 pbWriteTokenData == pbTokenData ) 581 // [out] pbTokenData - Buffer to write token into. 582 // [in] nTokenLength - Length of pbTokenData buffer 591 // Uses DER to fill out pbTokenData with a SPNEGO NegTokenTarg Token 602 unsigned long ulMechListMICLen, unsigned char* pbTokenData, 232 CreateSpnegoInitToken( SPNEGO_MECH_OID MechType, unsigned char ucContextFlags, unsigned char* pbMechToken, unsigned long ulMechTokenLen, unsigned char* pbMechListMIC, unsigned long ulMechListMICLen, unsigned char* pbTokenData, long nTokenLength, long nInternalTokenLength ) argument 599 CreateSpnegoTargToken( SPNEGO_MECH_OID MechType, SPNEGO_NEGRESULT eNegResult, unsigned char* pbMechToken, unsigned long ulMechTokenLen, unsigned char* pbMechListMIC, unsigned long ulMechListMICLen, unsigned char* pbTokenData, long nTokenLength, long nInternalTokenLength ) argument 792 AllocEmptySpnegoToken( unsigned char ucCopyData, unsigned long ulFlags, unsigned char * pbTokenData, unsigned long ulTokenSize ) argument 950 unsigned char* pbTokenData = pSpnegoToken->pbBinaryData; local 1085 GetSpnegoInitTokenMechList( unsigned char* pbTokenData, int nMechListLength, SPNEGO_ELEMENT* pSpnegoElement ) argument 1144 InitSpnegoTokenElementFromBasicType( unsigned char* pbTokenData, int nElementLength, unsigned char ucExpectedType, SPNEGO_ELEMENT_TYPE spnegoElementType, SPNEGO_ELEMENT* pSpnegoElement ) argument 1205 InitSpnegoTokenElementFromOID( unsigned char* pbTokenData, int nElementLength, SPNEGO_ELEMENT_TYPE spnegoElementType, SPNEGO_ELEMENT* pSpnegoElement ) argument 1262 InitSpnegoTokenElements( SPNEGO_TOKEN* pSpnegoToken, unsigned char* pbTokenData, long nRemainingTokenLength ) argument 1820 InitTokenFromBinary( unsigned char ucCopyData, unsigned long ulFlags, unsigned char* pbTokenData, unsigned long ulLength, SPNEGO_TOKEN** ppSpnegoToken ) argument [all...] |
H A D | spnego.c | 59 // [in] pbTokenData - Binary Token Data 74 int spnegoInitFromBinary( unsigned char* pbTokenData, unsigned long ulLength, SPNEGO_TOKEN_HANDLE* phSpnegoToken ) argument 83 SPNEGO_TOKEN_INTERNAL_FLAGS_FREEDATA, pbTokenData, 124 unsigned char* pbTokenData = NULL; local 139 pbTokenData = calloc( 1, nTokenLength ); 141 if ( NULL != pbTokenData ) 148 ulMechListMICLen, pbTokenData, 157 pbTokenData, nTokenLength, ppSpnegoToken ); 164 free( pbTokenData ); 214 unsigned char* pbTokenData local 309 spnegoTokenGetBinary( SPNEGO_TOKEN_HANDLE hSpnegoToken, unsigned char* pbTokenData, unsigned long * pulDataLen ) argument 675 spnegoGetMechToken( SPNEGO_TOKEN_HANDLE hSpnegoToken, unsigned char* pbTokenData, unsigned long* pulDataLen ) argument [all...] |
H A D | spnego.h | 192 int spnegoInitFromBinary( unsigned char* pbTokenData, unsigned long ulLength, SPNEGO_TOKEN_HANDLE* phSpnegoToken ); 209 int spnegoTokenGetBinary( SPNEGO_TOKEN_HANDLE hSpnegoToken, unsigned char* pbTokenData, 234 int spnegoGetMechToken( SPNEGO_TOKEN_HANDLE hSpnegoToken, unsigned char* pbTokenData, unsigned long* pulDataLen );
|
H A D | derparse.c | 181 // [in] pbTokenData - Token Data 194 // Checks the data pointed to by pbTokenData for the specified token 201 int ASNDerCheckToken( unsigned char* pbTokenData, unsigned char nToken, argument 214 if ( *pbTokenData == nToken ) 217 pbTokenData++; 220 if ( ( nReturn = ASNDerGetLength( pbTokenData, nBoundaryLength, pnLength, 270 // [in] pbTokenData - Token Data 281 // Checks the data pointed to by pbTokenData for the specified OID. 285 int ASNDerCheckOID( unsigned char* pbTokenData, SPNEGO_MECH_OID nMechOID, long nBoundaryLength, argument 292 if ( ( nReturn = ASNDerCheckToken( pbTokenData, OI [all...] |
H A D | derparse.h | 173 int ASNDerCheckToken( unsigned char* pbTokenData, unsigned char nToken, 176 int ASNDerCheckOID( unsigned char* pbTokenData, SPNEGO_MECH_OID nMechOID, long nBoundaryLength,
|