cryptlib  3.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
Classes | Macros | Typedefs | Enumerations | Functions
test.h File Reference
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "test/filename.h"

Go to the source code of this file.

Classes

struct  CERT_DATA
 

Macros

#define TEST_SELFTEST   /* Perform internal self-test */
 
#define TEST_LOWLEVEL   /* Test low-level functions */
 
#define TEST_RANDOM   /* Test randomness functions */
 
#define TEST_CONFIG   /* Test configuration functions */
 
#define TEST_MIDLEVEL   /* Test high-level encr/sig.functions */
 
#define TEST_CERT   /* Test certificate management functions */
 
#define TEST_KEYSET   /* Test keyset read functions */
 
#define TEST_CERTPROCESS   /* Test certificate handling/CA management */
 
#define TEST_HIGHLEVEL   /* Test high-level encr/sig.functions */
 
#define TEST_ENVELOPE   /* Test enveloping functions */
 
#define TEST_SESSION   /* Test session functions */
 
#define TEST_SESSION_LOOPBACK   /* Test session functions via local loopback */
 
#define KLUDGE_WARN(str)   printf( "Kludging " str ", file " __FILE__ ", line %d.\n", __LINE__ );
 
#define BOOLEAN   int
 
#define BYTE   unsigned char
 
#define FALSE   0
 
#define TRUE   !FALSE
 
#define SENTINEL   -1000
 
#define DUMMY_INIT   0
 
#define EXIT_SUCCESS   0
 
#define EXIT_FAILURE   !EXIT_SUCCESS
 
#define min(a, b)   ( ( ( a ) < ( b ) ) ? ( a ) : ( b ) )
 
#define max(a, b)   ( ( ( a ) > ( b ) ) ? ( a ) : ( b ) )
 
#define TEXT(x)   x
 
#define paramStrlen(x)   strlen( x )
 
#define paramStrcmp(x, y)   strcmp( x, y )
 
#define FAR_BSS
 
#define BUFFER_SIZE   16384
 
#define FILEBUFFER_SIZE   32768
 
#define FILENAME_BUFFER_SIZE   512
 
#define THREAD_HANDLE   int
 
#define THREAD_EXIT()
 
#define THREAD_SELF()   0
 
#define MAX_NO_THREADS   10
 
#define PKC_KEYSIZE   512
 
#define filenameFromTemplate(buffer, fileTemplate, count)   sprintf( buffer, fileTemplate, count )
 
#define filenameParamFromTemplate(buffer, fileTemplate, count)   sprintf( buffer, fileTemplate, count )
 
#define convertFileName(fileName)   fileName
 
#define TEST_PASSWORD   TEXT( "password" )
 
#define TEST_PRIVKEY_PASSWORD   TEXT( "test" )
 
#define DATABASE_KEYSET_TYPE   CRYPT_KEYSET_DATABASE
 
#define CERTSTORE_KEYSET_TYPE   CRYPT_KEYSET_DATABASE_STORE
 
#define DATABASE_KEYSET_NAME   TEXT( "testkeys" )
 
#define DATABASE_KEYSET_NAME_ASCII   "testkeys"
 
#define CERTSTORE_KEYSET_NAME   TEXT( "testcertstore" )
 
#define CERTSTORE_KEYSET_NAME_ASCII   "testcertstore"
 
#define DATABASE_PLUGIN_KEYSET_NAME   TEXT( "localhost:6500" )
 
#define DATABASE_PLUGIN_KEYSET_NAME_ASCII   "localhost:6500"
 
#define HTTP_KEYSET_CERT_NAME   TEXT( "www.cacert.org/certs/root.der" )
 
#define HTTP_KEYSET_CRL_NAME   TEXT( "crl.verisign.com/Class1Individual.crl" )
 
#define HTTP_KEYSET_HUGECRL_NAME   TEXT( "crl.verisign.com/RSASecureServer.crl" )
 
#define SSH_USER_NAME   TEXT( "test" )
 
#define SSH_PASSWORD   TEXT( "test" )
 
#define SSL_USER_NAME   TEXT( "test" )
 
#define SSL_PASSWORD   TEXT( "test" )
 
#define PKI_SRV_NAME   TEXT( "_pkiboot._tcp.cryptoapps.com" )
 
#define TSP_DEFAULTSERVER_NAME   TEXT( "http://timestamping.edelweb.fr/service/tsp" )
 
#define RSA_PUBKEY_LABEL   TEXT( "Test RSA public key" )
 
#define RSA_PRIVKEY_LABEL   TEXT( "Test RSA private key" )
 
#define RSA_BIG_PRIVKEY_LABEL   TEXT( "Test RSA big private key" )
 
#define DSA_PUBKEY_LABEL   TEXT( "Test DSA sigcheck key" )
 
#define DSA_PRIVKEY_LABEL   TEXT( "Test DSA signing key" )
 
#define ELGAMAL_PUBKEY_LABEL   TEXT( "Test Elgamal public key" )
 
#define ELGAMAL_PRIVKEY_LABEL   TEXT( "Test Elgamal private key" )
 
#define DH_KEY1_LABEL   TEXT( "Test DH key #1" )
 
#define DH_KEY2_LABEL   TEXT( "Test DH key #2" )
 
#define ECDSA_PUBKEY_LABEL   TEXT( "Test ECDSA sigcheck key" )
 
#define ECDSA_PRIVKEY_LABEL   TEXT( "Test ECDSA signing key" )
 
#define CA_PRIVKEY_LABEL   TEXT( "Test RSA private key" )
 
#define USER_PRIVKEY_LABEL   TEXT( "Test user key" )
 
#define USER_EMAIL   TEXT( "[email protected]" )
 
#define DUAL_SIGNKEY_LABEL   TEXT( "Test signing key" )
 
#define DUAL_ENCRYPTKEY_LABEL   TEXT( "Test encryption key" )
 
#define SYMMETRIC_KEY_LABEL   TEXT( "Test symmetric key" )
 
#define delayThread(x)
 

Typedefs

typedef void(* THREAD_FUNC )(void *arg)
 

Enumerations

enum  COMPONENT_TYPE {
  IS_VOID, IS_NUMERIC, IS_STRING, IS_WCSTRING,
  IS_TIME
}
 
