Lines Matching defs:pbData

495 //    [out] pbData            -  Buffer to write into.
506 int ASNDerWriteLength( unsigned char* pbData, long nLength )
516 *pbData = (unsigned char ) ( LEN_XTND | nNumLengthBytes );
519 pbData++;
532 *pbData = (unsigned char) nLength;
538 *pbData = *( ( (unsigned char*) &nLength ) + 1 );
539 *( pbData + 1) = *( ( (unsigned char*) &nLength ) );
545 *pbData = *( ( (unsigned char*) &nLength ) + 3 );
546 *( pbData + 1) = *( ( (unsigned char*) &nLength ) + 2 );
547 *( pbData + 2) = *( ( (unsigned char*) &nLength ) );
553 *pbData = *( ( (unsigned char*) &nLength ) + 3 );
554 *( pbData + 1) = *( ( (unsigned char*) &nLength ) + 2 );
555 *( pbData + 2) = *( ( (unsigned char*) &nLength ) + 1 );
556 *( pbData + 3) = *( ( (unsigned char*) &nLength ) );
567 memcpy( pbData,
577 *pbData = (unsigned char) nLength;
589 // [out] pbData - Buffer to write into.
604 int ASNDerWriteToken( unsigned char* pbData, unsigned char ucType,
611 *pbData = ucType;
615 pbData++;
618 nNumLengthBytesWritten = ASNDerWriteLength( pbData, nLength );
621 pbData += nNumLengthBytesWritten;
628 memcpy( pbData, pbTokenValue, nLength );
642 // [out] pbData - Buffer to write into.
655 int ASNDerWriteOID( unsigned char* pbData, SPNEGO_MECH_OID eMechOID )
658 if (pbData != NULL) {
659 memcpy( pbData, g_stcMechOIDList[eMechOID].ucOid,
673 // [out] pbData - Buffer to write into.
686 long ASNDerWriteMechList( unsigned char* pbData, SPNEGO_MECH_OID *mechOidLst, int mechOidCnt )
695 nTempLength = ASNDerWriteToken( pbData, SPNEGO_NEGINIT_ELEMENT_MECHTYPES,
699 pbData += nTempLength;
705 nTempLength = ASNDerWriteToken( pbData, SPNEGO_CONSTRUCTED_SEQUENCE,
707 pbData += nTempLength;
710 nTempLength = ASNDerWriteOID( pbData, mechOidLst[i] );
711 pbData += nTempLength;
724 // [out] pbData - Buffer to write into.
739 int ASNDerWriteElement( unsigned char* pbData, unsigned char ucElementSequence,
748 nTempLength = ASNDerWriteToken( pbData, ucElementSequence, NULL, nInternalLength );
751 pbData += nTempLength;
754 nTempLength = ASNDerWriteToken( pbData, ucType, pbTokenValue, nLength );