Home
last modified time | relevance | path

Searched refs:attributeListPtr (Results 1 – 20 of 20) sorted by relevance

/dports/security/cryptlib/cryptlib-3.4.3/cert/
H A Dext_wr.c115 attributeListPtr != NULL && \ in getNextEncodedAttribute()
160 attributeListPtr = attributeListPtr->next, iterationCount++ ); in getNextEncodedAttribute()
168 attributeListPtr = attributeListPtr->next, iterationCount++ ) in getNextEncodedAttribute()
273 attributeListPtr = attributeListPtr->next, iterationCount++ ); in calculateAttributeSizes()
287 attributeListPtr = attributeListPtr->next, iterationCount++ ) in calculateAttributeSizes()
368 *payloadSize = attributeListPtr->sizeFifo[ attributeListPtr->fifoPos ]; in calculateSpecialFieldSize()
470 attributeInfoPtr = attributeListPtr->encodingFifo[ attributeListPtr->fifoPos ];
709 attributeListPtr = attributeListPtr->next, iterationCount++ )
719 for( attributeListPtr->fifoPos = attributeListPtr->fifoEnd, \
901 attributeListPtr = certMoveAttributeCursor( attributeListPtr,
[all …]
H A Dext_chk.c404 stack[ attributeCheckInfo->stackPos ].attributeListPtr = attributeListPtr; in stackInfo()
417 ATTRIBUTE_LIST *attributeListPtr = attributeCheckInfo->attributeListPtr; in checkAttributeEntry() local
488 attributeCheckInfo->attributeListPtr == attributeListPtr ) in checkAttributeEntry()
522 attributeCheckInfo->attributeListPtr = attributeListPtr->next; in checkAttributeEntry()
560 attributeCheckInfo->attributeListPtr = attributeListPtr->next; in checkAttributeEntry()
626 if( attributeListPtr == NULL ) in checkAttributeEntry()
629 attributeCheckInfo->attributeListPtr = attributeListPtr->next; in checkAttributeEntry()
817 attributeListPtr != NULL && \ in checkAttributes()
820 attributeListPtr = attributeListPtr->next, iterationCount++ ) in checkAttributes()
831 attributeListPtr->encodedSize = attributeListPtr->fifoPos = \ in checkAttributes()
[all …]
H A Dext.c75 if( attributeListPtr == NULL || \ in getAttrFunction()
79 attributeListPtr = attributeListPtr->prev; in getAttrFunction()
83 attributeListPtr = attributeListPtr->next; in getAttrFunction()
85 if( attributeListPtr == NULL || \ in getAttrFunction()
96 return( attributeListPtr ); in getAttrFunction()
313 attributeListPtr != NULL && \ in findAttributeByOID()
315 attributeListPtr = attributeListPtr->next, iterationCount++ ) in findAttributeByOID()
491 attributeListPtr = attributeListPtr->next, iterationCount++ ) in findDnInAttribute()
783 attributeListPtr = attributeListPtr->next, iterationCount++ ); in getFirstAttribute()
948 if( attributeListPtr == NULL ) in getAttributeFieldValue()
[all …]
H A Dext_copy.c469 ATTRIBUTE_LIST *attributeListPtr; in copyIssuerAttributes() local
494 if( attributeListPtr != NULL && attributeListPtr->intValue > 0 ) in copyIssuerAttributes()
595 if( attributeListPtr != NULL ) in copyIssuerAttributes()
606 if( attributeListPtr != NULL ) in copyIssuerAttributes()
629 if( attributeListPtr != NULL && \ in copyIssuerAttributes()
651 ATTRIBUTE_LIST *attributeListPtr; in copyCRMFRequestAttributes() local
662 if( attributeListPtr != NULL ) in copyCRMFRequestAttributes()
693 if( attributeListPtr != NULL ) in copyRTCSRequestAttributes()
702 if( attributeListPtr != NULL ) in copyRTCSRequestAttributes()
742 if( attributeListPtr != NULL ) in copyRevocationAttributes()
[all …]
H A Dext_add.c46 assert( attributeListPtr == NULL || \ in checkAttributeField()
47 isReadPtr( attributeListPtr, sizeof( ATTRIBUTE_LIST ) ) ); in checkAttributeField()
67 if( attributeListPtr != NULL && \ in checkAttributeField()
136 assert( attributeListPtr == NULL || \ in checkAttributeFieldString()
137 isReadPtr( attributeListPtr, sizeof( ATTRIBUTE_LIST ) ) ); in checkAttributeFieldString()
161 if( attributeListPtr != NULL && \ in checkAttributeFieldString()
355 assert( attributeListPtr == NULL || \ in findFieldInsertLocation()
370 for( insertPoint = attributeListPtr, iterationCount = 0; in findFieldInsertLocation()
855 int deleteAttribute( INOUT ATTRIBUTE_PTR **attributeListPtr, in deleteAttribute() argument
955 ATTRIBUTE_LIST *attributeListCursor = *attributeListPtr; in deleteAttributes()
[all …]
H A Dcertattr.h493 int ( *VALIDATION_FUNCTION )( const ATTRIBUTE_LIST *attributeListPtr );
531 ATTRIBUTE_LIST *findAttributeStart( IN_OPT const ATTRIBUTE_LIST *attributeListPtr );
537 INOUT ATTRIBUTE_LIST *attributeListPtr,
H A Dext_def.c172 static int checkDNS( const ATTRIBUTE_LIST *attributeListPtr );
174 static int checkURL( const ATTRIBUTE_LIST *attributeListPtr );
3994 return( checkURLString( attributeListPtr->value, in checkRFC822()
3995 attributeListPtr->valueLength, URL_RFC822 ) ); in checkRFC822()
4003 return( checkURLString( attributeListPtr->value, in checkDNS()
4004 attributeListPtr->valueLength, URL_DNS ) ); in checkDNS()
4012 return( checkURLString( attributeListPtr->value, in checkURL()
4013 attributeListPtr->valueLength, URL_ANY ) ); in checkURL()
4023 return( checkURLString( attributeListPtr->value, in checkHTTP()
4024 attributeListPtr->valueLength, URL_HTTP ) ); in checkHTTP()
[all …]
H A Dcertfn.h367 int deleteCompleteAttribute( INOUT ATTRIBUTE_PTR **attributeListPtr,
/dports/security/cryptlib/cryptlib-3.4.3/session/
H A Dsess_iattr.c34 if( attributeListPtr != NULL ) \
181 if( attributeListPtr == NULL ) in getAttrFunction()
207 attributeListPtr->prev : attributeListPtr->next; in getAttrFunction()
210 if( attributeListPtr == NULL ) in getAttrFunction()
239 return( attributeListPtr ); in getAttrFunction()
291 ( attributeListPtr = \ in CHECK_RETVAL_ENUM()
300 attributeListPtr = attributeListPtr->next; in CHECK_RETVAL_ENUM()
306 attributeListPtr = attributeListPtr->next; in CHECK_RETVAL_ENUM()
414 attributeListPtr == NULL ) in setSessionAttributeCursor()
725 attributeListPtr = attributeFind( attributeListPtr, getAttrFunction, in updateSessionInfo()
[all …]
H A Dssh2_chn.c114 attributeListPtr != NULL && \ in isChannelActive()
116 attributeListPtr = attributeListPtr->next, iterationCount++ ) in isChannelActive()
278 attributeListPtr != NULL && \ in findChannelAttr()
280 attributeListPtr = attributeListPtr->next, iterationCount++ ) in findChannelAttr()
298 return( attributeListPtr ); in findChannelAttr()
302 return( attributeListPtr ); in findChannelAttr()
324 return( ( attributeListPtr == NULL ) ? NULL : attributeListPtr->value ); in findChannelByChannelNo()
342 attributeListPtr = attributeListPtr->next, iterationCount++ ) in findChannelByID()
381 attributeListPtr = attributeListPtr->next, iterationCount++ ) in findChannelByAddr()
845 attributeListPtr = attributeListPtr->next, iterationCount++ )
[all …]
H A Dsess_attr.c309 const ATTRIBUTE_LIST *attributeListPtr = \ in getSessionAttribute() local
312 if( attributeListPtr == NULL ) in getSessionAttribute()
314 *valuePtr = attributeListPtr->intValue; in getSessionAttribute()
342 const ATTRIBUTE_LIST *attributeListPtr; in getSessionAttributeS() local
382 if( attributeListPtr == NULL ) in getSessionAttributeS()
423 ATTRIBUTE_LIST *attributeListPtr = \ in setSessionAttribute() local
776 ATTRIBUTE_LIST *attributeListPtr = NULL; in setSessionAttributeS() local
793 &attributeListPtr, in setSessionAttributeS()
902 const ATTRIBUTE_LIST *attributeListPtr; in deleteSessionAttribute() local
938 attributeListPtr = \ in deleteSessionAttribute()
[all …]
H A Dssh2_auths.c356 const ATTRIBUTE_LIST *attributeListPtr DUMMY_INIT_PTR; in processUserAuth()
525 attributeListPtr = \ in processUserAuth()
529 if( attributeListPtr == NULL ) in processUserAuth()
542 ( ATTRIBUTE_LIST * ) attributeListPtr; in processUserAuth()
585 attributeListPtr = attributeListPtr->next; in processUserAuth()
586 ENSURES( attributeListPtr != NULL && \ in processUserAuth()
587 attributeListPtr->attributeID == CRYPT_SESSINFO_PASSWORD ); in processUserAuth()
593 if( stringLength != attributeListPtr->valueLength || \ in processUserAuth()
594 !compareDataConstTime( stringBuffer, attributeListPtr->value, in processUserAuth()
H A Dssl_svr.c458 const ATTRIBUTE_LIST *attributeListPtr, *attributeListCursor; in processPSKKeyex() local
483 attributeListPtr = findSessionInfoEx( sessionInfoPtr->attributeList, in processPSKKeyex()
486 if( attributeListPtr == NULL ) in processPSKKeyex()
496 attributeListPtr = attributeListPtr->next; in processPSKKeyex()
497 ENSURES( attributeListPtr != NULL && \ in processPSKKeyex()
498 attributeListPtr->attributeID == CRYPT_SESSINFO_PASSWORD ); in processPSKKeyex()
520 if( passwordPtr == attributeListPtr ) in processPSKKeyex()
537 attributeListPtr ) ); in processPSKKeyex()
552 attributeListPtr->value, in processPSKKeyex()
553 attributeListPtr->valueLength, NULL, 0, in processPSKKeyex()
[all …]
H A Dssh2_cli.c37 const ATTRIBUTE_LIST *attributeListPtr = \ in processKeyFingerprint() local
52 if( attributeListPtr == NULL ) in processKeyFingerprint()
65 if( attributeListPtr->valueLength == 20 ) in processKeyFingerprint()
75 if( attributeListPtr->valueLength != hashSize || \ in processKeyFingerprint()
76 memcmp( attributeListPtr->value, fingerPrint, hashSize ) ) in processKeyFingerprint()
80 if( attributeListPtr->valueLength >= 8 ) in processKeyFingerprint()
82 const BYTE *reqFingerPrint = attributeListPtr->value; in processKeyFingerprint()
83 const int reqFingerPrintLength = attributeListPtr->valueLength; in processKeyFingerprint()
H A Dssl_hsc.c97 const ATTRIBUTE_LIST *attributeListPtr; in addSessionToCache() local
99 attributeListPtr = findSessionInfo( sessionInfoPtr->attributeList, in addSessionToCache()
101 if( attributeListPtr == NULL ) in addSessionToCache()
112 attributeListPtr->value, in addSessionToCache()
113 attributeListPtr->valueLength, in addSessionToCache()
H A Dpnppki.c530 const ATTRIBUTE_LIST *attributeListPtr; in pnpPkiSession() local
611 attributeListPtr = findSessionInfo( sessionInfoPtr->attributeList, in pnpPkiSession()
613 if( attributeListPtr != NULL ) in pnpPkiSession()
616 attributeListPtr->value, in pnpPkiSession()
617 attributeListPtr->valueLength ); in pnpPkiSession()
H A Dsession.h214 int ( *ATTRACCESS_FUNCTION )( INOUT struct AL *attributeListPtr,
670 const ATTRIBUTE_LIST *findSessionInfo( IN_OPT const ATTRIBUTE_LIST *attributeListPtr,
674 const ATTRIBUTE_LIST *findSessionInfoEx( IN_OPT const ATTRIBUTE_LIST *attributeListPtr,
684 INOUT ATTRIBUTE_LIST *attributeListPtr );
H A Dscep_cli.c626 const ATTRIBUTE_LIST *attributeListPtr = \ in completeScepCertRequest() local
638 if( attributeListPtr != NULL ) in completeScepCertRequest()
640 setMessageData( &msgData, attributeListPtr->value, in completeScepCertRequest()
641 attributeListPtr->valueLength ); in completeScepCertRequest()
H A Dssl_cli.c1074 const ATTRIBUTE_LIST *attributeListPtr; in beginClientHandshake() local
1093 attributeListPtr = findSessionInfo( sessionInfoPtr->attributeList, in beginClientHandshake()
1095 if( attributeListPtr != NULL ) in beginClientHandshake()
1098 SCOREBOARD_KEY_FQDN, attributeListPtr->value, in beginClientHandshake()
1099 attributeListPtr->valueLength, &scoreboardInfo ); in beginClientHandshake()
/dports/security/cryptlib/cryptlib-3.4.3/
H A Dcryptcrt.c1400 ATTRIBUTE_PTR *attributeListPtr; in cryptGetCertExtension() local
1485 attributeListPtr = findAttributeByOID( certInfoPtr->attributes, in cryptGetCertExtension()
1487 if( attributeListPtr == NULL ) in cryptGetCertExtension()
1492 status = getAttributeDataPtr( attributeListPtr, &dataPtr, &dataLength ); in cryptGetCertExtension()
1499 *criticalFlag = checkAttributeProperty( attributeListPtr, in cryptGetCertExtension()
1606 ATTRIBUTE_PTR *attributeListPtr;
1663 attributeListPtr = findAttributeByOID( certInfoPtr->attributes,
1665 if( attributeListPtr == NULL )
1668 deleteAttribute( &certInfoPtr->attributes, NULL, attributeListPtr,