enum  KEYFILE_TYPE {
  KEYFILE_NONE, KEYFILE_X509, KEYFILE_PGP, KEYFILE_PGP_SPECIAL,
  KEYFILE_OPENPGP_HASH, KEYFILE_OPENPGP_AES, KEYFILE_OPENPGP_RSA, KEYFILE_NAIPGP,
  KEYFILE_OPENPGP_PARTIAL
}
 

Functions

const C_STR getKeyfileName (const KEYFILE_TYPE type, const BOOLEAN isPrivKey)
 
const C_STR getKeyfilePassword (const KEYFILE_TYPE type)
 
const C_STR getKeyfileUserID (const KEYFILE_TYPE type, const BOOLEAN isPrivKey)
 
void printErrorAttributeInfo (const CRYPT_CERTIFICATE certificate)
 
int displayAttributes (const CRYPT_HANDLE cryptHandle)
 
int printCertInfo (const CRYPT_CERTIFICATE certificate)
 
int printCertChainInfo (const CRYPT_CERTIFICATE certChain)
 
void printExtError (const CRYPT_HANDLE cryptHandle, const char *functionName, const int functionStatus, const int lineNo)
 
int importCertFile (CRYPT_CERTIFICATE *cryptCert, const C_STR fileName)
 
int importCertFromTemplate (CRYPT_CERTIFICATE *cryptCert, const C_STR fileTemplate, const int number)
 
int addCertFields (const CRYPT_CERTIFICATE certificate, const CERT_DATA *certData, const int lineNo)
 
int checkFileAccess (void)
 
int checkNetworkAccess (void)
 
int getPublicKey (CRYPT_CONTEXT *cryptContext, const C_STR keysetName, const C_STR keyName)
 
int getPrivateKey (CRYPT_CONTEXT *cryptContext, const C_STR keysetName, const C_STR keyName, const C_STR password)
 
void debugDump (const char *fileName, const void *data, const int dataLength)
 
int printConnectInfo (const CRYPT_SESSION cryptSession)
 
int printSecurityInfo (const CRYPT_SESSION cryptSession, const BOOLEAN isServer, const BOOLEAN showFingerprint, const BOOLEAN showServerKeyInfo, const BOOLEAN showClientCertInfo)
 
int printFingerprint (const CRYPT_SESSION cryptSession, const BOOLEAN isServer)
 
BOOLEAN setLocalConnect (const CRYPT_SESSION cryptSession, const int port)
 
int activatePersistentServerSession (const CRYPT_SESSION cryptSession, const BOOLEAN showOperationType)
 
void createMutex (void)
 
void acquireMutex (void)
 
void releaseMutex (void)
 
int waitMutex (void)
 
void destroyMutex (void)
 
void waitForThread (const int hThread)
 
int multiThreadDispatch (THREAD_FUNC clientFunction, THREAD_FUNC serverFunction, const int noThreads)
 
BOOLEAN attrErrorExit (const CRYPT_HANDLE cryptHandle, const char *functionName, const int errorCode, const int lineNumber)
 
BOOLEAN extErrorExit (const CRYPT_HANDLE cryptHandle, const char *functionName, const int errorCode, const int lineNumber)
 
BOOLEAN certErrorExit (const CRYPT_HANDLE cryptHandle, const char *functionName, const int errorCode, const int lineNumber)
 
int setRootTrust (const CRYPT_CERTIFICATE cryptCertChain, BOOLEAN *oldTrustValue, const BOOLEAN newTrustValue)
 
CRYPT_ALGO_TYPE selectCipher (const CRYPT_ALGO_TYPE algorithm)
 
BOOLEAN loadDHKey (const CRYPT_DEVICE cryptDevice, CRYPT_CONTEXT *cryptContext)
 
BOOLEAN loadRSAContextsEx (const CRYPT_DEVICE cryptDevice, CRYPT_CONTEXT *cryptContext, CRYPT_CONTEXT *decryptContext, const C_STR cryptContextLabel, const C_STR decryptContextLabel, const BOOLEAN useLargeKey, const BOOLEAN useMinimalKey)
 
BOOLEAN loadRSAContexts (const CRYPT_DEVICE cryptDevice, CRYPT_CONTEXT *cryptContext, CRYPT_CONTEXT *decryptContext)
 
BOOLEAN loadRSAContextsLarge (const CRYPT_DEVICE cryptDevice, CRYPT_CONTEXT *cryptContext, CRYPT_CONTEXT *decryptContext)
 
BOOLEAN loadDSAContextsEx (const CRYPT_DEVICE cryptDevice, CRYPT_CONTEXT *signContext, CRYPT_CONTEXT *sigCheckContext, const C_STR signContextLabel, const C_STR sigCheckContextLabel)
 
BOOLEAN loadDSAContexts (const CRYPT_DEVICE cryptDevice, CRYPT_CONTEXT *signContext, CRYPT_CONTEXT *sigCheckContext)
 
BOOLEAN loadElgamalContexts (CRYPT_CONTEXT *cryptContext, CRYPT_CONTEXT *decryptContext)
 
BOOLEAN loadDHContexts (CRYPT_CONTEXT *cryptContext1, CRYPT_CONTEXT *cryptContext2)
 
BOOLEAN loadECDSAContexts (CRYPT_CONTEXT *signContext, CRYPT_CONTEXT *sigCheckContext)
 
void destroyContexts (const CRYPT_DEVICE cryptDevice, CRYPT_CONTEXT cryptContext, CRYPT_CONTEXT decryptContext)
 
int testLowlevel (const CRYPT_DEVICE cryptDevice, const CRYPT_ALGO_TYPE cryptAlgo, const BOOLEAN checkOnly)
 
int testCrypt (CRYPT_CONTEXT cryptContext, CRYPT_CONTEXT decryptContext, BYTE *buffer, const BOOLEAN isDevice, const BOOLEAN noWarnFail)
 
int testRSAMinimalKey (void)
 
int testEnvelopePKCCryptEx (const CRYPT_CONTEXT cryptContext, const CRYPT_HANDLE decryptKeyset)
 
int testCMSEnvelopeSignEx (const CRYPT_CONTEXT signContext)
 
int testCMSEnvelopePKCCryptEx (const CRYPT_HANDLE encryptContext, const CRYPT_HANDLE decryptKeyset, const C_STR password, const C_STR recipient)
 
int testSessionTSPServerEx (const CRYPT_CONTEXT privKeyContext)
 
int pkiGetUserInfo (C_STR userID, C_STR issuePW, C_STR revPW, const C_STR userName)
 
int pkiServerInit (CRYPT_CONTEXT *cryptPrivateKey, CRYPT_KEYSET *cryptCertStore, const C_STR keyFileName, const C_STR keyLabel, const CERT_DATA *pkiUserData, const CERT_DATA *pkiUserAltData, const CERT_DATA *pkiUserCAData, const char *protocolName)
 
int testLargeBufferEncrypt (void)
 
int testDeriveKey (void)
 
int testRandomRoutines (void)
 
int testConventionalExportImport (void)
 
int testMACExportImport (void)
 
int testKeyExportImport (void)
 
int testSignData (void)
 
int testKeygen (void)
 
int testKeygenAsync (void)
 
int testKeyExportImportCMS (void)
 
int testSignDataCMS (void)
 
int testDevices (void)
 
int testUser (void)
 
int testGetPGPPublicKey (void)
 
int testGetPGPPrivateKey (void)
 
int testReadWriteFileKey (void)
 
int testReadWriteAltFileKey (void)
 
int testImportFileKey (void)
 
int testReadFilePublicKey (void)
 
int testAddTrustedCert (void)
 
int testAddGloballyTrustedCert (void)
 
int testDeleteFileKey (void)
 
int testChangeFileKeyPassword (void)
 
int testUpdateFileCert (void)
 
int testWriteFileCertChain (void)
 
int testWriteFileLongCertChain (void)
 
int testReadFileCert (void)
 
int testReadFileCertPrivkey (void)
 
int testReadFileCertChain (void)
 
int testReadCorruptedKey (void)
 
int testSingleStepFileCert (void)
 
int testSingleStepAltFileCert (void)
 
int testDoubleCertFile (void)
 
int testRenewedCertFile (void)
 
int testReadAltFileKey (void)
 
int testReadMiscFile (void)
 
int testWriteCert (void)
 
int testReadCert (void)
 
int testKeysetQuery (void)
 
int testWriteCertDbx (void)
 
int testWriteCertLDAP (void)
 
int testReadCertLDAP (void)
 
int testReadCertURL (void)
 
int testReadCertHTTP (void)
 
int testEnvelopeData (void)
 
int testEnvelopeDataLargeBuffer (void)
 
int testEnvelopeCompress (void)
 
int testPGPEnvelopeCompressedDataImport (void)
 
int testEnvelopeSessionCrypt (void)
 
int testEnvelopeSessionCryptLargeBuffer (void)
 
int testEnvelopeCrypt (void)
 
int testEnvelopePasswordCrypt (void)
 
int testEnvelopePasswordCryptImport (void)
 
int testPGPEnvelopePasswordCryptImport (void)
 
int testEnvelopePKCCrypt (void)
 
int testEnvelopePKCCryptAlgo (void)
 
int testPGPEnvelopePKCCryptImport (void)
 
int testEnvelopeSign (void)
 
int testEnvelopeSignAlgo (void)
 
int testEnvelopeSignOverflow (void)
 
int testPGPEnvelopeSignedDataImport (void)
 
int testEnvelopeAuthenticate (void)
 
int testEnvelopeAuthEnc (void)
 
int testCMSEnvelopePKCCrypt (void)
 
int testCMSEnvelopePKCCryptDoubleCert (void)
 
int testCMSEnvelopePKCCryptImport (void)
 
int testCMSEnvelopeSign (void)
 
int testCMSEnvelopeDualSign (void)
 
int testCMSEnvelopeDetachedSig (void)
 
int testCMSEnvelopeSignedDataImport (void)
 
int testBasicCert (void)
 
int testCACert (void)
 
int testXyzzyCert (void)
 
int testTextStringCert (void)
 
int testComplexCert (void)
 
int testCertExtension (void)
 
int testCustomDNCert (void)
 
int testCertAttributeHandling (void)
 
int testSETCert (void)
 
int testAttributeCert (void)
 
int testCRL (void)
 
int testComplexCRL (void)
 
int testCertChain (void)
 
int testCertRequest (void)
 
int testComplexCertRequest (void)
 
int testCRMFRequest (void)
 
int testComplexCRMFRequest (void)
 
int testRevRequest (void)
 
int testCMSAttributes (void)
 
int testRTCSReqResp (void)
 
int testOCSPReqResp (void)
 
int testPKIUser (void)
 
int testCertImport (void)
 
int testCertImportECC (void)
 
int testCertReqImport (void)
 
int testCRLImport (void)
 
int testCertChainImport (void)
 
int testOCSPImport (void)
 
int testBase64CertImport (void)
 
int testBase64CertChainImport (void)
 
int testMiscImport (void)
 
int testNonchainCert (void)
 
int testCertComplianceLevel (void)
 
int testPathProcessing (void)
 
int testPKCS1Padding (void)
 
int testCertProcess (void)
 
int testCertManagement (void)
 
int testSessionSCEP (void)
 
int testSessionSCEPCACert (void)
 
int testSessionSCEPServer (void)
 
int testSessionCMP (void)
 
int testSessionCMPServer (void)
 
int testSessionPNPPKI (void)
 
int testSessionEnvTSP (void)
 
int testSessionHTTPCertstoreServer (void)
 
int testSessionRTCS (void)
 
int testSessionRTCSServer (void)
 
int testSessionOCSP (void)
 
int testSessionOCSPServer (void)
 
int testSessionTSP (void)
 
int testSessionTSPServer (void)
 
int testSessionUrlParse (void)
 
int testSessionAttributes (void)
 
int testSessionSSHv1 (void)
 
int testSessionSSH (void)
 
int testSessionSSHClientCert (void)
 
int testSessionSSHPortforward (void)
 
int testSessionSSHExec (void)
 
int testSessionSSH_SFTP (void)
 
int testSessionSSHv1Server (void)
 
int testSessionSSHServer (void)
 
int testSessionSSH_SFTPServer (void)
 
int testSessionSSL (void)
 
int testSessionSSLLocalSocket (void)
 
int testSessionSSLClientCert (void)
 
int testSessionSSLSharedKey (void)
 
int testSessionSSLServer (void)
 
int testSessionSSLServerCached (void)
 
int testSessionSSLServerClientCert (void)
 
int testSessionTLS (void)
 
int testSessionTLSServer (void)
 
int testSessionTLSServerSharedKey (void)
 
int testSessionTLS11 (void)
 
int testSessionTLS11Server (void)
 
int testSessionTLS12 (void)
 
int testSessionTLS12ClientCert (void)
 
int testSessionSSHv1ClientServer (void)
 
int testSessionSSHClientServer (void)
 
int testSessionSSHClientServerDsaKey (void)
 
int testSessionSSHClientServerEccKey (void)
 
int testSessionSSHClientServerFingerprint (void)
 
int testSessionSSHClientServerSFTP (void)
 
int testSessionSSHClientServerPortForward (void)
 
int testSessionSSHClientServerExec (void)
 
int testSessionSSHClientServerMultichannel (void)
 
int testSessionSSHClientServerDualThread (void)
 
int testSessionSSHClientServerMultiThread (void)
 
int testSessionSSLClientServer (void)
 
int testSessionSSLClientCertClientServer (void)
 
int testSessionTLSClientServer (void)
 
int testSessionTLSSharedKeyClientServer (void)
 
int testSessionTLSNoSharedKeyClientServer (void)
 
int testSessionTLSBulkTransferClientServer (void)
 
int testSessionTLSResumeClientServer (void)
 
int testSessionTLS11ClientServer (void)
 
int testSessionTLS12ClientServer (void)
 
int testSessionTLS12ClientServerEccKey (void)
 
int testSessionTLS12ClientServerEcc384Key (void)
 
int testSessionTLS12ClientCertClientServer (void)
 
int testSessionTLSClientServerDualThread (void)
 
int testSessionTLSClientServerMultiThread (void)
 
int testSessionHTTPCertstoreClientServer (void)
 
int testSessionRTCSClientServer (void)
 
int testSessionOCSPClientServer (void)
 
int testSessionTSPClientServer (void)
 
int testSessionTSPClientServerPersistent (void)
 
int testSessionSCEPClientServer (void)
 
int testSessionSCEPSHA2ClientServer (void)
 
int testSessionSCEPCACertClientServer (void)
 
int testSessionCMPClientServer (void)
 
int testSessionCMPSHA2ClientServer (void)
 
int testSessionCMPPKIBootClientServer (void)
 
int testSessionCMPFailClientServer (void)
 
int testSessionPNPPKIClientServer (void)
 
int testSessionPNPPKIDeviceClientServer (void)
 
int testSessionPNPPKICAClientServer (void)
 
int testSessionPNPPKIIntermedCAClientServer (void)
 
int testSessionSuiteBClientServer (void)
 
BOOLEAN testSelfTest (void)
 
BOOLEAN testLowLevel (void)
 
BOOLEAN testRandom (void)
 
BOOLEAN testConfig (void)
 
BOOLEAN testDevice (void)
 
BOOLEAN testMidLevel (void)
 
BOOLEAN testHighLevel (void)
 
BOOLEAN testCert (void)
 
BOOLEAN testCertMgmt (void)
 
BOOLEAN testKeysetFile (void)
 
BOOLEAN testKeysetDatabase (void)
 
BOOLEAN testEnveloping (void)
 
BOOLEAN testSessions (void)
 
BOOLEAN testSessionsLoopback (void)
 
BOOLEAN testUsers (void)
 

Macro Definition Documentation

#define BOOLEAN   int

Definition at line 113 of file test.h.

#define BUFFER_SIZE   16384

Definition at line 233 of file test.h.

#define BYTE   unsigned char

Definition at line 114 of file test.h.

#define CA_PRIVKEY_LABEL   TEXT( "Test RSA private key" )

Definition at line 491 of file test.h.

#define CERTSTORE_KEYSET_NAME   TEXT( "testcertstore" )

Definition at line 448 of file test.h.

#define CERTSTORE_KEYSET_NAME_ASCII   "testcertstore"

Definition at line 449 of file test.h.

#define CERTSTORE_KEYSET_TYPE   CRYPT_KEYSET_DATABASE_STORE

Definition at line 444 of file test.h.

#define convertFileName (   fileName)    fileName

Definition at line 373 of file test.h.

#define DATABASE_KEYSET_NAME   TEXT( "testkeys" )

Definition at line 446 of file test.h.

#define DATABASE_KEYSET_NAME_ASCII   "testkeys"

Definition at line 447 of file test.h.

#define DATABASE_KEYSET_TYPE   CRYPT_KEYSET_DATABASE

Definition at line 443 of file test.h.

#define DATABASE_PLUGIN_KEYSET_NAME   TEXT( "localhost:6500" )

Definition at line 450 of file test.h.

#define DATABASE_PLUGIN_KEYSET_NAME_ASCII   "localhost:6500"

Definition at line 451 of file test.h.

#define delayThread (   x)

Definition at line 584 of file test.h.

#define DH_KEY1_LABEL   TEXT( "Test DH key #1" )

Definition at line 487 of file test.h.

#define DH_KEY2_LABEL   TEXT( "Test DH key #2" )

Definition at line 488 of file test.h.

#define DSA_PRIVKEY_LABEL   TEXT( "Test DSA signing key" )

Definition at line 484 of file test.h.

#define DSA_PUBKEY_LABEL   TEXT( "Test DSA sigcheck key" )

Definition at line 483 of file test.h.

#define DUAL_ENCRYPTKEY_LABEL   TEXT( "Test encryption key" )

Definition at line 495 of file test.h.

#define DUAL_SIGNKEY_LABEL   TEXT( "Test signing key" )

Definition at line 494 of file test.h.

#define DUMMY_INIT   0

Definition at line 128 of file test.h.

#define ECDSA_PRIVKEY_LABEL   TEXT( "Test ECDSA signing key" )

Definition at line 490 of file test.h.

#define ECDSA_PUBKEY_LABEL   TEXT( "Test ECDSA sigcheck key" )

Definition at line 489 of file test.h.

#define ELGAMAL_PRIVKEY_LABEL   TEXT( "Test Elgamal private key" )

Definition at line 486 of file test.h.

#define ELGAMAL_PUBKEY_LABEL   TEXT( "Test Elgamal public key" )

Definition at line 485 of file test.h.

#define EXIT_FAILURE   !EXIT_SUCCESS

Definition at line 137 of file test.h.

#define EXIT_SUCCESS   0

Definition at line 136 of file test.h.

#define FALSE   0

Definition at line 116 of file test.h.

#define FAR_BSS

Definition at line 207 of file test.h.

#define FILEBUFFER_SIZE   32768

Definition at line 234 of file test.h.

#define FILENAME_BUFFER_SIZE   512

Definition at line 236 of file test.h.

#define filenameFromTemplate (   buffer,
  fileTemplate,
  count 
)    sprintf( buffer, fileTemplate, count )

Definition at line 369 of file test.h.

#define filenameParamFromTemplate (   buffer,
  fileTemplate,
  count 
)    sprintf( buffer, fileTemplate, count )

Definition at line 371 of file test.h.

#define HTTP_KEYSET_CERT_NAME   TEXT( "www.cacert.org/certs/root.der" )

Definition at line 459 of file test.h.

#define HTTP_KEYSET_CRL_NAME   TEXT( "crl.verisign.com/Class1Individual.crl" )

Definition at line 460 of file test.h.

#define HTTP_KEYSET_HUGECRL_NAME   TEXT( "crl.verisign.com/RSASecureServer.crl" )

Definition at line 461 of file test.h.

#define KLUDGE_WARN (   str)    printf( "Kludging " str ", file " __FILE__ ", line %d.\n", __LINE__ );

Definition at line 95 of file test.h.

#define max (   a,
 
)    ( ( ( a ) > ( b ) ) ? ( a ) : ( b ) )

Definition at line 150 of file test.h.

#define MAX_NO_THREADS   10

Definition at line 322 of file test.h.

#define min (   a,
 
)    ( ( ( a ) < ( b ) ) ? ( a ) : ( b ) )

Definition at line 149 of file test.h.

#define paramStrcmp (   x,
 
)    strcmp( x, y )

Definition at line 197 of file test.h.

#define paramStrlen (   x)    strlen( x )

Definition at line 196 of file test.h.

#define PKC_KEYSIZE   512

Definition at line 354 of file test.h.

#define PKI_SRV_NAME   TEXT( "_pkiboot._tcp.cryptoapps.com" )

Definition at line 473 of file test.h.

#define RSA_BIG_PRIVKEY_LABEL   TEXT( "Test RSA big private key" )

Definition at line 482 of file test.h.

#define RSA_PRIVKEY_LABEL   TEXT( "Test RSA private key" )

Definition at line 481 of file test.h.

#define RSA_PUBKEY_LABEL   TEXT( "Test RSA public key" )

Definition at line 480 of file test.h.

#define SENTINEL   -1000

Definition at line 122 of file test.h.

#define SSH_PASSWORD   TEXT( "test" )

Definition at line 470 of file test.h.

#define SSH_USER_NAME   TEXT( "test" )

Definition at line 469 of file test.h.

#define SSL_PASSWORD   TEXT( "test" )

Definition at line 472 of file test.h.

#define SSL_USER_NAME   TEXT( "test" )

Definition at line 471 of file test.h.

#define SYMMETRIC_KEY_LABEL   TEXT( "Test symmetric key" )

Definition at line 496 of file test.h.

#define TEST_CERT   /* Test certificate management functions */

Definition at line 21 of file test.h.

#define TEST_CERTPROCESS   /* Test certificate handling/CA management */

Definition at line 23 of file test.h.

#define TEST_CONFIG   /* Test configuration functions */

Definition at line 17 of file test.h.

#define TEST_ENVELOPE   /* Test enveloping functions */

Definition at line 27 of file test.h.

#define TEST_HIGHLEVEL   /* Test high-level encr/sig.functions */

Definition at line 26 of file test.h.

#define TEST_KEYSET   /* Test keyset read functions */

Definition at line 22 of file test.h.

#define TEST_LOWLEVEL   /* Test low-level functions */

Definition at line 15 of file test.h.

#define TEST_MIDLEVEL   /* Test high-level encr/sig.functions */

Definition at line 18 of file test.h.

#define TEST_PASSWORD   TEXT( "password" )

Definition at line 425 of file test.h.

#define TEST_PRIVKEY_PASSWORD   TEXT( "test" )

Definition at line 426 of file test.h.

#define TEST_RANDOM   /* Test randomness functions */

Definition at line 16 of file test.h.

#define TEST_SELFTEST   /* Perform internal self-test */

Definition at line 14 of file test.h.

#define TEST_SESSION   /* Test session functions */

Definition at line 30 of file test.h.

#define TEST_SESSION_LOOPBACK   /* Test session functions via local loopback */

Definition at line 31 of file test.h.

#define TEXT (   x)    x

Definition at line 195 of file test.h.

#define THREAD_EXIT ( )

Definition at line 314 of file test.h.

#define THREAD_HANDLE   int

Definition at line 313 of file test.h.

#define THREAD_SELF ( )    0

Definition at line 315 of file test.h.

#define TRUE   !FALSE

Definition at line 117 of file test.h.

#define TSP_DEFAULTSERVER_NAME   TEXT( "http://timestamping.edelweb.fr/service/tsp" )

Definition at line 474 of file test.h.

#define USER_EMAIL   TEXT( "[email protected]" )

Definition at line 493 of file test.h.

#define USER_PRIVKEY_LABEL   TEXT( "Test user key" )

Definition at line 492 of file test.h.

Typedef Documentation

typedef void( * THREAD_FUNC)(void *arg)

Definition at line 316 of file test.h.

Enumeration Type Documentation

Enumerator:
IS_VOID 
IS_NUMERIC 
IS_STRING 
IS_WCSTRING 
IS_TIME 

Definition at line 387 of file test.h.

Enumerator:
KEYFILE_NONE 
KEYFILE_X509 
KEYFILE_PGP 
KEYFILE_PGP_SPECIAL 
KEYFILE_OPENPGP_HASH 
KEYFILE_OPENPGP_AES 
KEYFILE_OPENPGP_RSA 
KEYFILE_NAIPGP 
KEYFILE_OPENPGP_PARTIAL 

Definition at line 417 of file test.h.

Function Documentation

void acquireMutex ( void  )

Definition at line 613 of file utils.c.

int activatePersistentServerSession ( const CRYPT_SESSION  cryptSession,
const BOOLEAN  showOperationType 
)

Definition at line 1270 of file utils.c.

int addCertFields ( const CRYPT_CERTIFICATE  certificate,
const CERT_DATA certData,
const int  lineNo 
)

Definition at line 814 of file utils.c.

BOOLEAN attrErrorExit ( const CRYPT_HANDLE  cryptHandle,
const char *  functionName,
const int  errorCode,
const int  lineNumber 
)

Definition at line 768 of file utils.c.

BOOLEAN certErrorExit ( const CRYPT_HANDLE  cryptHandle,
const char *  functionName,
const int  errorCode,
const int  lineNumber 
)
int checkFileAccess ( void  )

Definition at line 85 of file utils.c.

int checkNetworkAccess ( void  )

Definition at line 168 of file utils.c.

void createMutex ( void  )

Definition at line 610 of file utils.c.

void debugDump ( const char *  fileName,
const void *  data,
const int  dataLength 
)

Definition at line 955 of file utils.c.

void destroyContexts ( const CRYPT_DEVICE  cryptDevice,
CRYPT_CONTEXT  cryptContext,
CRYPT_CONTEXT  decryptContext 
)

Definition at line 1405 of file loadkey.c.

void destroyMutex ( void  )

Definition at line 623 of file utils.c.

int displayAttributes ( const CRYPT_HANDLE  cryptHandle)

Definition at line 1310 of file utils.c.

BOOLEAN extErrorExit ( const CRYPT_HANDLE  cryptHandle,
const char *  functionName,
const int  errorCode,
const int  lineNumber 
)

Definition at line 778 of file utils.c.

const C_STR getKeyfileName ( const KEYFILE_TYPE  type,
const BOOLEAN  isPrivKey 
)

Definition at line 326 of file utils.c.

const C_STR getKeyfilePassword ( const KEYFILE_TYPE  type)

Definition at line 351 of file utils.c.

const C_STR getKeyfileUserID ( const KEYFILE_TYPE  type,
const BOOLEAN  isPrivKey 
)

Definition at line 372 of file utils.c.

int getPrivateKey ( CRYPT_CONTEXT cryptContext,
const C_STR  keysetName,
const C_STR  keyName,
const C_STR  password 
)

Definition at line 245 of file utils.c.

int getPublicKey ( CRYPT_CONTEXT cryptContext,
const C_STR  keysetName,
const C_STR  keyName 
)

Definition at line 226 of file utils.c.

int importCertFile ( CRYPT_CERTIFICATE cryptCert,
const C_STR  fileName 
)

Definition at line 190 of file utils.c.

int importCertFromTemplate ( CRYPT_CERTIFICATE cryptCert,
const C_STR  fileTemplate,
const int  number 
)

Definition at line 207 of file utils.c.

BOOLEAN loadDHContexts ( CRYPT_CONTEXT cryptContext1,
CRYPT_CONTEXT cryptContext2 
)

Definition at line 1206 of file loadkey.c.

BOOLEAN loadDHKey ( const CRYPT_DEVICE  cryptDevice,
CRYPT_CONTEXT cryptContext 
)
BOOLEAN loadDSAContexts ( const CRYPT_DEVICE  cryptDevice,
CRYPT_CONTEXT signContext,
CRYPT_CONTEXT sigCheckContext 
)

Definition at line 1099 of file loadkey.c.

BOOLEAN loadDSAContextsEx ( const CRYPT_DEVICE  cryptDevice,
CRYPT_CONTEXT signContext,
CRYPT_CONTEXT sigCheckContext,
const C_STR  signContextLabel,
const C_STR  sigCheckContextLabel 
)

Definition at line 973 of file loadkey.c.

BOOLEAN loadECDSAContexts ( CRYPT_CONTEXT signContext,
CRYPT_CONTEXT sigCheckContext 
)

Definition at line 1290 of file loadkey.c.

BOOLEAN loadElgamalContexts ( CRYPT_CONTEXT cryptContext,
CRYPT_CONTEXT decryptContext 
)

Definition at line 1107 of file loadkey.c.

BOOLEAN loadRSAContexts ( const CRYPT_DEVICE  cryptDevice,
CRYPT_CONTEXT cryptContext,
CRYPT_CONTEXT decryptContext 
)

Definition at line 956 of file loadkey.c.

BOOLEAN loadRSAContextsEx ( const CRYPT_DEVICE  cryptDevice,
CRYPT_CONTEXT cryptContext,
CRYPT_CONTEXT decryptContext,
const C_STR  cryptContextLabel,
const C_STR  decryptContextLabel,
const BOOLEAN  useLargeKey,
const BOOLEAN  useMinimalKey 
)

Definition at line 806 of file loadkey.c.

BOOLEAN loadRSAContextsLarge ( const CRYPT_DEVICE  cryptDevice,
CRYPT_CONTEXT cryptContext,
CRYPT_CONTEXT decryptContext 
)

Definition at line 964 of file loadkey.c.

int multiThreadDispatch ( THREAD_FUNC  clientFunction,
THREAD_FUNC  serverFunction,
const int  noThreads 
)
int pkiGetUserInfo ( C_STR  userID,
C_STR  issuePW,
C_STR  revPW,
const C_STR  userName 
)
int pkiServerInit ( CRYPT_CONTEXT cryptPrivateKey,
CRYPT_KEYSET cryptCertStore,
const C_STR  keyFileName,
const C_STR  keyLabel,
const CERT_DATA pkiUserData,
const CERT_DATA pkiUserAltData,
const CERT_DATA pkiUserCAData,
const char *  protocolName 
)
int printCertChainInfo ( const CRYPT_CERTIFICATE  certChain)

Definition at line 1978 of file utils.c.

int printCertInfo ( const CRYPT_CERTIFICATE  certificate)

Definition at line 1550 of file utils.c.

int printConnectInfo ( const CRYPT_SESSION  cryptSession)

Definition at line 1053 of file utils.c.

void printErrorAttributeInfo ( const CRYPT_CERTIFICATE  certificate)

Definition at line 725 of file utils.c.

void printExtError ( const CRYPT_HANDLE  cryptHandle,
const char *  functionName,
const int  functionStatus,
const int  lineNo 
)

Definition at line 741 of file utils.c.

int printFingerprint ( const CRYPT_SESSION  cryptSession,
const BOOLEAN  isServer 
)

Definition at line 1145 of file utils.c.

int printSecurityInfo ( const CRYPT_SESSION  cryptSession,
const BOOLEAN  isServer,
const BOOLEAN  showFingerprint,
const BOOLEAN  showServerKeyInfo,
const BOOLEAN  showClientCertInfo 
)

Definition at line 1085 of file utils.c.

void releaseMutex ( void  )

Definition at line 616 of file utils.c.

CRYPT_ALGO_TYPE selectCipher ( const CRYPT_ALGO_TYPE  algorithm)

Definition at line 803 of file utils.c.

BOOLEAN setLocalConnect ( const CRYPT_SESSION  cryptSession,
const int  port 
)

Definition at line 1190 of file utils.c.

int setRootTrust ( const CRYPT_CERTIFICATE  cryptCertChain,
BOOLEAN oldTrustValue,
const BOOLEAN  newTrustValue 
)

Definition at line 66 of file certs.c.

int testAddGloballyTrustedCert ( void  )
int testAddTrustedCert ( void  )
int testAttributeCert ( void  )

Definition at line 1530 of file certs.c.

int testBase64CertChainImport ( void  )

Definition at line 780 of file certimp.c.

int testBase64CertImport ( void  )

Definition at line 760 of file certimp.c.

int testBasicCert ( void  )

Definition at line 110 of file certs.c.

int testCACert ( void  )

Definition at line 305 of file certs.c.

BOOLEAN testCert ( void  )

Definition at line 731 of file testfunc.c.

int testCertAttributeHandling ( void  )

Definition at line 1162 of file certs.c.

int testCertChain ( void  )

Definition at line 2451 of file certs.c.

int testCertChainImport ( void  )

Definition at line 680 of file certimp.c.

int testCertComplianceLevel ( void  )

Definition at line 910 of file certimp.c.

int testCertExtension ( void  )

Definition at line 915 of file certs.c.

int testCertImport ( void  )

Definition at line 219 of file certimp.c.

int testCertImportECC ( void  )

Definition at line 231 of file certimp.c.

int testCertManagement ( void  )

Definition at line 786 of file certproc.c.

BOOLEAN testCertMgmt ( void  )

Definition at line 768 of file testfunc.c.

int testCertProcess ( void  )

Definition at line 279 of file certproc.c.

int testCertReqImport ( void  )

Definition at line 325 of file certimp.c.

int testCertRequest ( void  )

Definition at line 1624 of file certs.c.

int testChangeFileKeyPassword ( void  )
int testCMSAttributes ( void  )

Definition at line 2635 of file certs.c.

int testCMSEnvelopeDetachedSig ( void  )
int testCMSEnvelopeDualSign ( void  )
int testCMSEnvelopePKCCrypt ( void  )
int testCMSEnvelopePKCCryptDoubleCert ( void  )
int testCMSEnvelopePKCCryptEx ( const CRYPT_HANDLE  encryptContext,
const CRYPT_HANDLE  decryptKeyset,
const C_STR  password,
const C_STR  recipient 
)
int testCMSEnvelopePKCCryptImport ( void  )
int testCMSEnvelopeSign ( void  )
int testCMSEnvelopeSignedDataImport ( void  )
int testCMSEnvelopeSignEx ( const CRYPT_CONTEXT  signContext)
int testComplexCert ( void  )

Definition at line 741 of file certs.c.

int testComplexCertRequest ( void  )

Definition at line 1733 of file certs.c.

int testComplexCRL ( void  )

Definition at line 2108 of file certs.c.

int testComplexCRMFRequest ( void  )

Definition at line 1907 of file certs.c.

BOOLEAN testConfig ( void  )

Definition at line 538 of file testfunc.c.

int testConventionalExportImport ( void  )
int testCRL ( void  )

Definition at line 1999 of file certs.c.

int testCRLImport ( void  )

Definition at line 370 of file certimp.c.

int testCRMFRequest ( void  )

Definition at line 1821 of file certs.c.

int testCrypt ( CRYPT_CONTEXT  cryptContext,
CRYPT_CONTEXT  decryptContext,
BYTE buffer,
const BOOLEAN  isDevice,
const BOOLEAN  noWarnFail 
)
int testCustomDNCert ( void  )

Definition at line 1034 of file certs.c.

int testDeleteFileKey ( void  )
int testDeriveKey ( void  )
BOOLEAN testDevice ( void  )

Definition at line 567 of file testfunc.c.

int testDevices ( void  )
int testDoubleCertFile ( void  )
int testEnvelopeAuthEnc ( void  )
int testEnvelopeAuthenticate ( void  )
int testEnvelopeCompress ( void  )
int testEnvelopeCrypt ( void  )
int testEnvelopeData ( void  )
int testEnvelopeDataLargeBuffer ( void  )
int testEnvelopePasswordCrypt ( void  )
int testEnvelopePasswordCryptImport ( void  )
int testEnvelopePKCCrypt ( void  )
int testEnvelopePKCCryptAlgo ( void  )
int testEnvelopePKCCryptEx ( const CRYPT_CONTEXT  cryptContext,
const CRYPT_HANDLE  decryptKeyset 
)
int testEnvelopeSessionCrypt ( void  )
int testEnvelopeSessionCryptLargeBuffer ( void  )
int testEnvelopeSign ( void  )
int testEnvelopeSignAlgo ( void  )
int testEnvelopeSignOverflow ( void  )
BOOLEAN testEnveloping ( void  )

Definition at line 982 of file testfunc.c.

int testGetPGPPrivateKey ( void  )
int testGetPGPPublicKey ( void  )
BOOLEAN testHighLevel ( void  )

Definition at line 639 of file testfunc.c.

int testImportFileKey ( void  )
int testKeyExportImport ( void  )
int testKeyExportImportCMS ( void  )
int testKeygen ( void  )
int testKeygenAsync ( void  )
BOOLEAN testKeysetDatabase ( void  )

Definition at line 906 of file testfunc.c.

BOOLEAN testKeysetFile ( void  )

Definition at line 900 of file testfunc.c.

int testKeysetQuery ( void  )
int testLargeBufferEncrypt ( void  )
int testLowlevel ( const CRYPT_DEVICE  cryptDevice,
const CRYPT_ALGO_TYPE  cryptAlgo,
const BOOLEAN  checkOnly 
)
BOOLEAN testLowLevel ( void  )

Definition at line 387 of file testfunc.c.

int testMACExportImport ( void  )
BOOLEAN testMidLevel ( void  )

Definition at line 616 of file testfunc.c.

int testMiscImport ( void  )

Definition at line 832 of file certimp.c.

int testNonchainCert ( void  )

Definition at line 856 of file certimp.c.

int testOCSPImport ( void  )

Definition at line 692 of file certimp.c.

int testOCSPReqResp ( void  )

Definition at line 2970 of file certs.c.

int testPathProcessing ( void  )

Definition at line 1356 of file certimp.c.

int testPGPEnvelopeCompressedDataImport ( void  )
int testPGPEnvelopePasswordCryptImport ( void  )
int testPGPEnvelopePKCCryptImport ( void  )
int testPGPEnvelopeSignedDataImport ( void  )
int testPKCS1Padding ( void  )

Definition at line 1420 of file certimp.c.

int testPKIUser ( void  )

Definition at line 3109 of file certs.c.

BOOLEAN testRandom ( void  )

Definition at line 419 of file testfunc.c.

int testRandomRoutines ( void  )
int testReadAltFileKey ( void  )
int testReadCert ( void  )
int testReadCertHTTP ( void  )
int testReadCertLDAP ( void  )
int testReadCertURL ( void  )
int testReadCorruptedKey ( void  )
int testReadFileCert ( void  )
int testReadFileCertChain ( void  )
int testReadFileCertPrivkey ( void  )
int testReadFilePublicKey ( void  )
int testReadMiscFile ( void  )
int testReadWriteAltFileKey ( void  )
int testReadWriteFileKey ( void  )
int testRenewedCertFile ( void  )
int testRevRequest ( void  )

Definition at line 2303 of file certs.c.

int testRSAMinimalKey ( void  )
int testRTCSReqResp ( void  )

Definition at line 2775 of file certs.c.

BOOLEAN testSelfTest ( void  )

Definition at line 303 of file testfunc.c.

int testSessionAttributes ( void  )
int testSessionCMP ( void  )
int testSessionCMPClientServer ( void  )
int testSessionCMPFailClientServer ( void  )
int testSessionCMPPKIBootClientServer ( void  )
int testSessionCMPServer ( void  )
int testSessionCMPSHA2ClientServer ( void  )
int testSessionEnvTSP ( void  )
int testSessionHTTPCertstoreClientServer ( void  )
int testSessionHTTPCertstoreServer ( void  )
int testSessionOCSP ( void  )
int testSessionOCSPClientServer ( void  )
int testSessionOCSPServer ( void  )
int testSessionPNPPKI ( void  )
int testSessionPNPPKICAClientServer ( void  )
int testSessionPNPPKIClientServer ( void  )
int testSessionPNPPKIDeviceClientServer ( void  )
int testSessionPNPPKIIntermedCAClientServer ( void  )
int testSessionRTCS ( void  )
int testSessionRTCSClientServer ( void  )
int testSessionRTCSServer ( void  )
BOOLEAN testSessions ( void  )

Definition at line 1063 of file testfunc.c.

int testSessionSCEP ( void  )
int testSessionSCEPCACert ( void  )
int testSessionSCEPCACertClientServer ( void  )
int testSessionSCEPClientServer ( void  )
int testSessionSCEPServer ( void  )
int testSessionSCEPSHA2ClientServer ( void  )
BOOLEAN testSessionsLoopback ( void  )

Definition at line 1171 of file testfunc.c.

int testSessionSSH ( void  )
int testSessionSSH_SFTP ( void  )
int testSessionSSH_SFTPServer ( void  )
int testSessionSSHClientCert ( void  )
int testSessionSSHClientServer ( void  )
int testSessionSSHClientServerDsaKey ( void  )
int testSessionSSHClientServerDualThread ( void  )
int testSessionSSHClientServerEccKey ( void  )
int testSessionSSHClientServerExec ( void  )
int testSessionSSHClientServerFingerprint ( void  )
int testSessionSSHClientServerMultichannel ( void  )
int testSessionSSHClientServerMultiThread ( void  )
int testSessionSSHClientServerPortForward ( void  )
int testSessionSSHClientServerSFTP ( void  )
int testSessionSSHExec ( void  )
int testSessionSSHPortforward ( void  )
int testSessionSSHServer ( void  )
int testSessionSSHv1 ( void  )
int testSessionSSHv1ClientServer ( void  )
int testSessionSSHv1Server ( void  )
int testSessionSSL ( void  )
int testSessionSSLClientCert ( void  )
int testSessionSSLClientCertClientServer ( void  )
int testSessionSSLClientServer ( void  )
int testSessionSSLLocalSocket ( void  )
int testSessionSSLServer ( void  )
int testSessionSSLServerCached ( void  )
int testSessionSSLServerClientCert ( void  )
int testSessionSSLSharedKey ( void  )
int testSessionSuiteBClientServer ( void  )
int testSessionTLS ( void  )
int testSessionTLS11 ( void  )
int testSessionTLS11ClientServer ( void  )
int testSessionTLS11Server ( void  )
int testSessionTLS12 ( void  )
int testSessionTLS12ClientCert ( void  )
int testSessionTLS12ClientCertClientServer ( void  )
int testSessionTLS12ClientServer ( void  )
int testSessionTLS12ClientServerEcc384Key ( void  )
int testSessionTLS12ClientServerEccKey ( void  )
int testSessionTLSBulkTransferClientServer ( void  )
int testSessionTLSClientServer ( void  )
int testSessionTLSClientServerDualThread ( void  )
int testSessionTLSClientServerMultiThread ( void  )
int testSessionTLSNoSharedKeyClientServer ( void  )
int testSessionTLSResumeClientServer ( void  )
int testSessionTLSServer ( void  )
int testSessionTLSServerSharedKey ( void  )
int testSessionTLSSharedKeyClientServer ( void  )
int testSessionTSP ( void  )
int testSessionTSPClientServer ( void  )
int testSessionTSPClientServerPersistent ( void  )
int testSessionTSPServer ( void  )
int testSessionTSPServerEx ( const CRYPT_CONTEXT  privKeyContext)
int testSessionUrlParse ( void  )
int testSETCert ( void  )

Definition at line 1436 of file certs.c.

int testSignData ( void  )
int testSignDataCMS ( void  )
int testSingleStepAltFileCert ( void  )
int testSingleStepFileCert ( void  )
int testTextStringCert ( void  )

Definition at line 680 of file certs.c.

int testUpdateFileCert ( void  )
int testUser ( void  )
BOOLEAN testUsers ( void  )

Definition at line 1197 of file testfunc.c.

int testWriteCert ( void  )
int testWriteCertDbx ( void  )
int testWriteCertLDAP ( void  )
int testWriteFileCertChain ( void  )
int testWriteFileLongCertChain ( void  )
int testXyzzyCert ( void  )

Definition at line 482 of file certs.c.

void waitForThread ( const int  hThread)
int waitMutex ( void  )

Definition at line 619 of file utils.c.