xmlInitCatalogInternal:
 3228|      1|xmlInitCatalogInternal(void) {
 3229|      1|    if (getenv("XML_DEBUG_CATALOG"))
  ------------------
  |  Branch (3229:9): [True: 0, False: 1]
  ------------------
 3230|      0|	xmlDebugCatalogs = 1;
 3231|      1|    xmlInitRMutex(&xmlCatalogMutex);
 3232|      1|}

xmlInitDictInternal:
   98|      1|xmlInitDictInternal(void) {
   99|      1|    xmlInitMutex(&xmlDictMutex);
  100|      1|}
xmlInitRandom:
  926|      1|xmlInitRandom(void) {
  927|      1|    xmlInitMutex(&xmlRngMutex);
  928|       |
  929|      1|    {
  930|       |#ifdef _WIN32
  931|       |        NTSTATUS status;
  932|       |
  933|       |        /*
  934|       |         * You can find many (recent as of 2025) discussions how
  935|       |         * to get a pseudo-random seed on Windows in projects like
  936|       |         * Golang, Rust, Chromium and Firefox.
  937|       |         *
  938|       |         * TODO: Support ProcessPrng available since Windows 10.
  939|       |         */
  940|       |        status = BCryptGenRandom(NULL, (unsigned char *) globalRngState,
  941|       |                                 sizeof(globalRngState),
  942|       |                                 BCRYPT_USE_SYSTEM_PREFERRED_RNG);
  943|       |        if (!BCRYPT_SUCCESS(status))
  944|       |            xmlAbort("libxml2: BCryptGenRandom failed with error code %lu\n",
  945|       |                     GetLastError());
  946|       |#else
  947|      1|        int var;
  948|       |
  949|      1|#if HAVE_DECL_GETENTROPY
  950|      1|        while (1) {
  ------------------
  |  Branch (950:16): [True: 1, Folded]
  ------------------
  951|      1|            if (getentropy(globalRngState, sizeof(globalRngState)) == 0)
  ------------------
  |  Branch (951:17): [True: 1, False: 0]
  ------------------
  952|      1|                return;
  953|       |
  954|       |            /*
  955|       |             * This most likely means that libxml2 was compiled on
  956|       |             * a system supporting certain system calls and is running
  957|       |             * on a system that doesn't support these calls, as can
  958|       |             * be the case on Linux.
  959|       |             */
  960|      0|            if (errno == ENOSYS)
  ------------------
  |  Branch (960:17): [True: 0, False: 0]
  ------------------
  961|      0|                break;
  962|       |
  963|       |            /*
  964|       |             * We really don't want to fallback to the unsafe PRNG
  965|       |             * for possibly accidental reasons, so we abort on any
  966|       |             * unknown error.
  967|       |             */
  968|      0|            if (errno != EINTR)
  ------------------
  |  Branch (968:17): [True: 0, False: 0]
  ------------------
  969|      0|                xmlAbort("libxml2: getentropy failed with error code %d\n",
  970|      0|                         errno);
  971|      0|        }
  972|      0|#endif
  973|       |
  974|       |        /*
  975|       |         * TODO: Fallback to /dev/urandom for older POSIX systems.
  976|       |         */
  977|      0|        globalRngState[0] =
  978|      0|                (unsigned) time(NULL) ^
  979|      0|                HASH_ROL((unsigned) ((size_t) &xmlInitRandom & 0xFFFFFFFF), 8);
  ------------------
  |  |   12|      0|#define HASH_ROL(x,n) ((x) << (n) | ((x) & 0xFFFFFFFF) >> (32 - (n)))
  ------------------
  980|      0|        globalRngState[1] =
  981|      0|                HASH_ROL((unsigned) ((size_t) &xmlRngMutex & 0xFFFFFFFF), 16) ^
  ------------------
  |  |   12|      0|#define HASH_ROL(x,n) ((x) << (n) | ((x) & 0xFFFFFFFF) >> (32 - (n)))
  ------------------
  982|      0|                HASH_ROL((unsigned) ((size_t) &var & 0xFFFFFFFF), 24);
  ------------------
  |  |   12|      0|#define HASH_ROL(x,n) ((x) << (n) | ((x) & 0xFFFFFFFF) >> (32 - (n)))
  ------------------
  983|      0|#endif
  984|      0|    }
  985|      0|}
xmlGlobalRandom:
 1017|      2|xmlGlobalRandom(void) {
 1018|      2|    unsigned ret;
 1019|       |
 1020|      2|    xmlMutexLock(&xmlRngMutex);
 1021|      2|    ret = xoroshiro64ss(globalRngState);
 1022|      2|    xmlMutexUnlock(&xmlRngMutex);
 1023|       |
 1024|      2|    return(ret);
 1025|      2|}
dict.c:xoroshiro64ss:
  998|      2|xoroshiro64ss(unsigned *s) {
  999|      2|    unsigned s0 = s[0];
 1000|      2|    unsigned s1 = s[1];
 1001|      2|    unsigned result = HASH_ROL(s0 * 0x9E3779BB, 5) * 5;
  ------------------
  |  |   12|      2|#define HASH_ROL(x,n) ((x) << (n) | ((x) & 0xFFFFFFFF) >> (32 - (n)))
  ------------------
 1002|       |
 1003|      2|    s1 ^= s0;
 1004|      2|    s[0] = HASH_ROL(s0, 26) ^ s1 ^ (s1 << 9);
  ------------------
  |  |   12|      2|#define HASH_ROL(x,n) ((x) << (n) | ((x) & 0xFFFFFFFF) >> (32 - (n)))
  ------------------
 1005|      2|    s[1] = HASH_ROL(s1, 13);
  ------------------
  |  |   12|      2|#define HASH_ROL(x,n) ((x) << (n) | ((x) & 0xFFFFFFFF) >> (32 - (n)))
  ------------------
 1006|       |
 1007|      2|    return(result & 0xFFFFFFFF);
 1008|      2|}

xmlInitEncodingInternal:
  821|      1|xmlInitEncodingInternal(void) {
  822|      1|    unsigned short int tst = 0x1234;
  823|      1|    unsigned char *ptr = (unsigned char *) &tst;
  824|       |
  825|      1|    if (*ptr == 0x12) xmlLittleEndian = 0;
  ------------------
  |  Branch (825:9): [True: 0, False: 1]
  ------------------
  826|      1|    else xmlLittleEndian = 1;
  827|      1|}

xmlSetGenericErrorFunc:
  272|      1|xmlSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler) {
  273|      1|    xmlGenericErrorContext = ctx;
  ------------------
  |  |  983|      1|  #define xmlGenericErrorContext (*__xmlGenericErrorContext())
  ------------------
  274|      1|    if (handler != NULL)
  ------------------
  |  Branch (274:9): [True: 1, False: 0]
  ------------------
  275|      1|	xmlGenericError = handler;
  ------------------
  |  |  976|      1|  #define xmlGenericError (*__xmlGenericError())
  ------------------
  276|      0|    else
  277|      0|	xmlGenericError = xmlGenericErrorDefaultFunc;
  ------------------
  |  |  976|      0|  #define xmlGenericError (*__xmlGenericError())
  ------------------
  278|      1|}

xmlInitGlobalsInternal:
  357|      1|void xmlInitGlobalsInternal(void) {
  358|      1|    xmlInitMutex(&xmlThrDefMutex);
  359|       |
  360|      1|#ifdef HAVE_POSIX_THREADS
  361|      1|    pthread_key_create(&globalkey, xmlFreeGlobalState);
  362|       |#elif defined(HAVE_WIN32_THREADS)
  363|       |#ifndef USE_TLS
  364|       |    if (globalkey == TLS_OUT_OF_INDEXES)
  365|       |        globalkey = TlsAlloc();
  366|       |#endif
  367|       |#else /* no thread support */
  368|       |    xmlInitGlobalState(&globalState);
  369|       |#endif
  370|      1|}
__xmlGenericError:
  685|      1|__xmlGenericError(void) {
  686|      1|    return(&xmlGetThreadLocalStorage(0)->genericError);
  687|      1|}
__xmlGenericErrorContext:
  690|      1|__xmlGenericErrorContext(void) {
  691|      1|    return(&xmlGetThreadLocalStorage(0)->genericErrorContext);
  692|      1|}
globals.c:xmlGetThreadLocalStorage:
  525|      2|xmlGetThreadLocalStorage(int allowFailure) {
  526|      2|    xmlGlobalState *gs;
  527|       |
  528|      2|    (void) allowFailure;
  529|       |
  530|      2|    xmlInitParser();
  531|       |
  532|       |#ifdef USE_TLS
  533|       |    gs = &globalState;
  534|       |    if (gs->initialized == 0)
  535|       |        xmlInitGlobalState(gs);
  536|       |#elif defined(HAVE_POSIX_THREADS)
  537|       |    gs = (xmlGlobalState *) pthread_getspecific(globalkey);
  538|      2|    if (gs == NULL)
  ------------------
  |  Branch (538:9): [True: 1, False: 1]
  ------------------
  539|      1|        gs = xmlNewGlobalState(allowFailure);
  540|       |#elif defined(HAVE_WIN32_THREADS)
  541|       |    gs = (xmlGlobalState *) TlsGetValue(globalkey);
  542|       |    if (gs == NULL)
  543|       |        gs = xmlNewGlobalState(allowFailure);
  544|       |#else
  545|       |    gs = NULL;
  546|       |#endif
  547|       |
  548|      2|    return(gs);
  549|      2|}
globals.c:xmlNewGlobalState:
  497|      1|{
  498|      1|    xmlGlobalState *gs;
  499|       |
  500|       |    /*
  501|       |     * We use malloc/free to allow accessing globals before setting
  502|       |     * custom memory allocators.
  503|       |     */
  504|      1|    gs = malloc(sizeof(xmlGlobalState));
  505|      1|    if (gs == NULL) {
  ------------------
  |  Branch (505:9): [True: 0, False: 1]
  ------------------
  506|      0|        if (allowFailure)
  ------------------
  |  Branch (506:13): [True: 0, False: 0]
  ------------------
  507|      0|            return(NULL);
  508|       |
  509|       |        /*
  510|       |         * If an application didn't call xmlCheckThreadLocalStorage to make
  511|       |         * sure that global state could be allocated, it's too late to
  512|       |         * handle the error.
  513|       |         */
  514|      0|        xmlAbort("libxml2: Failed to allocate globals for thread\n"
  515|      0|                 "libxml2: See xmlCheckThreadLocalStorage\n");
  516|      0|    }
  517|       |
  518|      1|    memset(gs, 0, sizeof(xmlGlobalState));
  519|      1|    xmlInitGlobalState(gs);
  520|      1|    return (gs);
  521|      1|}
globals.c:xmlInitGlobalState:
  561|      1|xmlInitGlobalState(xmlGlobalStatePtr gs) {
  562|      1|    gs->localRngState[0] = xmlGlobalRandom();
  563|      1|    gs->localRngState[1] = xmlGlobalRandom();
  564|       |
  565|      1|    memset(&gs->lastError, 0, sizeof(xmlError));
  566|       |
  567|       |#ifdef LIBXML_THREAD_ALLOC_ENABLED
  568|       |    /* XML_GLOBALS_ALLOC */
  569|       |    gs->free = free;
  570|       |    gs->malloc = malloc;
  571|       |    gs->mallocAtomic = malloc;
  572|       |    gs->realloc = realloc;
  573|       |    gs->memStrdup = xmlPosixStrdup;
  574|       |#endif
  575|       |
  576|      1|    xmlMutexLock(&xmlThrDefMutex);
  577|       |
  578|       |    /* XML_GLOBALS_PARSER */
  579|      1|    gs->doValidityCheckingDefaultValue =
  580|      1|         xmlDoValidityCheckingDefaultValueThrDef;
  581|      1|    gs->getWarningsDefaultValue = xmlGetWarningsDefaultValueThrDef;
  582|      1|    gs->keepBlanksDefaultValue = xmlKeepBlanksDefaultValueThrDef;
  583|      1|    gs->loadExtDtdDefaultValue = xmlLoadExtDtdDefaultValueThrDef;
  584|      1|    gs->pedanticParserDefaultValue = xmlPedanticParserDefaultValueThrDef;
  585|      1|    gs->substituteEntitiesDefaultValue =
  586|      1|        xmlSubstituteEntitiesDefaultValueThrDef;
  587|      1|#ifdef LIBXML_OUTPUT_ENABLED
  588|      1|    gs->indentTreeOutput = xmlIndentTreeOutputThrDef;
  589|      1|    gs->treeIndentString = xmlTreeIndentStringThrDef;
  590|      1|    gs->saveNoEmptyTags = xmlSaveNoEmptyTagsThrDef;
  591|      1|#endif
  592|       |
  593|       |    /* XML_GLOBALS_ERROR */
  594|      1|    gs->genericError = xmlGenericErrorThrDef;
  595|      1|    gs->structuredError = xmlStructuredErrorThrDef;
  596|      1|    gs->genericErrorContext = xmlGenericErrorContextThrDef;
  597|      1|    gs->structuredErrorContext = xmlStructuredErrorContextThrDef;
  598|       |
  599|       |    /* XML_GLOBALS_TREE */
  600|      1|    gs->registerNodeDefaultValue = xmlRegisterNodeDefaultValueThrDef;
  601|      1|    gs->deregisterNodeDefaultValue = xmlDeregisterNodeDefaultValueThrDef;
  602|       |
  603|       |    /* XML_GLOBALS_IO */
  604|      1|    gs->parserInputBufferCreateFilenameValue =
  605|      1|        xmlParserInputBufferCreateFilenameValueThrDef;
  606|      1|    gs->outputBufferCreateFilenameValue =
  607|      1|        xmlOutputBufferCreateFilenameValueThrDef;
  608|       |
  609|      1|    xmlMutexUnlock(&xmlThrDefMutex);
  610|       |
  611|       |#ifdef USE_TLS
  612|       |    gs->initialized = 1;
  613|       |#endif
  614|       |
  615|      1|#ifdef HAVE_POSIX_THREADS
  616|      1|    pthread_setspecific(globalkey, gs);
  617|       |#elif defined HAVE_WIN32_THREADS
  618|       |#ifndef USE_TLS
  619|       |    TlsSetValue(globalkey, gs);
  620|       |#endif
  621|       |#ifdef USE_WAIT_DTOR
  622|       |    xmlRegisterGlobalStateDtor(gs);
  623|       |#endif
  624|       |#endif
  625|      1|}

xmlGetExternalEntityLoader:
 2628|      1|xmlGetExternalEntityLoader(void) {
 2629|      1|    return(xmlCurrentExternalEntityLoader);
 2630|      1|}

xmlInitRelaxNGInternal:
 2710|      1|{
 2711|      1|    xmlInitMutex(&xmlRelaxNGMutex);
 2712|      1|}

xmlInitMutex:
   57|      7|{
   58|      7|#ifdef HAVE_POSIX_THREADS
   59|      7|    pthread_mutex_init(&mutex->lock, NULL);
   60|       |#elif defined HAVE_WIN32_THREADS
   61|       |    InitializeCriticalSection(&mutex->cs);
   62|       |#else
   63|       |    (void) mutex;
   64|       |#endif
   65|      7|}
xmlNewMutex:
   75|      1|{
   76|      1|    xmlMutexPtr tok;
   77|       |
   78|      1|    tok = malloc(sizeof(xmlMutex));
   79|      1|    if (tok == NULL)
  ------------------
  |  Branch (79:9): [True: 0, False: 1]
  ------------------
   80|      0|        return (NULL);
   81|      1|    xmlInitMutex(tok);
   82|      1|    return (tok);
   83|      1|}
xmlMutexLock:
  124|      3|{
  125|      3|    if (tok == NULL)
  ------------------
  |  Branch (125:9): [True: 0, False: 3]
  ------------------
  126|      0|        return;
  127|      3|#ifdef HAVE_POSIX_THREADS
  128|       |    /*
  129|       |     * This assumes that __libc_single_threaded won't change while the
  130|       |     * lock is held.
  131|       |     */
  132|      3|    pthread_mutex_lock(&tok->lock);
  133|       |#elif defined HAVE_WIN32_THREADS
  134|       |    EnterCriticalSection(&tok->cs);
  135|       |#endif
  136|       |
  137|      3|}
xmlMutexUnlock:
  146|      3|{
  147|      3|    if (tok == NULL)
  ------------------
  |  Branch (147:9): [True: 0, False: 3]
  ------------------
  148|      0|        return;
  149|      3|#ifdef HAVE_POSIX_THREADS
  150|      3|    pthread_mutex_unlock(&tok->lock);
  151|       |#elif defined HAVE_WIN32_THREADS
  152|       |    LeaveCriticalSection(&tok->cs);
  153|       |#endif
  154|      3|}
xmlInitRMutex:
  162|      2|xmlInitRMutex(xmlRMutex *tok) {
  163|      2|    (void) tok;
  164|       |
  165|      2|#ifdef HAVE_POSIX_THREADS
  166|      2|    pthread_mutex_init(&tok->lock, NULL);
  167|      2|    tok->held = 0;
  168|      2|    tok->waiters = 0;
  169|      2|    pthread_cond_init(&tok->cv, NULL);
  170|       |#elif defined HAVE_WIN32_THREADS
  171|       |    InitializeCriticalSection(&tok->cs);
  172|       |#endif
  173|      2|}
xmlInitParser:
  404|      3|xmlInitParser(void) {
  405|      3|#ifdef HAVE_POSIX_THREADS
  406|      3|    pthread_once(&onceControl, xmlInitParserInternal);
  407|       |#elif defined(HAVE_WIN32_THREADS)
  408|       |    InitOnceExecuteOnce(&onceControl, xmlInitParserWinWrapper, NULL, NULL);
  409|       |#else
  410|       |    if (onceControl == 0) {
  411|       |        xmlInitParserInternal();
  412|       |        onceControl = 1;
  413|       |    }
  414|       |#endif
  415|      3|}
threads.c:xmlInitParserInternal:
  356|      1|xmlInitParserInternal(void) {
  357|       |    /*
  358|       |     * Note that the initialization code must not make memory allocations.
  359|       |     */
  360|      1|    xmlInitRandom(); /* Required by xmlInitGlobalsInternal */
  361|      1|    xmlInitMemoryInternal();
  362|      1|    xmlInitThreadsInternal();
  363|      1|    xmlInitGlobalsInternal();
  364|      1|    xmlInitDictInternal();
  365|      1|    xmlInitEncodingInternal();
  366|      1|#if defined(LIBXML_XPATH_ENABLED)
  367|      1|    xmlInitXPathInternal();
  368|      1|#endif
  369|      1|    xmlInitIOCallbacks();
  370|      1|#ifdef LIBXML_CATALOG_ENABLED
  371|      1|    xmlInitCatalogInternal();
  372|      1|#endif
  373|      1|#ifdef LIBXML_SCHEMAS_ENABLED
  374|      1|    xmlInitSchemasTypesInternal();
  375|      1|#endif
  376|      1|#ifdef LIBXML_RELAXNG_ENABLED
  377|      1|    xmlInitRelaxNGInternal();
  378|      1|#endif
  379|       |
  380|      1|    xmlParserInitialized = 1;
  381|      1|}
threads.c:xmlInitThreadsInternal:
  330|      1|xmlInitThreadsInternal(void) {
  331|      1|    xmlInitRMutex(&xmlLibraryLock);
  332|      1|}

xmlInitIOCallbacks:
 2790|      1|{
 2791|      1|    xmlInputCallbackNr = 1;
 2792|      1|    xmlInputCallbackTable[0].matchcallback = xmlIODefaultMatch;
 2793|       |
 2794|      1|#ifdef LIBXML_OUTPUT_ENABLED
 2795|      1|    xmlOutputCallbackNr = 1;
 2796|      1|    xmlOutputCallbackTable[0].matchcallback = xmlIODefaultMatch;
 2797|      1|#endif
 2798|      1|}

xmlInitMemoryInternal:
  406|      1|xmlInitMemoryInternal(void) {
  407|      1|    xmlInitMutex(&xmlMemMutex);
  408|      1|}

xmlInitSchemasTypesInternal:
  522|      1|{
  523|      1|    xmlInitMutex(&xmlSchemasTypesMutex);
  524|      1|}

xmlStrVPrintf:
  549|  3.47k|xmlStrVPrintf(xmlChar *buf, int len, const char *msg, va_list ap) {
  550|  3.47k|    int ret;
  551|       |
  552|  3.47k|    if((buf == NULL) || (msg == NULL) || (len <= 0)) {
  ------------------
  |  Branch (552:8): [True: 0, False: 3.47k]
  |  Branch (552:25): [True: 0, False: 3.47k]
  |  Branch (552:42): [True: 0, False: 3.47k]
  ------------------
  553|      0|        return(-1);
  554|      0|    }
  555|       |
  556|  3.47k|    ret = vsnprintf((char *) buf, len, (const char *) msg, ap);
  557|  3.47k|    buf[len - 1] = 0; /* be safe ! */
  558|       |
  559|  3.47k|    return(ret);
  560|  3.47k|}

xmlInitXPathInternal:
  201|      1|xmlInitXPathInternal(void) {
  202|      1|    size_t i;
  203|       |
  204|      1|#if defined(NAN) && defined(INFINITY)
  205|      1|    xmlXPathNAN = NAN;
  206|      1|    xmlXPathPINF = INFINITY;
  207|      1|    xmlXPathNINF = -INFINITY;
  208|       |#else
  209|       |    /* MSVC doesn't allow division by zero in constant expressions. */
  210|       |    double zero = 0.0;
  211|       |    xmlXPathNAN = 0.0 / zero;
  212|       |    xmlXPathPINF = 1.0 / zero;
  213|       |    xmlXPathNINF = -xmlXPathPINF;
  214|       |#endif
  215|       |
  216|       |    /*
  217|       |     * Initialize hash table for standard functions
  218|       |     */
  219|       |
  220|     65|    for (i = 0; i < SF_HASH_SIZE; i++)
  ------------------
  |  |  168|     65|#define SF_HASH_SIZE 64
  ------------------
  |  Branch (220:17): [True: 64, False: 1]
  ------------------
  221|     64|        xmlXPathSFHash[i] = UCHAR_MAX;
  222|       |
  223|     28|    for (i = 0; i < NUM_STANDARD_FUNCTIONS; i++) {
  ------------------
  |  |  166|     28|    (sizeof(xmlXPathStandardFunctions) / sizeof(xmlXPathStandardFunctions[0]))
  ------------------
  |  Branch (223:17): [True: 27, False: 1]
  ------------------
  224|     27|        const char *name = xmlXPathStandardFunctions[i].name;
  225|     27|        int bucketIndex = xmlXPathSFComputeHash(BAD_CAST name) % SF_HASH_SIZE;
  ------------------
  |  |   34|     27|#define BAD_CAST (xmlChar *)
  ------------------
                      int bucketIndex = xmlXPathSFComputeHash(BAD_CAST name) % SF_HASH_SIZE;
  ------------------
  |  |  168|     27|#define SF_HASH_SIZE 64
  ------------------
  226|       |
  227|     34|        while (xmlXPathSFHash[bucketIndex] != UCHAR_MAX) {
  ------------------
  |  Branch (227:16): [True: 7, False: 27]
  ------------------
  228|      7|            bucketIndex += 1;
  229|      7|            if (bucketIndex >= SF_HASH_SIZE)
  ------------------
  |  |  168|      7|#define SF_HASH_SIZE 64
  ------------------
  |  Branch (229:17): [True: 0, False: 7]
  ------------------
  230|      0|                bucketIndex = 0;
  231|      7|        }
  232|       |
  233|     27|        xmlXPathSFHash[bucketIndex] = i;
  234|     27|    }
  235|      1|}
xpath.c:xmlXPathSFComputeHash:
  186|     27|xmlXPathSFComputeHash(const xmlChar *name) {
  187|     27|    unsigned hashValue = 5381;
  188|     27|    const xmlChar *ptr;
  189|       |
  190|    230|    for (ptr = name; *ptr; ptr++)
  ------------------
  |  Branch (190:22): [True: 203, False: 27]
  ------------------
  191|    203|        hashValue = hashValue * 33 + *ptr;
  192|       |
  193|     27|    return(hashValue);
  194|     27|}

xsltInitGlobals:
 2302|      6|{
 2303|      6|    if (xsltExtMutex == NULL) {
  ------------------
  |  Branch (2303:9): [True: 1, False: 5]
  ------------------
 2304|      1|        xsltExtMutex = xmlNewMutex();
 2305|      1|    }
 2306|      6|}

xsltNewSecurityPrefs:
   73|      1|xsltNewSecurityPrefs(void) {
   74|      1|    xsltSecurityPrefsPtr ret;
   75|       |
   76|      1|    xsltInitGlobals();
   77|       |
   78|      1|    ret = (xsltSecurityPrefsPtr) xmlMalloc(sizeof(xsltSecurityPrefs));
   79|      1|    if (ret == NULL) {
  ------------------
  |  Branch (79:9): [True: 0, False: 1]
  ------------------
   80|      0|	xsltTransformError(NULL, NULL, NULL,
   81|      0|		"xsltNewSecurityPrefs : malloc failed\n");
   82|      0|	return(NULL);
   83|      0|    }
   84|      1|    memset(ret, 0, sizeof(xsltSecurityPrefs));
   85|      1|    return(ret);
   86|      1|}
xsltSetSecurityPrefs:
  113|      5|                     xsltSecurityCheck func) {
  114|      5|    xsltInitGlobals();
  115|      5|    if (sec == NULL)
  ------------------
  |  Branch (115:9): [True: 0, False: 5]
  ------------------
  116|      0|	return(-1);
  117|      5|    switch (option) {
  ------------------
  |  Branch (117:13): [True: 5, False: 0]
  ------------------
  118|      1|        case XSLT_SECPREF_READ_FILE:
  ------------------
  |  Branch (118:9): [True: 1, False: 4]
  ------------------
  119|      1|            sec->readFile = func; return(0);
  120|      1|        case XSLT_SECPREF_WRITE_FILE:
  ------------------
  |  Branch (120:9): [True: 1, False: 4]
  ------------------
  121|      1|            sec->createFile = func; return(0);
  122|      1|        case XSLT_SECPREF_CREATE_DIRECTORY:
  ------------------
  |  Branch (122:9): [True: 1, False: 4]
  ------------------
  123|      1|            sec->createDir = func; return(0);
  124|      1|        case XSLT_SECPREF_READ_NETWORK:
  ------------------
  |  Branch (124:9): [True: 1, False: 4]
  ------------------
  125|      1|            sec->readNet = func; return(0);
  126|      1|        case XSLT_SECPREF_WRITE_NETWORK:
  ------------------
  |  Branch (126:9): [True: 1, False: 4]
  ------------------
  127|      1|            sec->writeNet = func; return(0);
  128|      5|    }
  129|      0|    return(-1);
  130|      5|}
xsltSetDefaultSecurityPrefs:
  167|      1|xsltSetDefaultSecurityPrefs(xsltSecurityPrefsPtr sec) {
  168|       |
  169|      1|    xsltDefaultSecurityPrefs = sec;
  170|      1|}
xsltGetDefaultSecurityPrefs:
  180|      1|xsltGetDefaultSecurityPrefs(void) {
  181|      1|    return(xsltDefaultSecurityPrefs);
  182|      1|}

LLVMFuzzerTestOneInput:
   88|  1.56k|int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
   89|  1.56k|    xmlSecKeyDataFormat format;
   90|  1.56k|    xmlSecKeyPtr key;
   91|       |
   92|  1.56k|    if (!g_initialized) {
  ------------------
  |  Branch (92:9): [True: 1, False: 1.56k]
  ------------------
   93|      1|        g_init_failed = (do_init() < 0);
   94|      1|        g_initialized = 1;
   95|      1|    }
   96|  1.56k|    if (g_init_failed || size < 2) {
  ------------------
  |  Branch (96:9): [True: 0, False: 1.56k]
  |  Branch (96:26): [True: 2, False: 1.56k]
  ------------------
   97|      2|        return 0;
   98|      2|    }
   99|       |
  100|  1.56k|    format = g_formats[data[0] % G_NFORMATS];
  ------------------
  |  |   45|  1.56k|#define G_NFORMATS ((int)(sizeof(g_formats) / sizeof(g_formats[0])))
  ------------------
  101|  1.56k|    data++;
  102|  1.56k|    size--;
  103|       |
  104|  1.56k|    key = xmlSecOpenSSLAppKeyLoadMemory((const xmlSecByte*)data, (xmlSecSize)size,
  105|  1.56k|                                        format, FUZZ_KEY_PWD, NULL, NULL);
  ------------------
  |  |   34|  1.56k|#define FUZZ_KEY_PWD "secret123"
  ------------------
  106|  1.56k|    if (key != NULL) {
  ------------------
  |  Branch (106:9): [True: 23, False: 1.54k]
  ------------------
  107|     23|#ifndef XMLSEC_NO_X509
  108|       |        /* The same bytes may also be a certificate; try to load it into
  109|       |         * the key as well. */
  110|     23|        (void)xmlSecOpenSSLAppKeyCertLoadMemory(key, (const xmlSecByte*)data,
  111|     23|                                                (xmlSecSize)size, format);
  112|     23|#endif /* XMLSEC_NO_X509 */
  113|     23|        xmlSecKeyDestroy(key);
  114|     23|    }
  115|       |
  116|  1.56k|    return 0;
  117|  1.56k|}
xmlsec_keyload_target.c:do_init:
   63|      1|static int do_init(void) {
   64|      1|    xmlInitParser();
   65|       |
   66|      1|    if (xmlSecInit() < 0) {
  ------------------
  |  Branch (66:9): [True: 0, False: 1]
  ------------------
   67|      0|        return -1;
   68|      0|    }
   69|      1|    if (xmlSecCheckVersion() != 1) {
  ------------------
  |  |  152|      1|    xmlSecCheckVersionExt(XMLSEC_VERSION_MAJOR, XMLSEC_VERSION_MINOR, XMLSEC_VERSION_SUBMINOR, xmlSecCheckVersionABICompatible)
  |  |  ------------------
  |  |  |  |   23|      1|#define XMLSEC_VERSION_MAJOR    1
  |  |  ------------------
  |  |                   xmlSecCheckVersionExt(XMLSEC_VERSION_MAJOR, XMLSEC_VERSION_MINOR, XMLSEC_VERSION_SUBMINOR, xmlSecCheckVersionABICompatible)
  |  |  ------------------
  |  |  |  |   28|      1|#define XMLSEC_VERSION_MINOR    3
  |  |  ------------------
  |  |                   xmlSecCheckVersionExt(XMLSEC_VERSION_MAJOR, XMLSEC_VERSION_MINOR, XMLSEC_VERSION_SUBMINOR, xmlSecCheckVersionABICompatible)
  |  |  ------------------
  |  |  |  |   33|      1|#define XMLSEC_VERSION_SUBMINOR 14
  |  |  ------------------
  ------------------
  |  Branch (69:9): [True: 0, False: 1]
  ------------------
   70|      0|        xmlSecShutdown();
   71|      0|        return -1;
   72|      0|    }
   73|      1|    if (xmlSecOpenSSLAppInit(NULL) < 0) {
  ------------------
  |  Branch (73:9): [True: 0, False: 1]
  ------------------
   74|      0|        xmlSecShutdown();
   75|      0|        return -1;
   76|      0|    }
   77|      1|    if (xmlSecOpenSSLInit() < 0) {
  ------------------
  |  Branch (77:9): [True: 0, False: 1]
  ------------------
   78|      0|        xmlSecOpenSSLAppShutdown();
   79|      0|        xmlSecShutdown();
   80|      0|        return -1;
   81|      0|    }
   82|       |
   83|      1|    xmlSetGenericErrorFunc(NULL, &ignore_error);
   84|      1|    xmlSecErrorsSetCallback(&ignore_xmlsec_error);
   85|      1|    return 0;
   86|      1|}
xmlsec_keyload_target.c:ignore_xmlsec_error:
   58|  3.47k|                                int reason, const char* msg) {
   59|  3.47k|    (void)file; (void)line; (void)func;
   60|  3.47k|    (void)errorObject; (void)errorSubject; (void)reason; (void)msg;
   61|  3.47k|}

app.c:xmlSecFuncToPtr_pem_password_cb:
  633|      1|    static void * xmlSecFuncToPtr_ ##func_type(func_type * func) { \
  634|      1|         union xmlSecFuncToPtrUnion_ ##func_type x; \
  635|      1|         x.func = func; \
  636|      1|         return (x.ptr); \
  637|      1|    }

xmlSecTransformBase64GetKlass:
  847|      1|xmlSecTransformBase64GetKlass(void) {
  848|      1|    return(&xmlSecBase64Klass);
  849|      1|}

xmlSecMemCleanse:
  922|     38|xmlSecMemCleanse(void* data, xmlSecSize size) {
  923|     38|    if((data == NULL) || (size == 0)) {
  ------------------
  |  Branch (923:8): [True: 0, False: 38]
  |  Branch (923:26): [True: 0, False: 38]
  ------------------
  924|      0|        return;
  925|      0|    }
  926|       |
  927|       |#if defined(XMLSEC_WINDOWS)
  928|       |    SecureZeroMemory(data, size);
  929|       |#elif defined(HAVE_MEMSET_EXPLICIT) && defined(HAVE_DECL_MEMSET_EXPLICIT) && (HAVE_DECL_MEMSET_EXPLICIT == 1)
  930|       |    memset_explicit(data, 0, size);
  931|       |#elif defined(HAVE_EXPLICIT_BZERO) && defined(HAVE_DECL_EXPLICIT_BZERO) && (HAVE_DECL_EXPLICIT_BZERO == 1)
  932|     38|    explicit_bzero(data, size);
  933|       |#elif defined(HAVE_MEMSET_S) && defined(HAVE_DECL_MEMSET_S) && (HAVE_DECL_MEMSET_S == 1)
  934|       |    (void)memset_s(data, size, 0, size);
  935|       |#else
  936|       |    /* Fallback: zero through a volatile pointer so the compiler cannot
  937|       |     * optimize the write away. */
  938|       |    {
  939|       |        volatile unsigned char* p = (volatile unsigned char*)data;
  940|       |        while(size > 0) {
  941|       |            *p++ = 0;
  942|       |            size--;
  943|       |        }
  944|       |    }
  945|       |#endif
  946|     38|}

xmlSecTransformInclC14NGetKlass:
  432|      1|xmlSecTransformInclC14NGetKlass(void) {
  433|      1|    return(&xmlSecTransformInclC14NKlass);
  434|      1|}
xmlSecTransformInclC14NWithCommentsGetKlass:
  477|      1|xmlSecTransformInclC14NWithCommentsGetKlass(void) {
  478|      1|    return(&xmlSecTransformInclC14NWithCommentsKlass);
  479|      1|}
xmlSecTransformInclC14N11GetKlass:
  520|      1|xmlSecTransformInclC14N11GetKlass(void) {
  521|      1|    return(&xmlSecTransformInclC14N11Klass);
  522|      1|}
xmlSecTransformInclC14N11WithCommentsGetKlass:
  563|      1|xmlSecTransformInclC14N11WithCommentsGetKlass(void) {
  564|      1|    return(&xmlSecTransformInclC14N11WithCommentsKlass);
  565|      1|}
xmlSecTransformExclC14NGetKlass:
  608|      1|xmlSecTransformExclC14NGetKlass(void) {
  609|      1|    return(&xmlSecTransformExclC14NKlass);
  610|      1|}
xmlSecTransformExclC14NWithCommentsGetKlass:
  652|      1|xmlSecTransformExclC14NWithCommentsGetKlass(void) {
  653|      1|    return(&xmlSecTransformExclC14NWithCommentsKlass);
  654|      1|}

xmlSecCryptoDLFunctionsRegisterKeyDataAndTransforms:
  687|      1|xmlSecCryptoDLFunctionsRegisterKeyDataAndTransforms(struct _xmlSecCryptoDLFunctions* functions) {
  688|      1|    xmlSecAssert2(functions != NULL, -1);
  ------------------
  |  |  461|      1|        do { \
  |  |  462|      1|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 1]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|      1|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 1]
  |  |  ------------------
  ------------------
  689|       |
  690|       |    /******************************************************************************
  691|       |     *
  692|       |     * Register keys
  693|       |     *
  694|       |    *****************************************************************************/
  695|       |
  696|       |    /* raw key values should not be used in production w/o understanding of the security risks */
  697|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Aes);                         /* keyDataAesGetKlass */
  ------------------
  |  |  668|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (668:8): [True: 1, False: 0]
  |  |  |  Branch (668:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  669|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  670|      0|        return(-1);                                                                                                                       \
  |  |  671|      0|    }                                                                                                                                     \
  ------------------
  698|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Camellia);                    /* keyDataCamelliaGetKlass */
  ------------------
  |  |  668|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (668:8): [True: 1, False: 0]
  |  |  |  Branch (668:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  669|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  670|      0|        return(-1);                                                                                                                       \
  |  |  671|      0|    }                                                                                                                                     \
  ------------------
  699|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(ChaCha20);                    /* keyDataChaCha20GetKlass */
  ------------------
  |  |  668|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (668:8): [True: 1, False: 0]
  |  |  |  Branch (668:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  669|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  670|      0|        return(-1);                                                                                                                       \
  |  |  671|      0|    }                                                                                                                                     \
  ------------------
  700|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(ConcatKdf);                   /* keyDataConcatKdfGetKlass */
  ------------------
  |  |  668|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (668:8): [True: 1, False: 0]
  |  |  |  Branch (668:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  669|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  670|      0|        return(-1);                                                                                                                       \
  |  |  671|      0|    }                                                                                                                                     \
  ------------------
  701|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Des);                         /* keyDataDesGetKlass */
  ------------------
  |  |  668|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (668:8): [True: 1, False: 0]
  |  |  |  Branch (668:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  669|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  670|      0|        return(-1);                                                                                                                       \
  |  |  671|      0|    }                                                                                                                                     \
  ------------------
  702|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Dh);                          /* keyDataDhGetKlass */
  ------------------
  |  |  668|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (668:8): [True: 1, False: 0]
  |  |  |  Branch (668:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  669|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  670|      0|        return(-1);                                                                                                                       \
  |  |  671|      0|    }                                                                                                                                     \
  ------------------
  703|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Dsa);                         /* keyDataDsaGetKlass */
  ------------------
  |  |  668|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (668:8): [True: 1, False: 0]
  |  |  |  Branch (668:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  669|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  670|      0|        return(-1);                                                                                                                       \
  |  |  671|      0|    }                                                                                                                                     \
  ------------------
  704|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Ec);                          /* keyDataEcGetKlass */
  ------------------
  |  |  668|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (668:8): [True: 1, False: 0]
  |  |  |  Branch (668:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  669|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  670|      0|        return(-1);                                                                                                                       \
  |  |  671|      0|    }                                                                                                                                     \
  ------------------
  705|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Gost2001);                    /* keyDataGost2001GetKlass */
  ------------------
  |  |  668|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (668:8): [True: 0, False: 1]
  |  |  |  Branch (668:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  669|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  670|      0|        return(-1);                                                                                                                       \
  |  |  671|      0|    }                                                                                                                                     \
  ------------------
  706|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(GostR3410_2012_256);          /* keyDataGostR3410_2012_256GetKlass */
  ------------------
  |  |  668|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (668:8): [True: 0, False: 1]
  |  |  |  Branch (668:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  669|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  670|      0|        return(-1);                                                                                                                       \
  |  |  671|      0|    }                                                                                                                                     \
  ------------------
  707|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(GostR3410_2012_512);          /* keyDataGostR3410_2012_512GetKlass */
  ------------------
  |  |  668|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (668:8): [True: 0, False: 1]
  |  |  |  Branch (668:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  669|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  670|      0|        return(-1);                                                                                                                       \
  |  |  671|      0|    }                                                                                                                                     \
  ------------------
  708|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Hmac);                        /* keyDataHmacGetKlass */
  ------------------
  |  |  668|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (668:8): [True: 1, False: 0]
  |  |  |  Branch (668:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  669|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  670|      0|        return(-1);                                                                                                                       \
  |  |  671|      0|    }                                                                                                                                     \
  ------------------
  709|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Hkdf);                        /* keyDataHkdfGetKlass */
  ------------------
  |  |  668|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (668:8): [True: 1, False: 0]
  |  |  |  Branch (668:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  669|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  670|      0|        return(-1);                                                                                                                       \
  |  |  671|      0|    }                                                                                                                                     \
  ------------------
  710|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(MLDSA);                       /* keyDataMLDSAGetKlass */
  ------------------
  |  |  668|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (668:8): [True: 0, False: 1]
  |  |  |  Branch (668:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  669|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  670|      0|        return(-1);                                                                                                                       \
  |  |  671|      0|    }                                                                                                                                     \
  ------------------
  711|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(MLKEM);                       /* keyDataMLKEMGetKlass */
  ------------------
  |  |  668|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (668:8): [True: 0, False: 1]
  |  |  |  Branch (668:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  669|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  670|      0|        return(-1);                                                                                                                       \
  |  |  671|      0|    }                                                                                                                                     \
  ------------------
  712|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Pbkdf2);                      /* keyDataPbkdf2GetKlass */
  ------------------
  |  |  668|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (668:8): [True: 1, False: 0]
  |  |  |  Branch (668:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  669|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  670|      0|        return(-1);                                                                                                                       \
  |  |  671|      0|    }                                                                                                                                     \
  ------------------
  713|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Rsa);                         /* keyDataRsaGetKlass */
  ------------------
  |  |  668|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (668:8): [True: 1, False: 0]
  |  |  |  Branch (668:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  669|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  670|      0|        return(-1);                                                                                                                       \
  |  |  671|      0|    }                                                                                                                                     \
  ------------------
  714|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(SLHDSA);                      /* keyDataSLHDSAGetKlass */
  ------------------
  |  |  668|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (668:8): [True: 0, False: 1]
  |  |  |  Branch (668:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  669|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  670|      0|        return(-1);                                                                                                                       \
  |  |  671|      0|    }                                                                                                                                     \
  ------------------
  715|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(EdDSA);                       /* keyDataEdDSAGetKlass */
  ------------------
  |  |  668|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (668:8): [True: 0, False: 1]
  |  |  |  Branch (668:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  669|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  670|      0|        return(-1);                                                                                                                       \
  |  |  671|      0|    }                                                                                                                                     \
  ------------------
  716|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Xdh);                         /* keyDataXdhGetKlass */
  ------------------
  |  |  668|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (668:8): [True: 1, False: 0]
  |  |  |  Branch (668:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  669|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  670|      0|        return(-1);                                                                                                                       \
  |  |  671|      0|    }                                                                                                                                     \
  ------------------
  717|       |
  718|       |    /* DEREncodedKeyValue key data should not be used in production w/o understanding of the security risks */
  719|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(DEREncodedKeyValue);          /* keyDataDEREncodedKeyValueGetKlass */
  ------------------
  |  |  668|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (668:8): [True: 1, False: 0]
  |  |  |  Branch (668:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  669|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  670|      0|        return(-1);                                                                                                                       \
  |  |  671|      0|    }                                                                                                                                     \
  ------------------
  720|       |
  721|      1|    XMLSEC_REGISTER_KEY_DATA(X509);                                 /* keyDataX509GetKlass */
  ------------------
  |  |  662|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegister(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (662:8): [True: 1, False: 0]
  |  |  |  Branch (662:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  663|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  664|      0|        return(-1);                                                                                                                       \
  |  |  665|      0|    }                                                                                                                                     \
  ------------------
  722|      1|    XMLSEC_REGISTER_KEY_DATA(RawX509Cert);                          /* keyDataRawX509CertGetKlass */
  ------------------
  |  |  662|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegister(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (662:8): [True: 1, False: 0]
  |  |  |  Branch (662:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  663|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  664|      0|        return(-1);                                                                                                                       \
  |  |  665|      0|    }                                                                                                                                     \
  ------------------
  723|       |
  724|       |
  725|       |    /******************************************************************************
  726|       |     *
  727|       |     * Register transforms
  728|       |     *
  729|       |    *****************************************************************************/
  730|      1|    XMLSEC_REGISTER_TRANSFORM(Aes128Cbc);                           /* transformAes128CbcGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  731|      1|    XMLSEC_REGISTER_TRANSFORM(Aes192Cbc);                           /* transformAes192CbcGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  732|      1|    XMLSEC_REGISTER_TRANSFORM(Aes256Cbc);                           /* transformAes256CbcGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  733|       |
  734|      1|    XMLSEC_REGISTER_TRANSFORM(Aes128Gcm);                           /* transformAes128GcmGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  735|      1|    XMLSEC_REGISTER_TRANSFORM(Aes192Gcm);                           /* transformAes192GcmGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  736|      1|    XMLSEC_REGISTER_TRANSFORM(Aes256Gcm);                           /* transformAes256GcmGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  737|       |
  738|      1|    XMLSEC_REGISTER_TRANSFORM(ConcatKdf);                           /* transformConcatKdfGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  739|       |
  740|      1|    XMLSEC_REGISTER_TRANSFORM(KWAes128);                            /* transformKWAes128GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  741|      1|    XMLSEC_REGISTER_TRANSFORM(KWAes192);                            /* transformKWAes192GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  742|      1|    XMLSEC_REGISTER_TRANSFORM(KWAes256);                            /* transformKWAes256GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  743|       |
  744|      1|    XMLSEC_REGISTER_TRANSFORM(Camellia128Cbc);                      /* transformCamellia128CbcGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  745|      1|    XMLSEC_REGISTER_TRANSFORM(Camellia192Cbc);                      /* transformCamellia192CbcGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  746|      1|    XMLSEC_REGISTER_TRANSFORM(Camellia256Cbc);                      /* transformCamellia256CbcGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  747|       |
  748|      1|    XMLSEC_REGISTER_TRANSFORM(KWCamellia128);                       /* transformKWCamellia128GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  749|      1|    XMLSEC_REGISTER_TRANSFORM(KWCamellia192);                       /* transformKWCamellia192GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  750|      1|    XMLSEC_REGISTER_TRANSFORM(KWCamellia256);                       /* transformKWCamellia256GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  751|       |
  752|      1|    XMLSEC_REGISTER_TRANSFORM(ChaCha20);                            /* transformChaCha20GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  753|      1|    XMLSEC_REGISTER_TRANSFORM(ChaCha20Poly1305);                    /* transformChaCha20Poly1305GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  754|       |
  755|      1|    XMLSEC_REGISTER_TRANSFORM(Des3Cbc);                             /* transformDes3CbcGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  756|       |
  757|      1|    XMLSEC_REGISTER_TRANSFORM(KWDes3);                              /* transformKWDes3GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  758|       |
  759|      1|    XMLSEC_REGISTER_TRANSFORM(Gost2001GostR3411_94);                /* transformGost2001GostR3411_94GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  760|      1|    XMLSEC_REGISTER_TRANSFORM(GostR3410_2012GostR3411_2012_256);    /* transformGostR3410_2012GostR3411_2012_256GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  761|      1|    XMLSEC_REGISTER_TRANSFORM(GostR3410_2012GostR3411_2012_512);    /* transformGostR3410_2012GostR3411_2012_512GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  762|       |
  763|      1|    XMLSEC_REGISTER_TRANSFORM(GostR3411_94);                        /* transformGostR3411_94GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  764|      1|    XMLSEC_REGISTER_TRANSFORM(GostR3411_2012_256);                  /* transformGostR3411_2012_256GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  765|      1|    XMLSEC_REGISTER_TRANSFORM(GostR3411_2012_512);                  /* transformGostR3411_2012_512GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  766|       |
  767|       |
  768|      1|    XMLSEC_REGISTER_TRANSFORM(DhEs);                                /* transformDhEsGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  769|       |
  770|      1|    XMLSEC_REGISTER_TRANSFORM(DsaSha1);                             /* transformDsaSha1GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  771|      1|    XMLSEC_REGISTER_TRANSFORM(DsaSha256);                           /* transformDsaSha256GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  772|       |
  773|      1|    XMLSEC_REGISTER_TRANSFORM(Ecdh);                                /* transformEcdhGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  774|       |
  775|      1|    XMLSEC_REGISTER_TRANSFORM(X25519);                              /* transformX25519GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  776|      1|    XMLSEC_REGISTER_TRANSFORM(X448);                                /* transformX448GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  777|       |
  778|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaRipemd160);                      /* transformEcdsaRipemd160GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  779|       |
  780|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha1);                           /* transformEcdsaSha1GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  781|       |
  782|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha224);                         /* transformEcdsaSha224GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  783|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha256);                         /* transformEcdsaSha256GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  784|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha384);                         /* transformEcdsaSha384GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  785|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha512);                         /* transformEcdsaSha512GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  786|       |
  787|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha3_224);                       /* transformEcdsaSha3_224GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  788|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha3_256);                       /* transformEcdsaSha3_256GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  789|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha3_384);                       /* transformEcdsaSha3_384GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  790|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha3_512);                       /* transformEcdsaSha3_512GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  791|       |
  792|      1|    XMLSEC_REGISTER_TRANSFORM(HmacMd5);                             /* transformHmacMd5GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  793|       |
  794|      1|    XMLSEC_REGISTER_TRANSFORM(HmacRipemd160);                       /* transformHmacRipemd160GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  795|       |
  796|      1|    XMLSEC_REGISTER_TRANSFORM(HmacSha1);                            /* transformHmacSha1GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  797|       |
  798|      1|    XMLSEC_REGISTER_TRANSFORM(HmacSha224);                          /* transformHmacSha224GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  799|      1|    XMLSEC_REGISTER_TRANSFORM(HmacSha256);                          /* transformHmacSha256GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  800|      1|    XMLSEC_REGISTER_TRANSFORM(HmacSha384);                          /* transformHmacSha384GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  801|      1|    XMLSEC_REGISTER_TRANSFORM(HmacSha512);                          /* transformHmacSha512GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  802|       |
  803|      1|    XMLSEC_REGISTER_TRANSFORM(Md5);                                 /* transformMd5GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  804|       |
  805|      1|    XMLSEC_REGISTER_TRANSFORM(MLDSA44);                             /* transformMLDSA44GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  806|      1|    XMLSEC_REGISTER_TRANSFORM(MLDSA65);                             /* transformMLDSA65GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  807|      1|    XMLSEC_REGISTER_TRANSFORM(MLDSA87);                             /* transformMLDSA87GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  808|       |
  809|      1|    XMLSEC_REGISTER_TRANSFORM(MLKEM512);                            /* transformMLKEM512GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  810|      1|    XMLSEC_REGISTER_TRANSFORM(MLKEM768);                            /* transformMLKEM768GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  811|      1|    XMLSEC_REGISTER_TRANSFORM(MLKEM1024);                           /* transformMLKEM1024GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  812|       |
  813|      1|    XMLSEC_REGISTER_TRANSFORM(Hkdf);                                /* transformHkdfGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  814|      1|    XMLSEC_REGISTER_TRANSFORM(Pbkdf2);                              /* transformPbkdf2GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  815|       |
  816|      1|    XMLSEC_REGISTER_TRANSFORM(Ripemd160);                           /* transformRipemd160GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  817|       |
  818|      1|    XMLSEC_REGISTER_TRANSFORM(RsaMd5);                              /* transformRsaMd5GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  819|       |
  820|      1|    XMLSEC_REGISTER_TRANSFORM(RsaRipemd160);                        /* transformRsaRipemd160GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  821|       |
  822|      1|    XMLSEC_REGISTER_TRANSFORM(RsaSha1);                             /* transformRsaSha1GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  823|       |
  824|      1|    XMLSEC_REGISTER_TRANSFORM(RsaSha224);                           /* transformRsaSha224GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  825|      1|    XMLSEC_REGISTER_TRANSFORM(RsaSha256);                           /* transformRsaSha256GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  826|      1|    XMLSEC_REGISTER_TRANSFORM(RsaSha384);                           /* transformRsaSha384GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  827|      1|    XMLSEC_REGISTER_TRANSFORM(RsaSha512);                           /* transformRsaSha512GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  828|       |
  829|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha1);                          /* transformRsaPssSha1GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  830|       |
  831|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha224);                        /* transformRsaPssSha224GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  832|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha256);                        /* transformRsaPssSha256GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  833|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha384);                        /* transformRsaPssSha384GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  834|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha512);                        /* transformRsaPssSha512GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  835|       |
  836|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha3_224);                      /* transformRsaPssSha3_224GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  837|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha3_256);                      /* transformRsaPssSha3_256GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  838|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha3_384);                      /* transformRsaPssSha3_384GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  839|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha3_512);                      /* transformRsaPssSha3_512GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  840|       |
  841|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPkcs1);                            /* transformRsaPkcs1GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  842|       |
  843|      1|    XMLSEC_REGISTER_TRANSFORM(RsaOaep);                             /* transformRsaOaepGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  844|      1|    XMLSEC_REGISTER_TRANSFORM(RsaOaepEnc11);                        /* transformRsaOaepEnc11GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  845|       |
  846|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_128f);                    /* transformSLHDSA_SHA2_128fGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  847|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_128s);                    /* transformSLHDSA_SHA2_128sGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  848|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_192f);                    /* transformSLHDSA_SHA2_192fGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  849|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_192s);                    /* transformSLHDSA_SHA2_192sGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  850|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_256f);                    /* transformSLHDSA_SHA2_256fGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  851|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_256s);                    /* transformSLHDSA_SHA2_256sGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  852|       |
  853|      1|    XMLSEC_REGISTER_TRANSFORM(EdDSAEd25519);                        /* transformEdDSAEd25519GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  854|      1|    XMLSEC_REGISTER_TRANSFORM(EdDSAEd25519ctx);                     /* transformEdDSAEd25519ctxGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  855|      1|    XMLSEC_REGISTER_TRANSFORM(EdDSAEd25519ph);                      /* transformEdDSAEd25519phGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  856|      1|    XMLSEC_REGISTER_TRANSFORM(EdDSAEd448);                          /* transformEdDSAEd448GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  857|      1|    XMLSEC_REGISTER_TRANSFORM(EdDSAEd448ph);                        /* transformEdDSAEd448phGetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 0, False: 1]
  |  |  |  Branch (674:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  858|       |
  859|      1|    XMLSEC_REGISTER_TRANSFORM(Sha1);                                /* transformSha1GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  860|       |
  861|      1|    XMLSEC_REGISTER_TRANSFORM(Sha224);                              /* transformSha224GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  862|      1|    XMLSEC_REGISTER_TRANSFORM(Sha256);                              /* transformSha256GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  863|      1|    XMLSEC_REGISTER_TRANSFORM(Sha384);                              /* transformSha384GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  864|      1|    XMLSEC_REGISTER_TRANSFORM(Sha512);                              /* transformSha512GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  865|       |
  866|      1|    XMLSEC_REGISTER_TRANSFORM(Sha3_224);                            /* transformSha3_224GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  867|      1|    XMLSEC_REGISTER_TRANSFORM(Sha3_256);                            /* transformSha3_256GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  868|      1|    XMLSEC_REGISTER_TRANSFORM(Sha3_384);                            /* transformSha3_384GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  869|      1|    XMLSEC_REGISTER_TRANSFORM(Sha3_512);                            /* transformSha3_512GetKlass */
  ------------------
  |  |  674|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (674:8): [True: 1, False: 0]
  |  |  |  Branch (674:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  675|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  676|      0|        return(-1);                                                                                                                          \
  |  |  677|      0|    }                                                                                                                                        \
  ------------------
  870|       |
  871|       |    /* done */
  872|      1|    return(0);
  873|      1|}

xmlSecTransformEnvelopedGetKlass:
   94|      1|xmlSecTransformEnvelopedGetKlass(void) {
   95|      1|    return(&xmlSecTransformEnvelopedKlass);
   96|      1|}

xmlSecErrorsInit:
  116|      1|xmlSecErrorsInit(void) {
  117|      1|}
xmlSecErrorsSetCallback:
  137|      1|xmlSecErrorsSetCallback(xmlSecErrorsCallback callback) {
  138|      1|    xmlSecErrorsUserClbk = callback;
  139|      1|    xmlSecErrorsClbkIsSetByUser = 1;
  140|      1|}
xmlSecErrorsSetSystemCallback:
  164|      1|xmlSecErrorsSetSystemCallback(xmlSecErrorsCallback callback) {
  165|      1|    xmlSecErrorsSystemClbk = callback;
  166|      1|}
xmlSecError:
  268|  3.47k|) {
  269|  3.47k|    xmlSecErrorsCallback callback = (xmlSecErrorsClbkIsSetByUser != 0) ? xmlSecErrorsUserClbk : xmlSecErrorsSystemClbk;
  ------------------
  |  Branch (269:37): [True: 3.47k, False: 0]
  ------------------
  270|  3.47k|    if(callback != NULL) {
  ------------------
  |  Branch (270:8): [True: 3.47k, False: 0]
  ------------------
  271|  3.47k|        xmlChar error_msg[XMLSEC_ERRORS_BUFFER_SIZE];
  272|  3.47k|        int ret;
  273|       |
  274|  3.47k|        if(msg != NULL) {
  ------------------
  |  Branch (274:12): [True: 3.47k, False: 0]
  ------------------
  275|       |            /* Make coverity + C23 happy */
  276|  3.47k|#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
  277|  3.47k|            va_list va = {0};
  278|       |#else /* defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L */
  279|       |            va_list va;
  280|       |#endif /* defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L */
  281|       |
  282|  3.47k|            va_start(va, msg);
  283|  3.47k|            ret = xmlStrVPrintf(error_msg, sizeof(error_msg), msg, va);
  284|  3.47k|            if((ret < 0) || (ret >= (int)sizeof(error_msg))) {
  ------------------
  |  Branch (284:16): [True: 0, False: 3.47k]
  |  Branch (284:29): [True: 0, False: 3.47k]
  ------------------
  285|       |                /* Can't really report an error from an error callback */
  286|      0|                memcpy(error_msg, fatal_error, sizeof(fatal_error));
  287|      0|            }
  288|  3.47k|            error_msg[sizeof(error_msg) - 1] = '\0'; /* just in case */
  289|  3.47k|            va_end(va);
  290|  3.47k|        } else {
  291|      0|            error_msg[0] = '\0';
  292|      0|        }
  293|  3.47k|        callback(file, line, func, errorObject, errorSubject, reason, (char*)error_msg);
  294|  3.47k|    }
  295|  3.47k|}

xmlSecIOInit:
  156|      1|xmlSecIOInit(void) {
  157|      1|    int ret;
  158|       |
  159|      1|    ret = xmlSecPtrListInitialize(&xmlSecAllIOCallbacks, xmlSecIOCallbackPtrListId);
  ------------------
  |  |  111|      1|#define xmlSecIOCallbackPtrListId       xmlSecIOCallbackPtrListGetKlass()
  ------------------
  160|      1|    if(ret < 0) {
  ------------------
  |  Branch (160:8): [True: 0, False: 1]
  ------------------
  161|      0|        xmlSecInternalError("xmlSecPtrListInitialize", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  162|      0|        return(-1);
  163|      0|    }
  164|       |
  165|       |#ifndef XMLSEC_NO_FTP
  166|       |    xmlNanoFTPInit();
  167|       |#endif /* XMLSEC_NO_FTP */
  168|       |
  169|       |#ifndef XMLSEC_NO_HTTP
  170|       |    xmlNanoHTTPInit();
  171|       |#endif /* XMLSEC_NO_HTTP */
  172|       |
  173|      1|    ret = xmlSecIORegisterDefaultCallbacks();
  174|      1|    if(ret < 0) {
  ------------------
  |  Branch (174:8): [True: 0, False: 1]
  ------------------
  175|      0|        xmlSecInternalError("xmlSecIORegisterDefaultCallbacks", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  176|       |        /* roll back the partially-initialized state (callback list, nanoFTP/nanoHTTP) */
  177|      0|        xmlSecIOShutdown();
  178|      0|        return(-1);
  179|      0|    }
  180|       |
  181|      1|    return(0);
  182|      1|}
xmlSecIORegisterCallbacks:
  232|      1|        xmlInputCloseCallback closeFunc) {
  233|      1|    xmlSecIOCallbackPtr callbacks;
  234|      1|    int ret;
  235|       |
  236|      1|    xmlSecAssert2(matchFunc != NULL, -1);
  ------------------
  |  |  461|      1|        do { \
  |  |  462|      1|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 1]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|      1|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 1]
  |  |  ------------------
  ------------------
  237|       |
  238|      1|    callbacks = xmlSecIOCallbackCreate(matchFunc, openFunc, readFunc, closeFunc);
  239|      1|    if(callbacks == NULL) {
  ------------------
  |  Branch (239:8): [True: 0, False: 1]
  ------------------
  240|      0|        xmlSecInternalError("xmlSecIOCallbackCreate", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  241|      0|        return(-1);
  242|      0|    }
  243|       |
  244|      1|    ret = xmlSecPtrListAdd(&xmlSecAllIOCallbacks, callbacks);
  245|      1|    if(ret < 0) {
  ------------------
  |  Branch (245:8): [True: 0, False: 1]
  ------------------
  246|      0|        xmlSecInternalError("xmlSecPtrListAdd", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  247|      0|        xmlSecIOCallbackDestroy(callbacks);
  248|      0|        return(-1);
  249|      0|    }
  250|      1|    return(0);
  251|      1|}
xmlSecIORegisterDefaultCallbacks:
  424|      1|xmlSecIORegisterDefaultCallbacks(void) {
  425|      1|    int ret = 0;
  426|       |
  427|      1|#ifndef XMLSEC_NO_FILES
  428|       |    /* Callbacks added later are picked up first */
  429|      1|    ret = xmlSecIORegisterCallbacks(
  430|      1|        xmlSecIOFileMatch,
  431|      1|        xmlSecIOFileOpen,
  432|      1|        xmlSecIOFileRead,
  433|      1|        xmlSecIOFileClose
  434|      1|    );
  435|      1|    if(ret < 0) {
  ------------------
  |  Branch (435:8): [True: 0, False: 1]
  ------------------
  436|      0|        xmlSecInternalError("xmlSecIORegisterCallbacks(file)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  437|      0|        return(-1);
  438|      0|    }
  439|      1|#endif /* XMLSEC_NO_FILES */
  440|       |
  441|       |#ifndef XMLSEC_NO_HTTP
  442|       |    ret = xmlSecIORegisterCallbacks(xmlIOHTTPMatch, xmlIOHTTPOpen,
  443|       |                              xmlIOHTTPRead, xmlIOHTTPClose);
  444|       |    if(ret < 0) {
  445|       |        xmlSecInternalError("xmlSecIORegisterCallbacks(http)", NULL);
  446|       |        return(-1);
  447|       |    }
  448|       |#endif /* XMLSEC_NO_HTTP */
  449|       |
  450|       |#ifndef XMLSEC_NO_FTP
  451|       |    ret = xmlSecIORegisterCallbacks(xmlIOFTPMatch, xmlIOFTPOpen,
  452|       |                              xmlIOFTPRead, xmlIOFTPClose);
  453|       |    if(ret < 0) {
  454|       |        xmlSecInternalError("xmlSecIORegisterCallbacks(ftp)", NULL);
  455|       |        return(-1);
  456|       |    }
  457|       |#endif /* XMLSEC_NO_FTP */
  458|       |
  459|       |    /* ret can be unused here if all of the above is disabled */
  460|      1|    XMLSEC_UNREFERENCED(ret);
  ------------------
  |  |  564|      1|#define XMLSEC_UNREFERENCED(param)   ((void)(param))
  ------------------
  461|       |
  462|       |    /* done */
  463|      1|    return(0);
  464|      1|}
io.c:xmlSecIOCallbackPtrListGetKlass:
  121|      1|xmlSecIOCallbackPtrListGetKlass(void) {
  122|      1|    return(&xmlSecIOCallbackPtrListKlass);
  123|      1|}
io.c:xmlSecIOCallbackCreate:
   69|      1|                       xmlInputReadCallback readFunc, xmlInputCloseCallback closeFunc) {
   70|      1|    xmlSecIOCallbackPtr callbacks;
   71|       |
   72|      1|    xmlSecAssert2(matchFunc != NULL, NULL);
  ------------------
  |  |  461|      1|        do { \
  |  |  462|      1|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 1]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|      1|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 1]
  |  |  ------------------
  ------------------
   73|       |
   74|       |    /* Allocate a new xmlSecIOCallback and fill the fields. */
   75|      1|    callbacks = (xmlSecIOCallbackPtr)xmlMalloc(sizeof(xmlSecIOCallback));
   76|      1|    if(callbacks == NULL) {
  ------------------
  |  Branch (76:8): [True: 0, False: 1]
  ------------------
   77|      0|        xmlSecMallocError(sizeof(xmlSecIOCallback), NULL);
  ------------------
  |  |  116|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  117|      0|                    (const char*)(errorObject),             \
  |  |  118|      0|                    "xmlMalloc",                            \
  |  |  119|      0|                    XMLSEC_ERRORS_R_MALLOC_FAILED,          \
  |  |  ------------------
  |  |  |  |   38|      0|#define XMLSEC_ERRORS_R_MALLOC_FAILED                   2
  |  |  ------------------
  |  |  120|      0|                    "size=" XMLSEC_SIZE_T_FMT, (size_t)(allocSize) \
  |  |  ------------------
  |  |  |  |   75|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  ------------------
  |  |  121|      0|        )
  ------------------
   78|      0|        return(NULL);
   79|      0|    }
   80|      1|    memset(callbacks, 0, sizeof(xmlSecIOCallback));
   81|       |
   82|      1|    callbacks->matchcallback = matchFunc;
   83|      1|    callbacks->opencallback  = openFunc;
   84|      1|    callbacks->readcallback  = readFunc;
   85|      1|    callbacks->closecallback = closeFunc;
   86|       |
   87|      1|    return(callbacks);
   88|      1|}

xmlSecKeyDataNameGetKlass:
  698|      1|xmlSecKeyDataNameGetKlass(void) {
  699|      1|    return(&xmlSecKeyDataNameKlass);
  700|      1|}
xmlSecKeyDataValueGetKlass:
  879|      1|xmlSecKeyDataValueGetKlass(void) {
  880|      1|    return(&xmlSecKeyDataValueKlass);
  881|      1|}
xmlSecKeyDataRetrievalMethodGetKlass:
 1094|      1|xmlSecKeyDataRetrievalMethodGetKlass(void) {
 1095|      1|    return(&xmlSecKeyDataRetrievalMethodKlass);
 1096|      1|}
xmlSecKeyDataKeyInfoReferenceGetKlass:
 1400|      1|xmlSecKeyDataKeyInfoReferenceGetKlass(void) {
 1401|      1|    return(&xmlSecKeyDataKeyInfoReferenceKlass);
 1402|      1|}
xmlSecKeyDataEncryptedKeyGetKlass:
 1618|      1|xmlSecKeyDataEncryptedKeyGetKlass(void) {
 1619|      1|    return(&xmlSecKeyDataEncryptedKeyKlass);
 1620|      1|}
xmlSecKeyDataDerivedKeyGetKlass:
 1774|      1|xmlSecKeyDataDerivedKeyGetKlass(void) {
 1775|      1|    return(&xmlSecKeyDataDerivedKeyKlass);
 1776|      1|}
xmlSecKeyDataAgreementMethodGetKlass:
 1930|      1|xmlSecKeyDataAgreementMethodGetKlass(void) {
 1931|      1|    return(&xmlSecKeyDataAgreementMethodKlass);
 1932|      1|}

xmlSecKeyCreate:
  499|     38|xmlSecKeyCreate(void)  {
  500|     38|    xmlSecKeyPtr key;
  501|       |
  502|       |    /* Allocate a new xmlSecKey and fill the fields. */
  503|     38|    key = (xmlSecKeyPtr)xmlMalloc(sizeof(xmlSecKey));
  504|     38|    if(key == NULL) {
  ------------------
  |  Branch (504:8): [True: 0, False: 38]
  ------------------
  505|      0|        xmlSecMallocError(sizeof(xmlSecKey), NULL);
  ------------------
  |  |  116|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  117|      0|                    (const char*)(errorObject),             \
  |  |  118|      0|                    "xmlMalloc",                            \
  |  |  119|      0|                    XMLSEC_ERRORS_R_MALLOC_FAILED,          \
  |  |  ------------------
  |  |  |  |   38|      0|#define XMLSEC_ERRORS_R_MALLOC_FAILED                   2
  |  |  ------------------
  |  |  120|      0|                    "size=" XMLSEC_SIZE_T_FMT, (size_t)(allocSize) \
  |  |  ------------------
  |  |  |  |   75|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  ------------------
  |  |  121|      0|        )
  ------------------
  506|      0|        return(NULL);
  507|      0|    }
  508|     38|    memset(key, 0, sizeof(xmlSecKey));
  509|     38|    key->usage = xmlSecKeyUsageAny;
  ------------------
  |  |   85|     38|#define xmlSecKeyUsageAny               0xFFFFFFFF
  ------------------
  510|     38|    return(key);
  511|     38|}
xmlSecKeyEmpty:
  518|     38|xmlSecKeyEmpty(xmlSecKeyPtr key) {
  519|     38|    xmlSecAssert(key != NULL);
  ------------------
  |  |  444|     38|        do { \
  |  |  445|     38|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (445:16): [True: 0, False: 38]
  |  |  ------------------
  |  |  446|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  447|      0|                            NULL, \
  |  |  448|      0|                            #p, \
  |  |  449|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  450|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  451|      0|                return; \
  |  |  452|      0|            } \
  |  |  453|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (453:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  520|       |
  521|     38|    if(key->value != NULL) {
  ------------------
  |  Branch (521:8): [True: 38, False: 0]
  ------------------
  522|     38|        xmlSecKeyDataDestroy(key->value);
  523|     38|    }
  524|     38|    if(key->name != NULL) {
  ------------------
  |  Branch (524:8): [True: 0, False: 38]
  ------------------
  525|      0|        xmlFree(key->name);
  526|      0|    }
  527|     38|    if(key->dataList != NULL) {
  ------------------
  |  Branch (527:8): [True: 0, False: 38]
  ------------------
  528|      0|        xmlSecPtrListDestroy(key->dataList);
  529|      0|    }
  530|       |
  531|     38|    memset(key, 0, sizeof(xmlSecKey));
  532|     38|}
xmlSecKeyDestroy:
  540|     38|xmlSecKeyDestroy(xmlSecKeyPtr key) {
  541|     38|    xmlSecAssert(key != NULL);
  ------------------
  |  |  444|     38|        do { \
  |  |  445|     38|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (445:16): [True: 0, False: 38]
  |  |  ------------------
  |  |  446|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  447|      0|                            NULL, \
  |  |  448|      0|                            #p, \
  |  |  449|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  450|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  451|      0|                return; \
  |  |  452|      0|            } \
  |  |  453|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (453:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  542|       |
  543|     38|    xmlSecKeyEmpty(key);
  544|     38|    xmlFree(key);
  545|     38|}
xmlSecKeySetValue:
  794|     38|xmlSecKeySetValue(xmlSecKeyPtr key, xmlSecKeyDataPtr value) {
  795|     38|    xmlSecAssert2(key != NULL, -1);
  ------------------
  |  |  461|     38|        do { \
  |  |  462|     38|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 38]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  796|     38|    xmlSecAssert2((value == NULL) || xmlSecKeyDataIsValid(value), -1);
  ------------------
  |  |  461|     38|        do { \
  |  |  462|    380|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 0, False: 38]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  797|       |
  798|       |    /* do nothing if the same value is set again */
  799|     38|    if(value == key->value) {
  ------------------
  |  Branch (799:8): [True: 0, False: 38]
  ------------------
  800|      0|        return(0);
  801|      0|    }
  802|       |
  803|     38|    if(key->value != NULL) {
  ------------------
  |  Branch (803:8): [True: 0, False: 38]
  ------------------
  804|      0|        xmlSecKeyDataDestroy(key->value);
  805|      0|        key->value = NULL;
  806|      0|    }
  807|     38|    key->value = value;
  808|       |
  809|     38|    return(0);
  810|     38|}

xmlSecKeyDataIdsInit:
   65|      1|xmlSecKeyDataIdsInit(void) {
   66|      1|    int ret;
   67|       |
   68|      1|    ret = xmlSecPtrListInitialize(&xmlSecAllKeyDataIds, xmlSecKeyDataIdListId);
  ------------------
  |  |  542|      1|#define xmlSecKeyDataIdListId   xmlSecKeyDataIdListGetKlass()
  ------------------
   69|      1|    if(ret < 0) {
  ------------------
  |  Branch (69:8): [True: 0, False: 1]
  ------------------
   70|      0|        xmlSecInternalError("xmlSecPtrListInitialize(&xmlSecAllKeyDataIds)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
   71|      0|        return(-1);
   72|      0|    }
   73|       |
   74|      1|    ret = xmlSecPtrListInitialize(&xmlSecEnabledKeyDataIds, xmlSecKeyDataIdListId);
  ------------------
  |  |  542|      1|#define xmlSecKeyDataIdListId   xmlSecKeyDataIdListGetKlass()
  ------------------
   75|      1|    if(ret < 0) {
  ------------------
  |  Branch (75:8): [True: 0, False: 1]
  ------------------
   76|      0|        xmlSecInternalError("xmlSecPtrListInitialize(&xmlSecEnabledKeyDataIds)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
   77|      0|        return(-1);
   78|      0|    }
   79|       |
   80|      1|    ret = xmlSecKeyDataIdsRegisterDefault();
   81|      1|    if(ret < 0) {
  ------------------
  |  Branch (81:8): [True: 0, False: 1]
  ------------------
   82|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDefault", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
   83|      0|        return(-1);
   84|      0|    }
   85|       |
   86|      1|    return(0);
   87|      1|}
xmlSecKeyDataIdsRegister:
  112|      8|xmlSecKeyDataIdsRegister(xmlSecKeyDataId id) {
  113|      8|    int ret;
  114|       |
  115|      8|    xmlSecAssert2(id != xmlSecKeyDataIdUnknown, -1);
  ------------------
  |  |  461|      8|        do { \
  |  |  462|      8|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 8]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|      8|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 8]
  |  |  ------------------
  ------------------
  116|       |
  117|      8|    ret = xmlSecPtrListAdd(&xmlSecAllKeyDataIds, (xmlSecPtr)id);
  118|      8|    if(ret < 0) {
  ------------------
  |  Branch (118:8): [True: 0, False: 8]
  ------------------
  119|      0|        xmlSecInternalError("xmlSecPtrListAdd(&xmlSecAllKeyDataIds)", xmlSecKeyDataKlassGetName(id));
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  120|      0|        return(-1);
  121|      0|    }
  122|       |
  123|      8|    ret = xmlSecPtrListAdd(&xmlSecEnabledKeyDataIds, (xmlSecPtr)id);
  124|      8|    if(ret < 0) {
  ------------------
  |  Branch (124:8): [True: 0, False: 8]
  ------------------
  125|      0|        xmlSecInternalError("xmlSecPtrListAdd(&xmlSecEnabledKeyDataIds)", xmlSecKeyDataKlassGetName(id));
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  126|      0|        return(-1);
  127|      0|    }
  128|       |
  129|      8|    return(0);
  130|      8|}
xmlSecKeyDataIdsRegisterDisabled:
  140|     15|xmlSecKeyDataIdsRegisterDisabled(xmlSecKeyDataId id) {
  141|     15|    int ret;
  142|       |
  143|     15|    xmlSecAssert2(id != xmlSecKeyDataIdUnknown, -1);
  ------------------
  |  |  461|     15|        do { \
  |  |  462|     15|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 15]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     15|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 15]
  |  |  ------------------
  ------------------
  144|       |
  145|     15|    ret = xmlSecPtrListAdd(&xmlSecAllKeyDataIds, (xmlSecPtr)id);
  146|     15|    if(ret < 0) {
  ------------------
  |  Branch (146:8): [True: 0, False: 15]
  ------------------
  147|      0|        xmlSecInternalError("xmlSecPtrListAdd(&xmlSecAllKeyDataIds)", xmlSecKeyDataKlassGetName(id));
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  148|      0|        return(-1);
  149|      0|    }
  150|       |
  151|     15|    return(0);
  152|     15|}
xmlSecKeyDataIdsRegisterDefault:
  163|      1|xmlSecKeyDataIdsRegisterDefault(void) {
  164|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataNameId) < 0) {
  ------------------
  |  |  237|      1|#define xmlSecKeyDataNameId             xmlSecKeyDataNameGetKlass()
  ------------------
  |  Branch (164:8): [True: 0, False: 1]
  ------------------
  165|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister(xmlSecKeyDataNameId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  166|      0|        return(-1);
  167|      0|    }
  168|       |
  169|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataRetrievalMethodId) < 0) {
  ------------------
  |  |  249|      1|#define xmlSecKeyDataRetrievalMethodId  xmlSecKeyDataRetrievalMethodGetKlass()
  ------------------
  |  Branch (169:8): [True: 0, False: 1]
  ------------------
  170|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister(xmlSecKeyDataRetrievalMethodId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  171|      0|        return(-1);
  172|      0|    }
  173|       |
  174|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataKeyInfoReferenceId) < 0) {
  ------------------
  |  |  255|      1|#define xmlSecKeyDataKeyInfoReferenceId xmlSecKeyDataKeyInfoReferenceGetKlass()
  ------------------
  |  Branch (174:8): [True: 0, False: 1]
  ------------------
  175|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister(xmlSecKeyDataKeyInfoReferenceId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  176|      0|        return(-1);
  177|      0|    }
  178|       |
  179|      1|#ifndef XMLSEC_NO_XMLENC
  180|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataEncryptedKeyId) < 0) {
  ------------------
  |  |  262|      1|#define xmlSecKeyDataEncryptedKeyId     xmlSecKeyDataEncryptedKeyGetKlass()
  ------------------
  |  Branch (180:8): [True: 0, False: 1]
  ------------------
  181|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister(xmlSecKeyDataEncryptedKeyId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  182|      0|        return(-1);
  183|      0|    }
  184|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataAgreementMethodId) < 0) {
  ------------------
  |  |  268|      1|#define xmlSecKeyDataAgreementMethodId  xmlSecKeyDataAgreementMethodGetKlass()
  ------------------
  |  Branch (184:8): [True: 0, False: 1]
  ------------------
  185|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister(xmlSecKeyDataAgreementMethodId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  186|      0|        return(-1);
  187|      0|    }
  188|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataDerivedKeyId) < 0) {
  ------------------
  |  |  274|      1|#define xmlSecKeyDataDerivedKeyId       xmlSecKeyDataDerivedKeyGetKlass()
  ------------------
  |  Branch (188:8): [True: 0, False: 1]
  ------------------
  189|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister(xmlSecKeyDataDerivedKeyId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  190|      0|        return(-1);
  191|      0|    }
  192|       |
  193|      1|#endif /* XMLSEC_NO_XMLENC */
  194|       |
  195|       |    /* KeyValue key data should not be used in production w/o understanding of the security risks */
  196|      1|    if(xmlSecKeyDataIdsRegisterDisabled(xmlSecKeyDataValueId) < 0) {
  ------------------
  |  |  243|      1|#define xmlSecKeyDataValueId            xmlSecKeyDataValueGetKlass()
  ------------------
  |  Branch (196:8): [True: 0, False: 1]
  ------------------
  197|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled(xmlSecKeyDataValueId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  198|      0|        return(-1);
  199|      0|    }
  200|       |
  201|      1|    return(0);
  202|      1|}
xmlSecKeyDataCreate:
  220|     38|xmlSecKeyDataCreate(xmlSecKeyDataId id)  {
  221|     38|    xmlSecKeyDataPtr data;
  222|     38|    int ret;
  223|       |
  224|     38|    xmlSecAssert2(id != NULL, NULL);
  ------------------
  |  |  461|     38|        do { \
  |  |  462|     38|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 38]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  225|     38|    xmlSecAssert2(id->klassSize >= sizeof(xmlSecKeyDataKlass), NULL);
  ------------------
  |  |  461|     38|        do { \
  |  |  462|     38|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 38]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  226|     38|    xmlSecAssert2(id->objSize >= sizeof(xmlSecKeyData), NULL);
  ------------------
  |  |  461|     38|        do { \
  |  |  462|     38|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 38]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  227|     38|    xmlSecAssert2(id->name != NULL, NULL);
  ------------------
  |  |  461|     38|        do { \
  |  |  462|     38|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 38]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  228|       |
  229|       |    /* Allocate a new xmlSecKeyData and fill the fields. */
  230|     38|    data = (xmlSecKeyDataPtr)xmlMalloc(id->objSize);
  231|     38|    if(data == NULL) {
  ------------------
  |  Branch (231:8): [True: 0, False: 38]
  ------------------
  232|      0|        xmlSecMallocError(id->objSize,
  ------------------
  |  |  116|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  117|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (117:35): [True: 0, False: 0]
  |  |  ------------------
  |  |  118|      0|                    "xmlMalloc",                            \
  |  |  119|      0|                    XMLSEC_ERRORS_R_MALLOC_FAILED,          \
  |  |  ------------------
  |  |  |  |   38|      0|#define XMLSEC_ERRORS_R_MALLOC_FAILED                   2
  |  |  ------------------
  |  |  120|      0|                    "size=" XMLSEC_SIZE_T_FMT, (size_t)(allocSize) \
  |  |  ------------------
  |  |  |  |   75|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  ------------------
  |  |  121|      0|        )
  ------------------
  233|      0|                          xmlSecKeyDataKlassGetName(id));
  234|      0|        return(NULL);
  235|      0|    }
  236|     38|    memset(data, 0, id->objSize);
  237|     38|    data->id = id;
  238|       |
  239|     38|    if(id->initialize != NULL) {
  ------------------
  |  Branch (239:8): [True: 38, False: 0]
  ------------------
  240|     38|        ret = (id->initialize)(data);
  241|     38|        if(ret < 0) {
  ------------------
  |  Branch (241:12): [True: 0, False: 38]
  ------------------
  242|      0|            xmlSecInternalError("id->initialize",
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  243|      0|                                xmlSecKeyDataKlassGetName(id));
  244|      0|            xmlSecKeyDataDestroy(data);
  245|      0|            return(NULL);
  246|      0|        }
  247|     38|    }
  248|       |
  249|     38|    return(data);
  250|     38|}
xmlSecKeyDataDestroy:
  292|     38|xmlSecKeyDataDestroy(xmlSecKeyDataPtr data) {
  293|     38|    xmlSecAssert(xmlSecKeyDataIsValid(data));
  ------------------
  |  |  444|     38|        do { \
  |  |  445|    304|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (445:19): [True: 38, False: 0]
  |  |  |  Branch (445:19): [True: 38, False: 0]
  |  |  |  Branch (445:19): [True: 38, False: 0]
  |  |  |  Branch (445:19): [True: 38, False: 0]
  |  |  |  Branch (445:19): [True: 38, False: 0]
  |  |  ------------------
  |  |  446|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  447|      0|                            NULL, \
  |  |  448|      0|                            #p, \
  |  |  449|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  450|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  451|      0|                return; \
  |  |  452|      0|            } \
  |  |  453|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (453:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  294|     38|    xmlSecAssert(data->id->objSize > 0);
  ------------------
  |  |  444|     38|        do { \
  |  |  445|     38|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (445:16): [True: 0, False: 38]
  |  |  ------------------
  |  |  446|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  447|      0|                            NULL, \
  |  |  448|      0|                            #p, \
  |  |  449|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  450|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  451|      0|                return; \
  |  |  452|      0|            } \
  |  |  453|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (453:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  295|       |
  296|     38|    if(data->id->finalize != NULL) {
  ------------------
  |  Branch (296:8): [True: 38, False: 0]
  ------------------
  297|     38|        (data->id->finalize)(data);
  298|     38|    }
  299|     38|    xmlSecMemCleanse(data, data->id->objSize);
  300|     38|    xmlFree(data);
  301|     38|}
xmlSecKeyDataIdListGetKlass:
  526|      2|xmlSecKeyDataIdListGetKlass(void) {
  527|      2|    return(&xmlSecKeyDataIdListKlass);
  528|      2|}

xmlSecPtrListInitialize:
  103|      4|xmlSecPtrListInitialize(xmlSecPtrListPtr list, xmlSecPtrListId id) {
  104|      4|    xmlSecAssert2(id != xmlSecPtrListIdUnknown, -1);
  ------------------
  |  |  461|      4|        do { \
  |  |  462|      4|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 4]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|      4|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 4]
  |  |  ------------------
  ------------------
  105|      4|    xmlSecAssert2(list != NULL, -1);
  ------------------
  |  |  461|      4|        do { \
  |  |  462|      4|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 4]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|      4|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 4]
  |  |  ------------------
  ------------------
  106|       |
  107|      4|    memset(list, 0, sizeof(xmlSecPtrList));
  108|      4|    list->id = id;
  109|      4|    list->allocMode = gAllocMode;
  110|       |
  111|      4|    return(0);
  112|      4|}
xmlSecPtrListAdd:
  320|    121|xmlSecPtrListAdd(xmlSecPtrListPtr list, xmlSecPtr item) {
  321|    121|    int ret;
  322|       |
  323|    121|    xmlSecAssert2(xmlSecPtrListIsValid(list), -1);
  ------------------
  |  |  461|    121|        do { \
  |  |  462|    242|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:19): [True: 121, False: 0]
  |  |  |  Branch (462:19): [True: 121, False: 0]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|    121|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 121]
  |  |  ------------------
  ------------------
  324|       |
  325|    121|    ret = xmlSecPtrListEnsureSize(list, list->use + 1);
  326|    121|    if(ret < 0) {
  ------------------
  |  Branch (326:8): [True: 0, False: 121]
  ------------------
  327|      0|        xmlSecInternalError2("xmlSecPtrListEnsureSize", xmlSecPtrListGetName(list),
  ------------------
  |  |   67|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   68|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (68:35): [True: 0, False: 0]
  |  |  |  Branch (68:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   69|      0|                    (errorFunction),                        \
  |  |   70|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   71|      0|                    (msg), (param)                          \
  |  |   72|      0|        )
  ------------------
  328|      0|            "size=" XMLSEC_SIZE_FMT, list->use + 1);
  329|      0|        return(-1);
  330|      0|    }
  331|       |
  332|    121|    list->data[list->use++] = item;
  333|    121|    return(0);
  334|    121|}
list.c:xmlSecPtrListEnsureSize:
  602|    121|xmlSecPtrListEnsureSize(xmlSecPtrListPtr list, xmlSecSize size) {
  603|    121|    xmlSecPtr* newData;
  604|    121|    xmlSecSize newSize = 0;
  605|       |
  606|    121|    xmlSecAssert2(xmlSecPtrListIsValid(list), -1);
  ------------------
  |  |  461|    121|        do { \
  |  |  462|    242|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:19): [True: 121, False: 0]
  |  |  |  Branch (462:19): [True: 121, False: 0]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|    121|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 121]
  |  |  ------------------
  ------------------
  607|       |
  608|    121|    if(size <= list->max) {
  ------------------
  |  Branch (608:8): [True: 116, False: 5]
  ------------------
  609|    116|        return(0);
  610|    116|    }
  611|       |
  612|      5|    switch(list->allocMode) {
  613|      0|        case xmlSecAllocModeExact:
  ------------------
  |  Branch (613:9): [True: 0, False: 5]
  ------------------
  614|      0|            if(size > (XMLSEC_SIZE_MAX - 8)) {
  ------------------
  |  |   90|      0|#define XMLSEC_SIZE_MAX                         SIZE_MAX
  ------------------
  |  Branch (614:16): [True: 0, False: 0]
  ------------------
  615|      0|                xmlSecInvalidSizeError("size", size, (XMLSEC_SIZE_MAX - 8), NULL);
  ------------------
  |  |  329|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  330|      0|                    (const char*)(errorObject),             \
  |  |  331|      0|                    NULL,                                   \
  |  |  332|      0|                    XMLSEC_ERRORS_R_INVALID_SIZE,           \
  |  |  ------------------
  |  |  |  |   84|      0|#define XMLSEC_ERRORS_R_INVALID_SIZE                    11
  |  |  ------------------
  |  |  333|      0|                    "invalid size for '%s': actual=" XMLSEC_SIZE_FMT " is not equal to expected=" XMLSEC_SIZE_FMT, \
  |  |  ------------------
  |  |  |  |   94|      0|#define XMLSEC_SIZE_FMT                         XMLSEC_SIZE_T_FMT
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  334|      0|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  335|      0|                    (actual),                               \
  |  |  336|      0|                    (expected)                              \
  |  |  337|      0|        )
  ------------------
  616|      0|                return(-1);
  617|      0|            }
  618|      0|            newSize = size + 8;
  619|      0|            break;
  620|      5|        case xmlSecAllocModeDouble:
  ------------------
  |  Branch (620:9): [True: 5, False: 0]
  ------------------
  621|      5|            if(size > ((XMLSEC_SIZE_MAX - 32) / 2)) {
  ------------------
  |  |   90|      5|#define XMLSEC_SIZE_MAX                         SIZE_MAX
  ------------------
  |  Branch (621:16): [True: 0, False: 5]
  ------------------
  622|      0|                xmlSecInvalidSizeError("size", size, ((XMLSEC_SIZE_MAX - 32) / 2), NULL);
  ------------------
  |  |  329|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  330|      0|                    (const char*)(errorObject),             \
  |  |  331|      0|                    NULL,                                   \
  |  |  332|      0|                    XMLSEC_ERRORS_R_INVALID_SIZE,           \
  |  |  ------------------
  |  |  |  |   84|      0|#define XMLSEC_ERRORS_R_INVALID_SIZE                    11
  |  |  ------------------
  |  |  333|      0|                    "invalid size for '%s': actual=" XMLSEC_SIZE_FMT " is not equal to expected=" XMLSEC_SIZE_FMT, \
  |  |  ------------------
  |  |  |  |   94|      0|#define XMLSEC_SIZE_FMT                         XMLSEC_SIZE_T_FMT
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  334|      0|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  335|      0|                    (actual),                               \
  |  |  336|      0|                    (expected)                              \
  |  |  337|      0|        )
  ------------------
  623|      0|                return(-1);
  624|      0|            }
  625|      5|            newSize = 2 * size + 32;
  626|      5|            break;
  627|      0|        default:
  ------------------
  |  Branch (627:9): [True: 0, False: 5]
  ------------------
  628|       |            /* an invalid/corrupted allocation mode must not silently fall through
  629|       |             * to a clamped (and possibly insufficient) capacity */
  630|      0|            xmlSecUnsupportedEnumValueError("alloc mode", list->allocMode, NULL);
  ------------------
  |  |  615|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  616|      0|                    (const char*)(errorObject),             \
  |  |  617|      0|                    NULL,                                   \
  |  |  618|      0|                    XMLSEC_ERRORS_R_INVALID_TYPE,           \
  |  |  ------------------
  |  |  |  |   99|      0|#define XMLSEC_ERRORS_R_INVALID_TYPE                    14
  |  |  ------------------
  |  |  619|      0|                    "unsupported value for '%s': " XMLSEC_ENUM_FMT, \
  |  |  ------------------
  |  |  |  |   36|      0|#define XMLSEC_ENUM_FMT                      "%d"
  |  |  ------------------
  |  |  620|      0|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  621|      0|                    XMLSEC_ENUM_CAST(actual)                \
  |  |  ------------------
  |  |  |  |   35|      0|#define XMLSEC_ENUM_CAST(val)                ((int)(val))
  |  |  ------------------
  |  |  622|      0|        )
  ------------------
  631|      0|            return(-1);
  632|      5|    }
  633|       |
  634|      5|    if(newSize < gInitialSize) {
  ------------------
  |  Branch (634:8): [True: 4, False: 1]
  ------------------
  635|      4|        newSize = gInitialSize;
  636|      4|    }
  637|       |
  638|       |    /* guard against sizeof(xmlSecPtr) * newSize overflowing xmlSecSize */
  639|      5|    if(newSize > (XMLSEC_SIZE_MAX / sizeof(xmlSecPtr))) {
  ------------------
  |  |   90|      5|#define XMLSEC_SIZE_MAX                         SIZE_MAX
  ------------------
  |  Branch (639:8): [True: 0, False: 5]
  ------------------
  640|      0|        xmlSecInvalidSizeError("size", newSize, (XMLSEC_SIZE_MAX / sizeof(xmlSecPtr)), NULL);
  ------------------
  |  |  329|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  330|      0|                    (const char*)(errorObject),             \
  |  |  331|      0|                    NULL,                                   \
  |  |  332|      0|                    XMLSEC_ERRORS_R_INVALID_SIZE,           \
  |  |  ------------------
  |  |  |  |   84|      0|#define XMLSEC_ERRORS_R_INVALID_SIZE                    11
  |  |  ------------------
  |  |  333|      0|                    "invalid size for '%s': actual=" XMLSEC_SIZE_FMT " is not equal to expected=" XMLSEC_SIZE_FMT, \
  |  |  ------------------
  |  |  |  |   94|      0|#define XMLSEC_SIZE_FMT                         XMLSEC_SIZE_T_FMT
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  334|      0|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  335|      0|                    (actual),                               \
  |  |  336|      0|                    (expected)                              \
  |  |  337|      0|        )
  ------------------
  641|      0|        return(-1);
  642|      0|    }
  643|       |
  644|      5|    if(list->data != NULL) {
  ------------------
  |  Branch (644:8): [True: 1, False: 4]
  ------------------
  645|      1|        newData = (xmlSecPtr*)xmlRealloc(list->data, sizeof(xmlSecPtr) * newSize);
  646|      4|    } else {
  647|      4|        newData = (xmlSecPtr*)xmlMalloc(sizeof(xmlSecPtr) * newSize);
  648|      4|    }
  649|      5|    if(newData == NULL) {
  ------------------
  |  Branch (649:8): [True: 0, False: 5]
  ------------------
  650|      0|        xmlSecMallocError(sizeof(xmlSecPtr) * newSize,
  ------------------
  |  |  116|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  117|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (117:35): [True: 0, False: 0]
  |  |  |  Branch (117:35): [True: 0, False: 0]
  |  |  ------------------
  |  |  118|      0|                    "xmlMalloc",                            \
  |  |  119|      0|                    XMLSEC_ERRORS_R_MALLOC_FAILED,          \
  |  |  ------------------
  |  |  |  |   38|      0|#define XMLSEC_ERRORS_R_MALLOC_FAILED                   2
  |  |  ------------------
  |  |  120|      0|                    "size=" XMLSEC_SIZE_T_FMT, (size_t)(allocSize) \
  |  |  ------------------
  |  |  |  |   75|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  ------------------
  |  |  121|      0|        )
  ------------------
  651|      0|                          xmlSecPtrListGetName(list));
  652|      0|        return(-1);
  653|      0|    }
  654|       |
  655|      5|    list->data = newData;
  656|      5|    list->max = newSize;
  657|       |
  658|      5|    return(0);
  659|      5|}

xmlSecOpenSSLAppInit:
  123|      1|xmlSecOpenSSLAppInit(const char* config) {
  124|      1|#if !defined(XMLSEC_OPENSSL_API_111)
  125|       |    /* This code can be used to check that custom xmlsec LibCtx is propagated
  126|       |     everywhere as expected (see https://github.com/lsh123/xmlsec/issues/346) */
  127|       |    /*
  128|       |    OSSL_LIB_CTX * libCtx = OSSL_LIB_CTX_new();
  129|       |    OSSL_PROVIDER * legacyProvider = OSSL_PROVIDER_load(libCtx, "legacy");
  130|       |    OSSL_PROVIDER * defaultProvider = OSSL_PROVIDER_load(libCtx, "default");
  131|       |    if(!libCtx || !legacyProvider || !defaultProvider) {
  132|       |        xmlSecOpenSSLError("OSSL_LIB_CTX_new or OSSL_PROVIDER_load", NULL);
  133|       |        goto error;
  134|       |    }
  135|       |    xmlSecOpenSSLSetLibCtx(libCtx);
  136|       |    */
  137|      1|#endif /* !defined(XMLSEC_OPENSSL_API_111) */
  138|      1|    int ret;
  139|      1|    uint64_t opts = 0;
  140|       |
  141|      1|    opts |= OPENSSL_INIT_LOAD_CRYPTO_STRINGS;
  142|      1|    opts |= OPENSSL_INIT_ADD_ALL_CIPHERS;
  143|      1|    opts |= OPENSSL_INIT_ADD_ALL_DIGESTS;
  144|      1|    opts |= OPENSSL_INIT_LOAD_CONFIG;
  145|       |
  146|      1|#if !defined(XMLSEC_OPENSSL_IS_BORINGSSL) && !defined(XMLSEC_OPENSSL_IS_AWSLC)
  147|      1|    opts |= OPENSSL_INIT_ASYNC;
  148|      1|#endif /* !defined(XMLSEC_OPENSSL_IS_BORINGSSL) && !defined(XMLSEC_OPENSSL_IS_AWSLC) */
  149|       |
  150|       |#if !defined(XMLSEC_OPENSSL_IS_BORINGSSL) && defined(XMLSEC_OPENSSL_API_111) && !defined(XMLSEC_OPENSSL_IS_AWSLC)
  151|       |    opts |= OPENSSL_INIT_ENGINE_ALL_BUILTIN;
  152|       |#endif /* !defined(XMLSEC_OPENSSL_IS_BORINGSSL) && defined(XMLSEC_OPENSSL_API_111) && !defined(XMLSEC_OPENSSL_IS_AWSLC) */
  153|       |
  154|      1|    ret = OPENSSL_init_crypto(opts, NULL);
  155|      1|    if(ret != 1) {
  ------------------
  |  Branch (155:8): [True: 0, False: 1]
  ------------------
  156|      0|        xmlSecOpenSSLError("OPENSSL_init_crypto", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  157|      0|        goto error;
  158|      0|    }
  159|       |
  160|      1|    if((config != NULL) && (xmlSecOpenSSLSetDefaultTrustedCertsFolder(BAD_CAST config) < 0)) {
  ------------------
  |  |   34|      0|#define BAD_CAST (xmlChar *)
  ------------------
  |  Branch (160:8): [True: 0, False: 1]
  |  Branch (160:28): [True: 0, False: 0]
  ------------------
  161|      0|        xmlSecInternalError("xmlSecOpenSSLSetDefaultTrustedCertsFolder", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  162|      0|        goto error;
  163|      0|    }
  164|       |
  165|       |    /* done! */
  166|      1|    return(0);
  167|       |
  168|      0|error:
  169|       |    /* cleanup */
  170|      0|    return(-1);
  171|      1|}
xmlSecOpenSSLAppKeyLoadMemory:
  387|  1.56k|) {
  388|  1.56k|    BIO* bio;
  389|  1.56k|    xmlSecKeyPtr key;
  390|       |
  391|  1.56k|    xmlSecAssert2(data != NULL, NULL);
  ------------------
  |  |  461|  1.56k|        do { \
  |  |  462|  1.56k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 1.56k]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|  1.56k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 1.56k]
  |  |  ------------------
  ------------------
  392|  1.56k|    xmlSecAssert2(dataSize > 0, NULL);
  ------------------
  |  |  461|  1.56k|        do { \
  |  |  462|  1.56k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 1.56k]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|  1.56k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 1.56k]
  |  |  ------------------
  ------------------
  393|  1.56k|    xmlSecAssert2(format != xmlSecKeyDataFormatUnknown, NULL);
  ------------------
  |  |  461|  1.56k|        do { \
  |  |  462|  1.56k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 1.56k]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|  1.56k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 1.56k]
  |  |  ------------------
  ------------------
  394|       |
  395|       |    /* this would be a read only BIO, cast from const is ok */
  396|  1.56k|    bio = xmlSecOpenSSLCreateMemBufBio((void*)data, dataSize);
  397|  1.56k|    if(bio == NULL) {
  ------------------
  |  Branch (397:8): [True: 0, False: 1.56k]
  ------------------
  398|      0|        xmlSecInternalError2("xmlSecOpenSSLCreateMemBufBio", NULL, "dataSize=" XMLSEC_SIZE_FMT,  dataSize);
  ------------------
  |  |   67|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   68|      0|                    (const char*)(errorObject),             \
  |  |   69|      0|                    (errorFunction),                        \
  |  |   70|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   71|      0|                    (msg), (param)                          \
  |  |   72|      0|        )
  ------------------
  399|      0|        return(NULL);
  400|      0|    }
  401|       |
  402|  1.56k|    key = xmlSecOpenSSLAppKeyLoadBIO(bio, format, pwd, pwdCallback, pwdCallbackCtx);
  403|  1.56k|    if(key == NULL) {
  ------------------
  |  Branch (403:8): [True: 1.52k, False: 38]
  ------------------
  404|  1.52k|        xmlSecInternalError("xmlSecOpenSSLAppKeyLoadBIO", NULL);
  ------------------
  |  |   51|  1.52k|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|  1.52k|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|  1.52k|                    (const char*)(errorObject),             \
  |  |   53|  1.52k|                    (errorFunction),                        \
  |  |   54|  1.52k|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|  1.52k|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|  1.52k|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|  1.52k|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|  1.52k|        )
  ------------------
  405|  1.52k|        BIO_free_all(bio);
  406|  1.52k|        return(NULL);
  407|  1.52k|    }
  408|       |
  409|       |    /* check if any bytes remaining */
  410|     38|    if(xmlSecOpenSSLAppCheckMemoryBioConsumed(bio, format) != 1) {
  ------------------
  |  Branch (410:8): [True: 15, False: 23]
  ------------------
  411|     15|        xmlSecInternalError("xmlSecOpenSSLAppCheckMemoryBioConsumed", NULL);
  ------------------
  |  |   51|     15|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|     15|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|     15|                    (const char*)(errorObject),             \
  |  |   53|     15|                    (errorFunction),                        \
  |  |   54|     15|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|     15|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|     15|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|     15|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|     15|        )
  ------------------
  412|     15|        xmlSecKeyDestroy(key);
  413|     15|        BIO_free_all(bio);
  414|     15|        return(NULL);
  415|     15|    }
  416|       |
  417|       |    /* success */
  418|     23|    BIO_free_all(bio);
  419|     23|    return(key);
  420|     38|}
xmlSecOpenSSLAppKeyLoadBIO:
  436|  1.56k|) {
  437|       |
  438|  1.56k|    xmlSecKeyPtr key = NULL;
  439|  1.56k|    xmlSecKeyDataPtr data;
  440|  1.56k|    EVP_PKEY* pKey = NULL;
  441|  1.56k|    pem_password_cb* pwdCb = NULL;
  442|  1.56k|    void* pwdCbCtx = NULL;
  443|  1.56k|    int ret;
  444|       |
  445|  1.56k|    xmlSecAssert2(bio != NULL, NULL);
  ------------------
  |  |  461|  1.56k|        do { \
  |  |  462|  1.56k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 1.56k]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|  1.56k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 1.56k]
  |  |  ------------------
  ------------------
  446|  1.56k|    xmlSecAssert2(format != xmlSecKeyDataFormatUnknown, NULL);
  ------------------
  |  |  461|  1.56k|        do { \
  |  |  462|  1.56k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 1.56k]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|  1.56k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 1.56k]
  |  |  ------------------
  ------------------
  447|       |
  448|       |    /* prep pwd callbacks */
  449|  1.56k|    if(pwd != NULL) {
  ------------------
  |  Branch (449:8): [True: 1.56k, False: 0]
  ------------------
  450|  1.56k|        pwdCb = xmlSecOpenSSLDummyPasswordCallback;
  451|  1.56k|        pwdCbCtx = (void*)pwd;
  452|  1.56k|    } else {
  453|      0|        pwdCb = XMLSEC_PTR_TO_FUNC(pem_password_cb, pwdCallback);
  ------------------
  |  |  620|      0|    xmlSecPtrToFunc_ ##func_type((ptr))
  ------------------
  454|      0|        pwdCbCtx = pwdCallbackCtx;
  455|      0|    }
  456|       |
  457|  1.56k|    switch(format) {
  458|  1.04k|    case xmlSecKeyDataFormatPem:
  ------------------
  |  Branch (458:5): [True: 1.04k, False: 521]
  ------------------
  459|       |        /* try to read private key first; if can't read private key then
  460|       |         reset bio to the start of the file and try to read public key. */
  461|  1.04k|        pKey = PEM_read_bio_PrivateKey_ex(bio, NULL, pwdCb, pwdCbCtx, xmlSecOpenSSLGetLibCtx(), NULL);
  462|  1.04k|        if(pKey == NULL) {
  ------------------
  |  Branch (462:12): [True: 1.04k, False: 3]
  ------------------
  463|  1.04k|            (void)BIO_reset(bio);
  464|  1.04k|            pKey = PEM_read_bio_PUBKEY_ex(bio, NULL, pwdCb, pwdCbCtx, xmlSecOpenSSLGetLibCtx(), NULL);
  465|  1.04k|        }
  466|       |
  467|  1.04k|        if(pKey == NULL) {
  ------------------
  |  Branch (467:12): [True: 1.02k, False: 17]
  ------------------
  468|  1.02k|#if !defined(XMLSEC_OPENSSL_API_111)
  469|  1.02k|            xmlSecOpenSSLError("PEM_read_bio_PrivateKey_ex and PEM_read_bio_PUBKEY_ex", NULL);
  ------------------
  |  |   66|  1.02k|    do {                                                    \
  |  |   67|  1.02k|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|  1.02k|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|  1.02k|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|  1.02k|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|  1.02k|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|  1.02k|                    (const char*)(errorObject),             \
  |  |   72|  1.02k|                    (errorFunction),                        \
  |  |   73|  1.02k|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|  1.02k|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|  1.02k|                    "openssl error: %s",                    \
  |  |   75|  1.02k|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|  1.02k|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 1.02k, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|  1.02k|        );                                                  \
  |  |   77|  1.02k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 1.02k]
  |  |  ------------------
  ------------------
  470|       |#else /* !defined(XMLSEC_OPENSSL_API_111) */
  471|       |            xmlSecOpenSSLError("PEM_read_bio_PrivateKey and PEM_read_bio_PUBKEY", NULL);
  472|       |#endif /* !defined(XMLSEC_OPENSSL_API_111) */
  473|  1.02k|            return(NULL);
  474|  1.02k|        }
  475|     17|        break;
  476|    158|    case xmlSecKeyDataFormatDer:
  ------------------
  |  Branch (476:5): [True: 158, False: 1.40k]
  ------------------
  477|       |        /* try to read private key first; if can't read private key then
  478|       |         reset bio to the start of the file and try to read public key. */
  479|    158|        pKey = d2i_PrivateKey_ex_bio(bio, NULL, xmlSecOpenSSLGetLibCtx(), NULL);
  480|    158|        if(pKey == NULL) {
  ------------------
  |  Branch (480:12): [True: 141, False: 17]
  ------------------
  481|    141|            (void)BIO_reset(bio);
  482|       |
  483|    141|            XMLSEC_OPENSSL_PUSH_LIB_CTX(return(NULL));
  ------------------
  |  |   92|    141|    {                                              \
  |  |   93|    141|        OSSL_LIB_CTX* savedDefaultLibCtx = NULL;   \
  |  |   94|    141|        savedDefaultLibCtx = OSSL_LIB_CTX_set0_default(xmlSecOpenSSLGetLibCtx()); \
  |  |   95|    141|        if(savedDefaultLibCtx == NULL) {           \
  |  |  ------------------
  |  |  |  Branch (95:12): [True: 0, False: 141]
  |  |  ------------------
  |  |   96|      0|            xmlSecOpenSSLError("OSSL_LIB_CTX_set0_default", NULL);  \
  |  |  ------------------
  |  |  |  |   66|      0|    do {                                                    \
  |  |  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |  |  |   72|      0|                    (errorFunction),                        \
  |  |  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  |  |  ------------------
  |  |  |  |   74|      0|                    "openssl error: %s",                    \
  |  |  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   76|      0|        );                                                  \
  |  |  |  |   77|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   97|      0|            on_error;                              \
  |  |   98|      0|        }
  ------------------
  484|    141|            pKey = d2i_PUBKEY_bio(bio, NULL);
  485|    141|            XMLSEC_OPENSSL_POP_LIB_CTX();
  ------------------
  |  |  101|    141|        if(savedDefaultLibCtx != NULL) {           \
  |  |  ------------------
  |  |  |  Branch (101:12): [True: 141, False: 0]
  |  |  ------------------
  |  |  102|    141|            OSSL_LIB_CTX_set0_default(savedDefaultLibCtx); \
  |  |  103|    141|        }                                          \
  |  |  104|    141|    }
  ------------------
  486|    141|        }
  487|    158|        if(pKey == NULL) {
  ------------------
  |  Branch (487:12): [True: 138, False: 20]
  ------------------
  488|    138|#if !defined(XMLSEC_OPENSSL_API_111)
  489|    138|            xmlSecOpenSSLError("d2i_PrivateKey_ex_bio and d2i_PUBKEY_bio", NULL);
  ------------------
  |  |   66|    138|    do {                                                    \
  |  |   67|    138|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|    138|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|    138|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|    138|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|    138|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|    138|                    (const char*)(errorObject),             \
  |  |   72|    138|                    (errorFunction),                        \
  |  |   73|    138|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|    138|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|    138|                    "openssl error: %s",                    \
  |  |   75|    138|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|    138|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 138, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|    138|        );                                                  \
  |  |   77|    138|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 138]
  |  |  ------------------
  ------------------
  490|       |#else /* !defined(XMLSEC_OPENSSL_API_111) */
  491|       |            xmlSecOpenSSLError("d2i_PrivateKey_bio and d2i_PUBKEY_bio", NULL);
  492|       |#endif /* !defined(XMLSEC_OPENSSL_API_111) */
  493|    138|            return(NULL);
  494|    138|        }
  495|     20|        break;
  496|    187|    case xmlSecKeyDataFormatPkcs8Pem:
  ------------------
  |  Branch (496:5): [True: 187, False: 1.37k]
  ------------------
  497|       |        /* read private key */
  498|    187|        pKey = PEM_read_bio_PrivateKey_ex(bio, NULL, pwdCb, pwdCbCtx, xmlSecOpenSSLGetLibCtx(), NULL);
  499|    187|        if(pKey == NULL) {
  ------------------
  |  Branch (499:12): [True: 186, False: 1]
  ------------------
  500|    186|#if !defined(XMLSEC_OPENSSL_API_111)
  501|    186|            xmlSecOpenSSLError("PEM_read_bio_PrivateKey_ex", NULL);
  ------------------
  |  |   66|    186|    do {                                                    \
  |  |   67|    186|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|    186|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|    186|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|    186|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|    186|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|    186|                    (const char*)(errorObject),             \
  |  |   72|    186|                    (errorFunction),                        \
  |  |   73|    186|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|    186|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|    186|                    "openssl error: %s",                    \
  |  |   75|    186|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|    186|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 186, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|    186|        );                                                  \
  |  |   77|    186|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 186]
  |  |  ------------------
  ------------------
  502|       |#else /* !defined(XMLSEC_OPENSSL_API_111) */
  503|       |            xmlSecOpenSSLError("PEM_read_bio_PrivateKey", NULL);
  504|       |#endif /* !defined(XMLSEC_OPENSSL_API_111) */
  505|    186|            return(NULL);
  506|    186|        }
  507|      1|        break;
  508|      4|    case xmlSecKeyDataFormatPkcs8Der:
  ------------------
  |  Branch (508:5): [True: 4, False: 1.56k]
  ------------------
  509|       |        /* read private key */
  510|      4|        XMLSEC_OPENSSL_PUSH_LIB_CTX(return(NULL));
  ------------------
  |  |   92|      4|    {                                              \
  |  |   93|      4|        OSSL_LIB_CTX* savedDefaultLibCtx = NULL;   \
  |  |   94|      4|        savedDefaultLibCtx = OSSL_LIB_CTX_set0_default(xmlSecOpenSSLGetLibCtx()); \
  |  |   95|      4|        if(savedDefaultLibCtx == NULL) {           \
  |  |  ------------------
  |  |  |  Branch (95:12): [True: 0, False: 4]
  |  |  ------------------
  |  |   96|      0|            xmlSecOpenSSLError("OSSL_LIB_CTX_set0_default", NULL);  \
  |  |  ------------------
  |  |  |  |   66|      0|    do {                                                    \
  |  |  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |  |  |   72|      0|                    (errorFunction),                        \
  |  |  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  |  |  ------------------
  |  |  |  |   74|      0|                    "openssl error: %s",                    \
  |  |  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   76|      0|        );                                                  \
  |  |  |  |   77|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   97|      0|            on_error;                              \
  |  |   98|      0|        }
  ------------------
  511|      4|        pKey = d2i_PKCS8PrivateKey_bio(bio, NULL, pwdCb, pwdCbCtx);
  512|      4|        XMLSEC_OPENSSL_POP_LIB_CTX();
  ------------------
  |  |  101|      4|        if(savedDefaultLibCtx != NULL) {           \
  |  |  ------------------
  |  |  |  Branch (101:12): [True: 4, False: 0]
  |  |  ------------------
  |  |  102|      4|            OSSL_LIB_CTX_set0_default(savedDefaultLibCtx); \
  |  |  103|      4|        }                                          \
  |  |  104|      4|    }
  ------------------
  513|      4|        if(pKey == NULL) {
  ------------------
  |  Branch (513:12): [True: 3, False: 1]
  ------------------
  514|      3|            xmlSecOpenSSLError("d2i_PKCS8PrivateKey_bio", NULL);
  ------------------
  |  |   66|      3|    do {                                                    \
  |  |   67|      3|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      3|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      3|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      3|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      3|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      3|                    (const char*)(errorObject),             \
  |  |   72|      3|                    (errorFunction),                        \
  |  |   73|      3|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      3|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      3|                    "openssl error: %s",                    \
  |  |   75|      3|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|      3|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 3, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      3|        );                                                  \
  |  |   77|      3|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 3]
  |  |  ------------------
  ------------------
  515|      3|            return(NULL);
  516|      3|        }
  517|      1|        break;
  518|      1|#ifndef XMLSEC_NO_X509
  519|      2|    case xmlSecKeyDataFormatPkcs12:
  ------------------
  |  Branch (519:5): [True: 2, False: 1.56k]
  ------------------
  520|      2|        key = xmlSecOpenSSLAppPkcs12LoadBIO(bio, pwd, pwdCallback, pwdCallbackCtx);
  521|      2|        if(key == NULL) {
  ------------------
  |  Branch (521:12): [True: 2, False: 0]
  ------------------
  522|      2|            xmlSecInternalError("xmlSecOpenSSLAppPkcs12LoadBIO", NULL);
  ------------------
  |  |   51|      2|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      2|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      2|                    (const char*)(errorObject),             \
  |  |   53|      2|                    (errorFunction),                        \
  |  |   54|      2|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      2|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      2|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      2|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      2|        )
  ------------------
  523|      2|            return(NULL);
  524|      2|        }
  525|      0|        return(key);
  526|       |
  527|    168|    case xmlSecKeyDataFormatCertPem:
  ------------------
  |  Branch (527:5): [True: 168, False: 1.39k]
  ------------------
  528|    170|    case xmlSecKeyDataFormatCertDer:
  ------------------
  |  Branch (528:5): [True: 2, False: 1.56k]
  ------------------
  529|    170|        key = xmlSecOpenSSLAppKeyFromCertLoadBIO(bio, format);
  530|    170|        if(key == NULL) {
  ------------------
  |  Branch (530:12): [True: 170, False: 0]
  ------------------
  531|    170|            xmlSecInternalError("xmlSecOpenSSLAppKeyFromCertLoadBIO", NULL);
  ------------------
  |  |   51|    170|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|    170|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|    170|                    (const char*)(errorObject),             \
  |  |   53|    170|                    (errorFunction),                        \
  |  |   54|    170|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|    170|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|    170|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|    170|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|    170|        )
  ------------------
  532|    170|            return(NULL);
  533|    170|        }
  534|      0|        return(key);
  535|      0|#endif /* XMLSEC_NO_X509 */
  536|       |
  537|      0|    default:
  ------------------
  |  Branch (537:5): [True: 0, False: 1.56k]
  ------------------
  538|      0|        xmlSecOtherError2(XMLSEC_ERRORS_R_INVALID_FORMAT, NULL,
  ------------------
  |  |  942|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  943|      0|                    (const char*)(errorObject),             \
  |  |  944|      0|                    NULL,                                   \
  |  |  945|      0|                    (code),                                 \
  |  |  946|      0|                    (msg), (param)                          \
  |  |  947|      0|        )
  ------------------
  539|      0|            "format=" XMLSEC_ENUM_FMT, XMLSEC_ENUM_CAST(format));
  540|      0|        return(NULL);
  541|  1.56k|    }
  542|       |
  543|     39|    data = xmlSecOpenSSLEvpKeyAdopt(pKey);
  544|     39|    if(data == NULL) {
  ------------------
  |  Branch (544:8): [True: 1, False: 38]
  ------------------
  545|      1|        xmlSecInternalError("xmlSecOpenSSLEvpKeyAdopt", NULL);
  ------------------
  |  |   51|      1|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      1|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      1|                    (const char*)(errorObject),             \
  |  |   53|      1|                    (errorFunction),                        \
  |  |   54|      1|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      1|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      1|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      1|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      1|        )
  ------------------
  546|      1|        EVP_PKEY_free(pKey);
  547|      1|        return(NULL);
  548|      1|    }
  549|       |
  550|     38|    key = xmlSecKeyCreate();
  551|     38|    if(key == NULL) {
  ------------------
  |  Branch (551:8): [True: 0, False: 38]
  ------------------
  552|      0|        xmlSecInternalError("xmlSecKeyCreate",
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  553|      0|                            xmlSecKeyDataGetName(data));
  554|      0|        xmlSecKeyDataDestroy(data);
  555|      0|        return(NULL);
  556|      0|    }
  557|       |
  558|     38|    ret = xmlSecKeySetValue(key, data);
  559|     38|    if(ret < 0) {
  ------------------
  |  Branch (559:8): [True: 0, False: 38]
  ------------------
  560|      0|        xmlSecInternalError("xmlSecKeySetValue",
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  561|      0|                            xmlSecKeyDataGetName(data));
  562|      0|        xmlSecKeyDestroy(key);
  563|      0|        xmlSecKeyDataDestroy(data);
  564|      0|        return(NULL);
  565|      0|    }
  566|       |
  567|     38|    return(key);
  568|     38|}
xmlSecOpenSSLAppKeyCertLoadMemory:
 1251|     23|) {
 1252|     23|    xmlSecKeyDataFormat certFormat;
 1253|     23|    BIO* bio;
 1254|     23|    X509 *cert = NULL;
 1255|     23|    int ret;
 1256|       |
 1257|     23|    xmlSecAssert2(key != NULL, -1);
  ------------------
  |  |  461|     23|        do { \
  |  |  462|     23|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 23]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     23|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 23]
  |  |  ------------------
  ------------------
 1258|     23|    xmlSecAssert2(data != NULL, -1);
  ------------------
  |  |  461|     23|        do { \
  |  |  462|     23|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 23]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     23|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 23]
  |  |  ------------------
  ------------------
 1259|     23|    xmlSecAssert2(dataSize > 0, -1);
  ------------------
  |  |  461|     23|        do { \
  |  |  462|     23|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 23]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     23|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 23]
  |  |  ------------------
  ------------------
 1260|     23|    xmlSecAssert2(format != xmlSecKeyDataFormatUnknown, -1);
  ------------------
  |  |  461|     23|        do { \
  |  |  462|     23|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 23]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     23|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 23]
  |  |  ------------------
  ------------------
 1261|       |
 1262|       |    /* adjust cert format if needed */
 1263|     23|    switch(format) {
 1264|      1|    case xmlSecKeyDataFormatPkcs8Pem:
  ------------------
  |  Branch (1264:5): [True: 1, False: 22]
  ------------------
 1265|      1|        certFormat = xmlSecKeyDataFormatPem;
 1266|      1|        break;
 1267|      1|    case xmlSecKeyDataFormatPkcs8Der:
  ------------------
  |  Branch (1267:5): [True: 1, False: 22]
  ------------------
 1268|      1|        certFormat = xmlSecKeyDataFormatDer;
 1269|      1|        break;
 1270|     21|    default:
  ------------------
  |  Branch (1270:5): [True: 21, False: 2]
  ------------------
 1271|     21|        certFormat = format;
 1272|     23|    }
 1273|       |
 1274|       |    /* this would be a read only BIO, cast from const is ok */
 1275|     23|    bio = xmlSecOpenSSLCreateMemBufBio((void*)data, dataSize);
 1276|     23|    if(bio == NULL) {
  ------------------
  |  Branch (1276:8): [True: 0, False: 23]
  ------------------
 1277|      0|        xmlSecInternalError2("xmlSecOpenSSLCreateMemBufBio", NULL, "dataSize=" XMLSEC_SIZE_FMT,  dataSize);
  ------------------
  |  |   67|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   68|      0|                    (const char*)(errorObject),             \
  |  |   69|      0|                    (errorFunction),                        \
  |  |   70|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   71|      0|                    (msg), (param)                          \
  |  |   72|      0|        )
  ------------------
 1278|      0|        return(-1);
 1279|      0|    }
 1280|       |
 1281|       |    /* read cert */
 1282|     23|    cert = xmlSecOpenSSLX509CertLoadBIO(bio, certFormat);
 1283|     23|    if(cert == NULL) {
  ------------------
  |  Branch (1283:8): [True: 23, False: 0]
  ------------------
 1284|     23|        xmlSecInternalError2("xmlSecOpenSSLX509CertLoadBIO", NULL, "dataSize=" XMLSEC_SIZE_FMT,  dataSize);
  ------------------
  |  |   67|     23|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|     23|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   68|     23|                    (const char*)(errorObject),             \
  |  |   69|     23|                    (errorFunction),                        \
  |  |   70|     23|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|     23|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   71|     23|                    (msg), (param)                          \
  |  |   72|     23|        )
  ------------------
 1285|     23|        BIO_free_all(bio);
 1286|     23|        return(-1);
 1287|     23|    }
 1288|       |
 1289|       |    /* check if any bytes remaining before adopting the cert into the key */
 1290|      0|    if(xmlSecOpenSSLAppCheckMemoryBioConsumed(bio, certFormat) != 1) {
  ------------------
  |  Branch (1290:8): [True: 0, False: 0]
  ------------------
 1291|      0|        X509_free(cert);
 1292|      0|        BIO_free_all(bio);
 1293|      0|        return(-1);
 1294|      0|    }
 1295|       |
 1296|       |    /* add cert to key */
 1297|      0|    ret = xmlSecOpenSSLAppKeyCertAdopt(key, cert);
 1298|      0|    if(ret < 0) {
  ------------------
  |  Branch (1298:8): [True: 0, False: 0]
  ------------------
 1299|      0|        X509_free(cert);
 1300|      0|        BIO_free_all(bio);
 1301|      0|        return(-1);
 1302|      0|    }
 1303|       |
 1304|       |    /* success */
 1305|      0|    BIO_free_all(bio);
 1306|      0|    return(0);
 1307|      0|}
xmlSecOpenSSLAppPkcs12LoadBIO:
 1470|      2|) {
 1471|      2|    PKCS12 *p12 = NULL;
 1472|      2|    EVP_PKEY * pKey = NULL;
 1473|      2|    X509 * keyCert = NULL;
 1474|      2|    STACK_OF(X509) * chain = NULL;
 1475|      2|    xmlSecKeyPtr res = NULL;
 1476|      2|    pem_password_cb* pwdCb = NULL;
 1477|      2|    char pwdBuf[2048];
 1478|      2|    size_t pwdSize;
 1479|      2|    int pwdLen;
 1480|      2|    int ret;
 1481|       |
 1482|      2|    xmlSecAssert2(bio != NULL, NULL);
  ------------------
  |  |  461|      2|        do { \
  |  |  462|      2|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 2]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|      2|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1483|       |
 1484|      2|    XMLSEC_OPENSSL_PUSH_LIB_CTX(goto done);
  ------------------
  |  |   92|      2|    {                                              \
  |  |   93|      2|        OSSL_LIB_CTX* savedDefaultLibCtx = NULL;   \
  |  |   94|      2|        savedDefaultLibCtx = OSSL_LIB_CTX_set0_default(xmlSecOpenSSLGetLibCtx()); \
  |  |   95|      2|        if(savedDefaultLibCtx == NULL) {           \
  |  |  ------------------
  |  |  |  Branch (95:12): [True: 0, False: 2]
  |  |  ------------------
  |  |   96|      0|            xmlSecOpenSSLError("OSSL_LIB_CTX_set0_default", NULL);  \
  |  |  ------------------
  |  |  |  |   66|      0|    do {                                                    \
  |  |  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |  |  |   72|      0|                    (errorFunction),                        \
  |  |  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  |  |  ------------------
  |  |  |  |   74|      0|                    "openssl error: %s",                    \
  |  |  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   76|      0|        );                                                  \
  |  |  |  |   77|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   97|      0|            on_error;                              \
  |  |   98|      0|        }
  ------------------
 1485|      2|    p12 = d2i_PKCS12_bio(bio, NULL);
 1486|      2|    XMLSEC_OPENSSL_POP_LIB_CTX();
  ------------------
  |  |  101|      2|        if(savedDefaultLibCtx != NULL) {           \
  |  |  ------------------
  |  |  |  Branch (101:12): [True: 2, False: 0]
  |  |  ------------------
  |  |  102|      2|            OSSL_LIB_CTX_set0_default(savedDefaultLibCtx); \
  |  |  103|      2|        }                                          \
  |  |  104|      2|    }
  ------------------
 1487|      2|    if(p12 == NULL) {
  ------------------
  |  Branch (1487:8): [True: 1, False: 1]
  ------------------
 1488|      1|        xmlSecOpenSSLError("d2i_PKCS12_bio", NULL);
  ------------------
  |  |   66|      1|    do {                                                    \
  |  |   67|      1|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      1|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      1|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      1|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      1|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      1|                    (const char*)(errorObject),             \
  |  |   72|      1|                    (errorFunction),                        \
  |  |   73|      1|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      1|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      1|                    "openssl error: %s",                    \
  |  |   75|      1|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|      1|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 1, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      1|        );                                                  \
  |  |   77|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1489|      1|        goto done;
 1490|      1|    }
 1491|       |
 1492|       |    /*
 1493|       |     * If the password is not given explicitly, try to obtain it
 1494|       |     * from the password callback.
 1495|       |     */
 1496|      1|    if((pwd == NULL) && (pwdCallback != NULL)) {
  ------------------
  |  Branch (1496:8): [True: 0, False: 1]
  |  Branch (1496:25): [True: 0, False: 0]
  ------------------
 1497|      0|        pwdCb = XMLSEC_PTR_TO_FUNC(pem_password_cb, pwdCallback);
  ------------------
  |  |  620|      0|    xmlSecPtrToFunc_ ##func_type((ptr))
  ------------------
 1498|      0|        ret = pwdCb(pwdBuf, (int)sizeof(pwdBuf), 0, pwdCallbackCtx);
 1499|      0|        if((ret < 0) || (ret >= (int)sizeof(pwdBuf))) {
  ------------------
  |  Branch (1499:12): [True: 0, False: 0]
  |  Branch (1499:25): [True: 0, False: 0]
  ------------------
 1500|      0|            xmlSecOpenSSLError("pwdCallback", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1501|      0|            goto done;
 1502|      0|        }
 1503|      0|        pwdBuf[ret] = '\0';
 1504|      0|        pwd = pwdBuf;
 1505|      0|    }
 1506|       |
 1507|      1|    pwdSize = (pwd != NULL) ? strlen(pwd) : 0;
  ------------------
  |  Branch (1507:15): [True: 1, False: 0]
  ------------------
 1508|      1|    XMLSEC_SAFE_CAST_SIZE_T_TO_INT(pwdSize, pwdLen, goto done, NULL);
  ------------------
  |  |  140|      1|    XMLSEC_SAFE_CAST_MAX_CHECK(size_t, (srcVal), XMLSEC_SIZE_T_FMT,             \
  |  |  ------------------
  |  |  |  |   47|      1|    do {                                                                      \
  |  |  |  |   48|      1|        srcType _xmlsec_srcVal = (srcVal);                                    \
  |  |  |  |   49|      1|        if(_xmlsec_srcVal > (srcType)(dstMax)) {                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (49:12): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   50|      0|            xmlSecImpossibleCastError(srcType, _xmlsec_srcVal, srcFmt,        \
  |  |  |  |  ------------------
  |  |  |  |  |  |  907|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  908|      0|                    (const char*)(errorObject),             \
  |  |  |  |  |  |  909|      0|                    NULL,                                   \
  |  |  |  |  |  |  910|      0|                    XMLSEC_ERRORS_R_CAST_IMPOSSIBLE,        \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_CAST_IMPOSSIBLE                 101
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  911|      0|                    "src-type=" #srcType "; src-val=" srcFmt  \
  |  |  |  |  |  |  912|      0|                    "; dst-type=" #dstType "; dst-min=" dstFmt \
  |  |  |  |  |  |  913|      0|                    "; dst-max=" dstFmt,                    \
  |  |  |  |  |  |  914|      0|                    (srcVal), (dstMinVal), (dstMaxVal)      \
  |  |  |  |  |  |  915|      0|        )
  |  |  |  |  ------------------
  |  |  |  |   51|      0|                dstType, dstMin, dstMax, dstFmt, (errorObject));              \
  |  |  |  |   52|      0|            errorAction;                                                      \
  |  |  |  |   53|      0|        }                                                                     \
  |  |  |  |   54|      1|        (dstVal) = (dstType)_xmlsec_srcVal;                                   \
  |  |  |  |   55|      1|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:13): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  141|      1|        int, (dstVal), "%d", INT_MIN, INT_MAX,                                  \
  |  |  142|      1|        errorAction, (errorObject))
  ------------------
 1509|       |
 1510|      1|    XMLSEC_OPENSSL_PUSH_LIB_CTX(goto done);
  ------------------
  |  |   92|      1|    {                                              \
  |  |   93|      1|        OSSL_LIB_CTX* savedDefaultLibCtx = NULL;   \
  |  |   94|      1|        savedDefaultLibCtx = OSSL_LIB_CTX_set0_default(xmlSecOpenSSLGetLibCtx()); \
  |  |   95|      1|        if(savedDefaultLibCtx == NULL) {           \
  |  |  ------------------
  |  |  |  Branch (95:12): [True: 0, False: 1]
  |  |  ------------------
  |  |   96|      0|            xmlSecOpenSSLError("OSSL_LIB_CTX_set0_default", NULL);  \
  |  |  ------------------
  |  |  |  |   66|      0|    do {                                                    \
  |  |  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |  |  |   72|      0|                    (errorFunction),                        \
  |  |  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  |  |  ------------------
  |  |  |  |   74|      0|                    "openssl error: %s",                    \
  |  |  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   76|      0|        );                                                  \
  |  |  |  |   77|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   97|      0|            on_error;                              \
  |  |   98|      0|        }
  ------------------
 1511|      1|    ret = PKCS12_verify_mac(p12, pwd, ((pwd != NULL) ? pwdLen : 0));
  ------------------
  |  Branch (1511:40): [True: 1, False: 0]
  ------------------
 1512|      1|    XMLSEC_OPENSSL_POP_LIB_CTX();
  ------------------
  |  |  101|      1|        if(savedDefaultLibCtx != NULL) {           \
  |  |  ------------------
  |  |  |  Branch (101:12): [True: 1, False: 0]
  |  |  ------------------
  |  |  102|      1|            OSSL_LIB_CTX_set0_default(savedDefaultLibCtx); \
  |  |  103|      1|        }                                          \
  |  |  104|      1|    }
  ------------------
 1513|      1|    if(ret != 1) {
  ------------------
  |  Branch (1513:8): [True: 1, False: 0]
  ------------------
 1514|      1|        xmlSecOpenSSLError("PKCS12_verify_mac", NULL);
  ------------------
  |  |   66|      1|    do {                                                    \
  |  |   67|      1|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      1|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      1|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      1|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      1|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      1|                    (const char*)(errorObject),             \
  |  |   72|      1|                    (errorFunction),                        \
  |  |   73|      1|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      1|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      1|                    "openssl error: %s",                    \
  |  |   75|      1|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|      1|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 1, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      1|        );                                                  \
  |  |   77|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1515|      1|        goto done;
 1516|      1|    }
 1517|       |
 1518|      0|    XMLSEC_OPENSSL_PUSH_LIB_CTX(goto done);
  ------------------
  |  |   92|      0|    {                                              \
  |  |   93|      0|        OSSL_LIB_CTX* savedDefaultLibCtx = NULL;   \
  |  |   94|      0|        savedDefaultLibCtx = OSSL_LIB_CTX_set0_default(xmlSecOpenSSLGetLibCtx()); \
  |  |   95|      0|        if(savedDefaultLibCtx == NULL) {           \
  |  |  ------------------
  |  |  |  Branch (95:12): [True: 0, False: 0]
  |  |  ------------------
  |  |   96|      0|            xmlSecOpenSSLError("OSSL_LIB_CTX_set0_default", NULL);  \
  |  |  ------------------
  |  |  |  |   66|      0|    do {                                                    \
  |  |  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |  |  |   72|      0|                    (errorFunction),                        \
  |  |  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  |  |  ------------------
  |  |  |  |   74|      0|                    "openssl error: %s",                    \
  |  |  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   76|      0|        );                                                  \
  |  |  |  |   77|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   97|      0|            on_error;                              \
  |  |   98|      0|        }
  ------------------
 1519|      0|    ret = PKCS12_parse(p12, pwd, &pKey, &keyCert, &chain);
 1520|      0|    XMLSEC_OPENSSL_POP_LIB_CTX();
  ------------------
  |  |  101|      0|        if(savedDefaultLibCtx != NULL) {           \
  |  |  ------------------
  |  |  |  Branch (101:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  102|      0|            OSSL_LIB_CTX_set0_default(savedDefaultLibCtx); \
  |  |  103|      0|        }                                          \
  |  |  104|      0|    }
  ------------------
 1521|      0|    if((ret != 1) || (pKey == NULL)) {
  ------------------
  |  Branch (1521:8): [True: 0, False: 0]
  |  Branch (1521:22): [True: 0, False: 0]
  ------------------
 1522|      0|        xmlSecOpenSSLError("PKCS12_parse", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1523|      0|        goto done;
 1524|      0|    }
 1525|       |
 1526|       |    /*
 1527|       |     * The documentation states (http://www.openssl.org/docs/crypto/PKCS12_parse.html):
 1528|       |     *
 1529|       |     * If successful the private key will be written to "*pkey", the
 1530|       |     * corresponding certificate to "*cert" and any additional certificates
 1531|       |     * to "*ca".
 1532|       |     *
 1533|       |     * In reality, the function sometimes returns in the "ca" the certificates
 1534|       |     * including the one it is already returned in "cert". We will sort this out
 1535|       |     * in the xmlSecOpenSSLKeyDataX509AdoptKeyCert() and xmlSecOpenSSLKeyDataX509AdoptCert()
 1536|       |     * functions.
 1537|       |     */
 1538|       |
 1539|       |    /* finally create a key, xmlSecOpenSSLCreateKey will set the values to NULL
 1540|       |     * as it uses them (except *certs, which is left pointing at the emptied stack) */
 1541|      0|    res = xmlSecOpenSSLCreateKey(&pKey, &keyCert, &chain);
 1542|      0|    if(res == NULL) {
  ------------------
  |  Branch (1542:8): [True: 0, False: 0]
  ------------------
 1543|      0|        xmlSecInternalError("xmlSecOpenSSLCreateKey", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
 1544|      0|        goto done;
 1545|      0|    }
 1546|       |
 1547|       |    /* success! */
 1548|       |
 1549|      2|done:
 1550|      2|    OPENSSL_cleanse(pwdBuf, sizeof(pwdBuf));
 1551|      2|    if(chain != NULL) {
  ------------------
  |  Branch (1551:8): [True: 0, False: 2]
  ------------------
 1552|      0|        sk_X509_pop_free(chain, X509_free);
 1553|      0|    }
 1554|      2|    if(keyCert != NULL) {
  ------------------
  |  Branch (1554:8): [True: 0, False: 2]
  ------------------
 1555|      0|        X509_free(keyCert);
 1556|      0|    }
 1557|      2|    if(pKey != NULL) {
  ------------------
  |  Branch (1557:8): [True: 0, False: 2]
  ------------------
 1558|      0|        EVP_PKEY_free(pKey);
 1559|      0|    }
 1560|      2|    if(p12 != NULL) {
  ------------------
  |  Branch (1560:8): [True: 1, False: 1]
  ------------------
 1561|      1|        PKCS12_free(p12);
 1562|      1|    }
 1563|      2|    return(res);
 1564|      0|}
xmlSecOpenSSLAppKeyFromCertLoadBIO:
 1573|    170|xmlSecOpenSSLAppKeyFromCertLoadBIO(BIO* bio, xmlSecKeyDataFormat format) {
 1574|    170|    xmlSecKeyPtr key = NULL;
 1575|    170|    xmlSecKeyDataPtr keyData = NULL;
 1576|    170|    xmlSecKeyDataPtr certData;
 1577|    170|    X509 * cert = NULL;
 1578|    170|    int ret;
 1579|    170|    xmlSecKeyPtr res = NULL;
 1580|       |
 1581|    170|    xmlSecAssert2(bio != NULL, NULL);
  ------------------
  |  |  461|    170|        do { \
  |  |  462|    170|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 170]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|    170|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 170]
  |  |  ------------------
  ------------------
 1582|    170|    xmlSecAssert2(format != xmlSecKeyDataFormatUnknown, NULL);
  ------------------
  |  |  461|    170|        do { \
  |  |  462|    170|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 170]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|    170|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 170]
  |  |  ------------------
  ------------------
 1583|       |
 1584|       |    /* load cert */
 1585|    170|    cert = xmlSecOpenSSLX509CertLoadBIO(bio, format);
 1586|    170|    if(cert == NULL) {
  ------------------
  |  Branch (1586:8): [True: 170, False: 0]
  ------------------
 1587|    170|        xmlSecInternalError("xmlSecOpenSSLX509CertLoadBIO", NULL);
  ------------------
  |  |   51|    170|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|    170|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|    170|                    (const char*)(errorObject),             \
  |  |   53|    170|                    (errorFunction),                        \
  |  |   54|    170|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|    170|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|    170|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|    170|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|    170|        )
  ------------------
 1588|    170|        goto done;
 1589|    170|    }
 1590|       |
 1591|       |    /* create key */
 1592|      0|    key = xmlSecKeyCreate();
 1593|      0|    if(key == NULL) {
  ------------------
  |  Branch (1593:8): [True: 0, False: 0]
  ------------------
 1594|      0|        xmlSecInternalError("xmlSecKeyCreate", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
 1595|      0|        goto done;
 1596|      0|    }
 1597|       |
 1598|       |    /* set key value */
 1599|      0|    keyData = xmlSecOpenSSLX509CertGetKey(cert);
 1600|      0|    if(keyData == NULL) {
  ------------------
  |  Branch (1600:8): [True: 0, False: 0]
  ------------------
 1601|      0|        xmlSecInternalError("xmlSecOpenSSLX509CertGetKey", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
 1602|      0|        goto done;
 1603|      0|    }
 1604|      0|    ret = xmlSecKeySetValue(key, keyData);
 1605|      0|    if(ret < 0) {
  ------------------
  |  Branch (1605:8): [True: 0, False: 0]
  ------------------
 1606|      0|        xmlSecInternalError("xmlSecKeySetValue", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
 1607|      0|        goto done;
 1608|      0|    }
 1609|      0|    keyData = NULL; /* owned by key now */
 1610|       |
 1611|       |    /* put cert as the key's cert in the x509 data */
 1612|      0|    certData = xmlSecKeyEnsureData(key, xmlSecOpenSSLKeyDataX509Id);
  ------------------
  |  |   46|      0|        xmlSecOpenSSLKeyDataX509GetKlass()
  ------------------
 1613|      0|    if(certData == NULL) {
  ------------------
  |  Branch (1613:8): [True: 0, False: 0]
  ------------------
 1614|      0|        xmlSecInternalError("xmlSecKeyEnsureData", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
 1615|      0|        goto done;
 1616|      0|    }
 1617|      0|    ret = xmlSecOpenSSLKeyDataX509AdoptKeyCert(certData, cert);
 1618|      0|    if(ret < 0) {
  ------------------
  |  Branch (1618:8): [True: 0, False: 0]
  ------------------
 1619|      0|        xmlSecInternalError("xmlSecOpenSSLKeyDataX509AdoptKeyCert", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
 1620|      0|        goto done;
 1621|      0|    }
 1622|      0|    cert = NULL; /* owned by certData now */
 1623|       |
 1624|       |    /* success */
 1625|      0|    res = key;
 1626|      0|    key = NULL;
 1627|       |
 1628|    170|done:
 1629|    170|    if(key != NULL) {
  ------------------
  |  Branch (1629:8): [True: 0, False: 170]
  ------------------
 1630|      0|        xmlSecKeyDestroy(key);
 1631|      0|    }
 1632|    170|    if(keyData != NULL) {
  ------------------
  |  Branch (1632:8): [True: 0, False: 170]
  ------------------
 1633|      0|        xmlSecKeyDataDestroy(keyData);
 1634|      0|    }
 1635|    170|    if(cert != NULL) {
  ------------------
  |  Branch (1635:8): [True: 0, False: 170]
  ------------------
 1636|      0|        X509_free(cert);
 1637|      0|    }
 1638|    170|    return(res);
 1639|      0|}
xmlSecOpenSSLAppGetDefaultPwdCallback:
 2332|      1|xmlSecOpenSSLAppGetDefaultPwdCallback(void) {
 2333|      1|    return XMLSEC_FUNC_TO_PTR(pem_password_cb, xmlSecOpenSSLDefaultPasswordCallback);
  ------------------
  |  |  646|      1|    xmlSecFuncToPtr_ ##func_type((func))
  ------------------
 2334|      1|}
app.c:xmlSecOpenSSLAppCheckMemoryBioConsumed:
  199|     38|xmlSecOpenSSLAppCheckMemoryBioConsumed(BIO* bio, xmlSecKeyDataFormat format) {
  200|     38|    xmlSecAssert2(bio != NULL, -1);
  ------------------
  |  |  461|     38|        do { \
  |  |  462|     38|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 38]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  201|     38|    xmlSecAssert2(BIO_method_type(bio) == BIO_TYPE_MEM, -1);
  ------------------
  |  |  461|     38|        do { \
  |  |  462|     38|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 38]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  202|       |
  203|     38|    switch(format) {
  204|     17|    case xmlSecKeyDataFormatPem:
  ------------------
  |  Branch (204:5): [True: 17, False: 21]
  ------------------
  205|     18|    case xmlSecKeyDataFormatPkcs8Pem:
  ------------------
  |  Branch (205:5): [True: 1, False: 37]
  ------------------
  206|     18|    case xmlSecKeyDataFormatCertPem:
  ------------------
  |  Branch (206:5): [True: 0, False: 38]
  ------------------
  207|       |        /* PEM formats have "end marker" and might contain more data */
  208|     18|        return(1);
  209|     19|    case xmlSecKeyDataFormatDer:
  ------------------
  |  Branch (209:5): [True: 19, False: 19]
  ------------------
  210|     20|    case xmlSecKeyDataFormatPkcs8Der:
  ------------------
  |  Branch (210:5): [True: 1, False: 37]
  ------------------
  211|     20|    case xmlSecKeyDataFormatPkcs12:
  ------------------
  |  Branch (211:5): [True: 0, False: 38]
  ------------------
  212|     20|    case xmlSecKeyDataFormatCertDer:
  ------------------
  |  Branch (212:5): [True: 0, False: 38]
  ------------------
  213|       |        /* DER formats are binary and should consume all data */
  214|     20|        if(BIO_ctrl_pending(bio) > 0) {
  ------------------
  |  Branch (214:12): [True: 15, False: 5]
  ------------------
  215|     15|            xmlSecInvalidSizeDataError("Remaining bytes in buffer", BIO_ctrl_pending(bio), "0 bytes", NULL);
  ------------------
  |  |  497|     15|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|     15|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  498|     15|                    (const char*)(errorObject),             \
  |  |  499|     15|                    NULL,                                   \
  |  |  500|     15|                    XMLSEC_ERRORS_R_INVALID_DATA,           \
  |  |  ------------------
  |  |  |  |   89|     15|#define XMLSEC_ERRORS_R_INVALID_DATA                    12
  |  |  ------------------
  |  |  501|     15|                    "invalid data for '%s': actual=" XMLSEC_SIZE_FMT " and expected %s", \
  |  |  502|     15|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  418|     15|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 15, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  503|     15|                    (actual),                               \
  |  |  504|     15|                    (expected)                              \
  |  |  505|     15|        )
  ------------------
  216|     15|            return (0);
  217|     15|        }
  218|      5|        return (1);
  219|      0|    default:
  ------------------
  |  Branch (219:5): [True: 0, False: 38]
  ------------------
  220|       |        /* unexpected memory bio format */
  221|       |        xmlSecOtherError2(XMLSEC_ERRORS_R_INVALID_FORMAT, NULL, "format=" XMLSEC_ENUM_FMT, XMLSEC_ENUM_CAST(format));
  ------------------
  |  |  942|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  943|      0|                    (const char*)(errorObject),             \
  |  |  944|      0|                    NULL,                                   \
  |  |  945|      0|                    (code),                                 \
  |  |  946|      0|                    (msg), (param)                          \
  |  |  947|      0|        )
  ------------------
  222|      0|        return(-1);
  223|     38|    }
  224|     38|}
app.c:xmlSecOpenSSLDummyPasswordCallback:
 2421|      3|                                   void *userdata) {
 2422|      3|    xmlSecSize bufSize;
 2423|      3|    char* password;
 2424|      3|    size_t passwordSize;
 2425|      3|    int passwordLen;
 2426|      3|    XMLSEC_UNREFERENCED(verify);
  ------------------
  |  |  564|      3|#define XMLSEC_UNREFERENCED(param)   ((void)(param))
  ------------------
 2427|       |
 2428|      3|    xmlSecAssert2(buf != NULL, -1);
  ------------------
  |  |  461|      3|        do { \
  |  |  462|      3|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 3]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|      3|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 3]
  |  |  ------------------
  ------------------
 2429|      3|    xmlSecAssert2(buflen > 1, -1);
  ------------------
  |  |  461|      3|        do { \
  |  |  462|      3|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 3]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|      3|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 3]
  |  |  ------------------
  ------------------
 2430|       |
 2431|      3|    password = (char*)userdata;
 2432|      3|    if(password == NULL) {
  ------------------
  |  Branch (2432:8): [True: 0, False: 3]
  ------------------
 2433|      0|        return(-1);
 2434|      0|    }
 2435|       |
 2436|      3|    passwordSize = strlen(password);
 2437|      3|    XMLSEC_SAFE_CAST_SIZE_T_TO_INT(passwordSize, passwordLen, return(-1), NULL);
  ------------------
  |  |  140|      3|    XMLSEC_SAFE_CAST_MAX_CHECK(size_t, (srcVal), XMLSEC_SIZE_T_FMT,             \
  |  |  ------------------
  |  |  |  |   47|      3|    do {                                                                      \
  |  |  |  |   48|      3|        srcType _xmlsec_srcVal = (srcVal);                                    \
  |  |  |  |   49|      3|        if(_xmlsec_srcVal > (srcType)(dstMax)) {                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (49:12): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   50|      0|            xmlSecImpossibleCastError(srcType, _xmlsec_srcVal, srcFmt,        \
  |  |  |  |  ------------------
  |  |  |  |  |  |  907|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  908|      0|                    (const char*)(errorObject),             \
  |  |  |  |  |  |  909|      0|                    NULL,                                   \
  |  |  |  |  |  |  910|      0|                    XMLSEC_ERRORS_R_CAST_IMPOSSIBLE,        \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_CAST_IMPOSSIBLE                 101
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  911|      0|                    "src-type=" #srcType "; src-val=" srcFmt  \
  |  |  |  |  |  |  912|      0|                    "; dst-type=" #dstType "; dst-min=" dstFmt \
  |  |  |  |  |  |  913|      0|                    "; dst-max=" dstFmt,                    \
  |  |  |  |  |  |  914|      0|                    (srcVal), (dstMinVal), (dstMaxVal)      \
  |  |  |  |  |  |  915|      0|        )
  |  |  |  |  ------------------
  |  |  |  |   51|      0|                dstType, dstMin, dstMax, dstFmt, (errorObject));              \
  |  |  |  |   52|      0|            errorAction;                                                      \
  |  |  |  |   53|      0|        }                                                                     \
  |  |  |  |   54|      3|        (dstVal) = (dstType)_xmlsec_srcVal;                                   \
  |  |  |  |   55|      3|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:13): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  141|      3|        int, (dstVal), "%d", INT_MIN, INT_MAX,                                  \
  |  |  142|      3|        errorAction, (errorObject))
  ------------------
 2438|      3|    if(passwordLen + 1 > buflen) {
  ------------------
  |  Branch (2438:8): [True: 0, False: 3]
  ------------------
 2439|      0|        return(-1);
 2440|      0|    }
 2441|       |
 2442|      3|    XMLSEC_SAFE_CAST_INT_TO_SIZE(buflen, bufSize, return(-1), NULL);
  ------------------
  |  |  364|      3|    XMLSEC_SAFE_CAST_MIN_CHECK(int, (srcVal), "%d",                              \
  |  |  ------------------
  |  |  |  |   60|      3|    do {                                                                      \
  |  |  |  |   61|      3|        srcType _xmlsec_srcVal = (srcVal);                                    \
  |  |  |  |   62|      3|        if(_xmlsec_srcVal < (srcType)(dstMin)) {                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (62:12): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   63|      0|            xmlSecImpossibleCastError(srcType, _xmlsec_srcVal, srcFmt,        \
  |  |  |  |  ------------------
  |  |  |  |  |  |  907|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  908|      0|                    (const char*)(errorObject),             \
  |  |  |  |  |  |  909|      0|                    NULL,                                   \
  |  |  |  |  |  |  910|      0|                    XMLSEC_ERRORS_R_CAST_IMPOSSIBLE,        \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_CAST_IMPOSSIBLE                 101
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  911|      0|                    "src-type=" #srcType "; src-val=" srcFmt  \
  |  |  |  |  |  |  912|      0|                    "; dst-type=" #dstType "; dst-min=" dstFmt \
  |  |  |  |  |  |  913|      0|                    "; dst-max=" dstFmt,                    \
  |  |  |  |  |  |  914|      0|                    (srcVal), (dstMinVal), (dstMaxVal)      \
  |  |  |  |  |  |  915|      0|        )
  |  |  |  |  ------------------
  |  |  |  |   64|      0|                dstType, dstMin, dstMax, dstFmt, (errorObject));              \
  |  |  |  |   65|      0|            errorAction;                                                      \
  |  |  |  |   66|      0|        }                                                                     \
  |  |  |  |   67|      3|        (dstVal) = (dstType)_xmlsec_srcVal;                                   \
  |  |  |  |   68|      3|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:13): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  365|      3|        xmlSecSize, (dstVal), XMLSEC_SIZE_FMT, XMLSEC_SIZE_MIN, XMLSEC_SIZE_MAX, \
  |  |  366|      3|        errorAction, (errorObject))
  ------------------
 2443|       |#if defined(_MSC_VER)
 2444|       |    strcpy_s(buf, bufSize, password);
 2445|       |#else  /* defined(_MSC_VER) */
 2446|      3|    strncpy(buf, password, bufSize);
 2447|      3|    buf[buflen - 1] = '\0'; /* ensure \0 terminated */
 2448|      3|#endif /* defined(_MSC_VER) */
 2449|       |
 2450|      3|    return (passwordLen);
 2451|      3|}

xmlSecOpenSSLTransformAes128CbcGetKlass:
 1119|      1|xmlSecOpenSSLTransformAes128CbcGetKlass(void) {
 1120|      1|    return(&xmlSecOpenSSLAes128CbcKlass);
 1121|      1|}
xmlSecOpenSSLTransformAes192CbcGetKlass:
 1131|      1|xmlSecOpenSSLTransformAes192CbcGetKlass(void) {
 1132|      1|    return(&xmlSecOpenSSLAes192CbcKlass);
 1133|      1|}
xmlSecOpenSSLTransformAes256CbcGetKlass:
 1143|      1|xmlSecOpenSSLTransformAes256CbcGetKlass(void) {
 1144|      1|    return(&xmlSecOpenSSLAes256CbcKlass);
 1145|      1|}
xmlSecOpenSSLTransformAes128GcmGetKlass:
 1161|      1|{
 1162|      1|    return(&xmlSecOpenSSLAes128GcmKlass);
 1163|      1|}
xmlSecOpenSSLTransformAes192GcmGetKlass:
 1174|      1|{
 1175|      1|    return(&xmlSecOpenSSLAes192GcmKlass);
 1176|      1|}
xmlSecOpenSSLTransformAes256GcmGetKlass:
 1187|      1|{
 1188|      1|    return(&xmlSecOpenSSLAes256GcmKlass);
 1189|      1|}
xmlSecOpenSSLTransformCamellia128CbcGetKlass:
 1207|      1|xmlSecOpenSSLTransformCamellia128CbcGetKlass(void) {
 1208|      1|    return(&xmlSecOpenSSLCamellia128CbcKlass);
 1209|      1|}
xmlSecOpenSSLTransformCamellia192CbcGetKlass:
 1219|      1|xmlSecOpenSSLTransformCamellia192CbcGetKlass(void) {
 1220|      1|    return(&xmlSecOpenSSLCamellia192CbcKlass);
 1221|      1|}
xmlSecOpenSSLTransformCamellia256CbcGetKlass:
 1231|      1|xmlSecOpenSSLTransformCamellia256CbcGetKlass(void) {
 1232|      1|    return(&xmlSecOpenSSLCamellia256CbcKlass);
 1233|      1|}
xmlSecOpenSSLTransformDes3CbcGetKlass:
 1246|      1|xmlSecOpenSSLTransformDes3CbcGetKlass(void) {
 1247|      1|    return(&xmlSecOpenSSLDes3CbcKlass);
 1248|      1|}
xmlSecOpenSSLTransformChaCha20GetKlass:
 1331|      1|xmlSecOpenSSLTransformChaCha20GetKlass(void) {
 1332|      1|    return(&xmlSecOpenSSLChaCha20Klass);
 1333|      1|}
xmlSecOpenSSLTransformChaCha20Poly1305GetKlass:
 1406|      1|xmlSecOpenSSLTransformChaCha20Poly1305GetKlass(void) {
 1407|      1|    return(&xmlSecOpenSSLChaCha20Poly1305Klass);
 1408|      1|}

xmlSecCryptoGetFunctions_openssl:
   69|      1|xmlSecCryptoGetFunctions_openssl(void) {
   70|      1|    static xmlSecCryptoDLFunctions functions;
   71|       |
   72|      1|    if(gXmlSecOpenSSLFunctions != NULL) {
  ------------------
  |  Branch (72:8): [True: 0, False: 1]
  ------------------
   73|      0|        return(gXmlSecOpenSSLFunctions);
   74|      0|    }
   75|       |
   76|      1|    memset(&functions, 0, sizeof(functions));
   77|      1|    gXmlSecOpenSSLFunctions = &functions;
   78|       |
   79|       |    /******************************************************************************
   80|       |     *
   81|       |     * Crypto Init/shutdown
   82|       |     *
   83|       |     *****************************************************************************/
   84|      1|    gXmlSecOpenSSLFunctions->cryptoInit                 = xmlSecOpenSSLInit;
   85|      1|    gXmlSecOpenSSLFunctions->cryptoShutdown             = xmlSecOpenSSLShutdown;
   86|      1|    gXmlSecOpenSSLFunctions->cryptoKeysMngrInit         = xmlSecOpenSSLKeysMngrInit;
   87|       |
   88|       |    /******************************************************************************
   89|       |     *
   90|       |     * Key data ids
   91|       |     *
   92|       |     *****************************************************************************/
   93|      1|#ifndef XMLSEC_NO_AES
   94|      1|    gXmlSecOpenSSLFunctions->keyDataAesGetKlass         = xmlSecOpenSSLKeyDataAesGetKlass;
   95|      1|#endif /* XMLSEC_NO_AES */
   96|       |
   97|      1|#ifndef XMLSEC_NO_CAMELLIA
   98|      1|    gXmlSecOpenSSLFunctions->keyDataCamelliaGetKlass    = xmlSecOpenSSLKeyDataCamelliaGetKlass;
   99|      1|#endif /* XMLSEC_NO_CAMELLIA */
  100|       |
  101|      1|#ifndef XMLSEC_NO_CHACHA20
  102|      1|    gXmlSecOpenSSLFunctions->keyDataChaCha20GetKlass    = xmlSecOpenSSLKeyDataChaCha20GetKlass;
  103|      1|#endif /* XMLSEC_NO_CHACHA20 */
  104|       |
  105|      1|#ifndef XMLSEC_NO_CONCATKDF
  106|      1|    gXmlSecOpenSSLFunctions->keyDataConcatKdfGetKlass   = xmlSecOpenSSLKeyDataConcatKdfGetKlass;
  107|      1|#endif /* XMLSEC_NO_CONCATKDF */
  108|       |
  109|      1|#ifndef XMLSEC_NO_DES
  110|      1|    gXmlSecOpenSSLFunctions->keyDataDesGetKlass         = xmlSecOpenSSLKeyDataDesGetKlass;
  111|      1|#endif /* XMLSEC_NO_DES */
  112|       |
  113|      1|#ifndef XMLSEC_NO_DH
  114|      1|    gXmlSecOpenSSLFunctions->keyDataDhGetKlass          = xmlSecOpenSSLKeyDataDhGetKlass;
  115|      1|#endif /* XMLSEC_NO_DH */
  116|       |
  117|      1|#ifndef XMLSEC_NO_DSA
  118|      1|    gXmlSecOpenSSLFunctions->keyDataDsaGetKlass         = xmlSecOpenSSLKeyDataDsaGetKlass;
  119|      1|#endif /* XMLSEC_NO_DSA */
  120|       |
  121|      1|#ifndef XMLSEC_NO_EC
  122|      1|    gXmlSecOpenSSLFunctions->keyDataEcGetKlass          = xmlSecOpenSSLKeyDataEcGetKlass;
  123|      1|#endif /* XMLSEC_NO_EC */
  124|       |
  125|       |#ifndef XMLSEC_NO_GOST
  126|       |    gXmlSecOpenSSLFunctions->keyDataGost2001GetKlass    = xmlSecOpenSSLKeyDataGost2001GetKlass;
  127|       |#endif /* XMLSEC_NO_GOST */
  128|       |
  129|       |#ifndef XMLSEC_NO_GOST2012
  130|       |    gXmlSecOpenSSLFunctions->keyDataGostR3410_2012_256GetKlass = xmlSecOpenSSLKeyDataGostR3410_2012_256GetKlass;
  131|       |    gXmlSecOpenSSLFunctions->keyDataGostR3410_2012_512GetKlass = xmlSecOpenSSLKeyDataGostR3410_2012_512GetKlass;
  132|       |#endif /* XMLSEC_NO_GOST2012 */
  133|       |
  134|      1|#ifndef XMLSEC_NO_HMAC
  135|      1|    gXmlSecOpenSSLFunctions->keyDataHmacGetKlass        = xmlSecOpenSSLKeyDataHmacGetKlass;
  136|      1|#endif /* XMLSEC_NO_HMAC */
  137|       |
  138|      1|#ifndef XMLSEC_NO_PBKDF2
  139|      1|    gXmlSecOpenSSLFunctions->keyDataPbkdf2GetKlass      = xmlSecOpenSSLKeyDataPbkdf2GetKlass;
  140|      1|#endif /* XMLSEC_NO_PBKDF2 */
  141|       |
  142|      1|#ifndef XMLSEC_NO_HKDF
  143|      1|    gXmlSecOpenSSLFunctions->keyDataHkdfGetKlass        = xmlSecOpenSSLKeyDataHkdfGetKlass;
  144|      1|#endif /* XMLSEC_NO_HKDF */
  145|       |
  146|      1|#ifndef XMLSEC_NO_RSA
  147|      1|    gXmlSecOpenSSLFunctions->keyDataRsaGetKlass         = xmlSecOpenSSLKeyDataRsaGetKlass;
  148|      1|#endif /* XMLSEC_NO_RSA */
  149|       |
  150|       |#ifndef XMLSEC_NO_MLDSA
  151|       |    gXmlSecOpenSSLFunctions->keyDataMLDSAGetKlass       = xmlSecOpenSSLKeyDataMLDSAGetKlass;
  152|       |#endif /* XMLSEC_NO_MLDSA */
  153|       |
  154|       |#ifndef XMLSEC_NO_MLKEM
  155|       |    gXmlSecOpenSSLFunctions->keyDataMLKEMGetKlass       = xmlSecOpenSSLKeyDataMLKEMGetKlass;
  156|       |#endif /* XMLSEC_NO_MLKEM */
  157|       |
  158|       |#ifndef XMLSEC_NO_SLHDSA
  159|       |    gXmlSecOpenSSLFunctions->keyDataSLHDSAGetKlass      = xmlSecOpenSSLKeyDataSLHDSAGetKlass;
  160|       |#endif /* XMLSEC_NO_SLHDSA */
  161|       |
  162|       |#ifndef XMLSEC_NO_EDDSA
  163|       |    gXmlSecOpenSSLFunctions->keyDataEdDSAGetKlass       = xmlSecOpenSSLKeyDataEdDSAGetKlass;
  164|       |#endif /* XMLSEC_NO_EDDSA */
  165|       |
  166|      1|#ifndef XMLSEC_NO_XDH
  167|      1|    gXmlSecOpenSSLFunctions->keyDataXdhGetKlass         = xmlSecOpenSSLKeyDataXdhGetKlass;
  168|      1|#endif /* XMLSEC_NO_XDH */
  169|       |
  170|      1|#ifndef XMLSEC_NO_X509
  171|      1|    gXmlSecOpenSSLFunctions->keyDataX509GetKlass        = xmlSecOpenSSLKeyDataX509GetKlass;
  172|      1|    gXmlSecOpenSSLFunctions->keyDataRawX509CertGetKlass = xmlSecOpenSSLKeyDataRawX509CertGetKlass;
  173|      1|#endif /* XMLSEC_NO_X509 */
  174|       |
  175|      1|    gXmlSecOpenSSLFunctions->keyDataDEREncodedKeyValueGetKlass = xmlSecOpenSSLKeyDataDEREncodedKeyValueGetKlass;
  176|       |
  177|       |    /******************************************************************************
  178|       |     *
  179|       |     * Key data store ids
  180|       |     *
  181|       |     *****************************************************************************/
  182|      1|#ifndef XMLSEC_NO_X509
  183|      1|    gXmlSecOpenSSLFunctions->x509StoreGetKlass          = xmlSecOpenSSLX509StoreGetKlass;
  184|      1|#endif /* XMLSEC_NO_X509 */
  185|       |
  186|       |    /******************************************************************************
  187|       |     *
  188|       |     * Crypto transforms ids
  189|       |     *
  190|       |     *****************************************************************************/
  191|       |
  192|       |    /* AES */
  193|      1|#ifndef XMLSEC_NO_AES
  194|      1|    gXmlSecOpenSSLFunctions->transformAes128CbcGetKlass         = xmlSecOpenSSLTransformAes128CbcGetKlass;
  195|      1|    gXmlSecOpenSSLFunctions->transformAes192CbcGetKlass         = xmlSecOpenSSLTransformAes192CbcGetKlass;
  196|      1|    gXmlSecOpenSSLFunctions->transformAes256CbcGetKlass         = xmlSecOpenSSLTransformAes256CbcGetKlass;
  197|      1|    gXmlSecOpenSSLFunctions->transformAes128GcmGetKlass         = xmlSecOpenSSLTransformAes128GcmGetKlass;
  198|      1|    gXmlSecOpenSSLFunctions->transformAes192GcmGetKlass         = xmlSecOpenSSLTransformAes192GcmGetKlass;
  199|      1|    gXmlSecOpenSSLFunctions->transformAes256GcmGetKlass         = xmlSecOpenSSLTransformAes256GcmGetKlass;
  200|      1|    gXmlSecOpenSSLFunctions->transformKWAes128GetKlass          = xmlSecOpenSSLTransformKWAes128GetKlass;
  201|      1|    gXmlSecOpenSSLFunctions->transformKWAes192GetKlass          = xmlSecOpenSSLTransformKWAes192GetKlass;
  202|      1|    gXmlSecOpenSSLFunctions->transformKWAes256GetKlass          = xmlSecOpenSSLTransformKWAes256GetKlass;
  203|      1|#endif /* XMLSEC_NO_AES */
  204|       |
  205|       |
  206|       |    /* CAMELLIA */
  207|      1|#ifndef XMLSEC_NO_CAMELLIA
  208|      1|    gXmlSecOpenSSLFunctions->transformCamellia128CbcGetKlass    = xmlSecOpenSSLTransformCamellia128CbcGetKlass;
  209|      1|    gXmlSecOpenSSLFunctions->transformCamellia192CbcGetKlass    = xmlSecOpenSSLTransformCamellia192CbcGetKlass;
  210|      1|    gXmlSecOpenSSLFunctions->transformCamellia256CbcGetKlass    = xmlSecOpenSSLTransformCamellia256CbcGetKlass;
  211|      1|    gXmlSecOpenSSLFunctions->transformKWCamellia128GetKlass     = xmlSecOpenSSLTransformKWCamellia128GetKlass;
  212|      1|    gXmlSecOpenSSLFunctions->transformKWCamellia192GetKlass     = xmlSecOpenSSLTransformKWCamellia192GetKlass;
  213|      1|    gXmlSecOpenSSLFunctions->transformKWCamellia256GetKlass     = xmlSecOpenSSLTransformKWCamellia256GetKlass;
  214|      1|#endif /* XMLSEC_NO_CAMELLIA */
  215|       |
  216|       |
  217|       |    /* CHACHA20 */
  218|      1|#ifndef XMLSEC_NO_CHACHA20
  219|      1|    gXmlSecOpenSSLFunctions->transformChaCha20GetKlass          = xmlSecOpenSSLTransformChaCha20GetKlass;
  220|      1|    gXmlSecOpenSSLFunctions->transformChaCha20Poly1305GetKlass  = xmlSecOpenSSLTransformChaCha20Poly1305GetKlass;
  221|      1|#endif /* XMLSEC_NO_CHACHA20 */
  222|       |
  223|       |
  224|       |    /* CONCATKDF */
  225|      1|#ifndef XMLSEC_NO_CONCATKDF
  226|      1|    gXmlSecOpenSSLFunctions->transformConcatKdfGetKlass         = xmlSecOpenSSLTransformConcatKdfGetKlass;
  227|      1|#endif /* XMLSEC_NO_CONCATKDF */
  228|       |
  229|       |    /* DES */
  230|      1|#ifndef XMLSEC_NO_DES
  231|      1|    gXmlSecOpenSSLFunctions->transformDes3CbcGetKlass           = xmlSecOpenSSLTransformDes3CbcGetKlass;
  232|      1|    gXmlSecOpenSSLFunctions->transformKWDes3GetKlass            = xmlSecOpenSSLTransformKWDes3GetKlass;
  233|      1|#endif /* XMLSEC_NO_DES */
  234|       |
  235|       |
  236|       |    /* DH */
  237|      1|#ifndef XMLSEC_NO_DH
  238|      1|    gXmlSecOpenSSLFunctions->transformDhEsGetKlass              = xmlSecOpenSSLTransformDhEsGetKlass;
  239|      1|#endif /* XMLSEC_NO_DH */
  240|       |
  241|       |    /* DSA */
  242|      1|#ifndef XMLSEC_NO_DSA
  243|       |
  244|      1|#ifndef XMLSEC_NO_SHA1
  245|      1|    gXmlSecOpenSSLFunctions->transformDsaSha1GetKlass           = xmlSecOpenSSLTransformDsaSha1GetKlass;
  246|      1|#endif /* XMLSEC_NO_SHA1 */
  247|       |
  248|      1|#ifndef XMLSEC_NO_SHA256
  249|      1|    gXmlSecOpenSSLFunctions->transformDsaSha256GetKlass         = xmlSecOpenSSLTransformDsaSha256GetKlass;
  250|      1|#endif /* XMLSEC_NO_SHA256 */
  251|       |
  252|      1|#endif /* XMLSEC_NO_DSA */
  253|       |
  254|       |    /* ECDSA */
  255|      1|#ifndef XMLSEC_NO_EC
  256|      1|    gXmlSecOpenSSLFunctions->transformEcdhGetKlass              = xmlSecOpenSSLTransformEcdhGetKlass;
  257|       |
  258|      1|#ifndef XMLSEC_NO_RIPEMD160
  259|      1|    gXmlSecOpenSSLFunctions->transformEcdsaRipemd160GetKlass     = xmlSecOpenSSLTransformEcdsaRipemd160GetKlass;
  260|      1|#endif /* XMLSEC_NO_RIPEMD160 */
  261|       |
  262|      1|#ifndef XMLSEC_NO_SHA1
  263|      1|    gXmlSecOpenSSLFunctions->transformEcdsaSha1GetKlass         = xmlSecOpenSSLTransformEcdsaSha1GetKlass;
  264|      1|#endif /* XMLSEC_NO_SHA1 */
  265|       |
  266|      1|#ifndef XMLSEC_NO_SHA224
  267|      1|    gXmlSecOpenSSLFunctions->transformEcdsaSha224GetKlass       = xmlSecOpenSSLTransformEcdsaSha224GetKlass;
  268|      1|#endif /* XMLSEC_NO_SHA224 */
  269|       |
  270|      1|#ifndef XMLSEC_NO_SHA256
  271|      1|    gXmlSecOpenSSLFunctions->transformEcdsaSha256GetKlass       = xmlSecOpenSSLTransformEcdsaSha256GetKlass;
  272|      1|#endif /* XMLSEC_NO_SHA256 */
  273|       |
  274|      1|#ifndef XMLSEC_NO_SHA384
  275|      1|    gXmlSecOpenSSLFunctions->transformEcdsaSha384GetKlass       = xmlSecOpenSSLTransformEcdsaSha384GetKlass;
  276|      1|#endif /* XMLSEC_NO_SHA384 */
  277|       |
  278|      1|#ifndef XMLSEC_NO_SHA512
  279|      1|    gXmlSecOpenSSLFunctions->transformEcdsaSha512GetKlass       = xmlSecOpenSSLTransformEcdsaSha512GetKlass;
  280|      1|#endif /* XMLSEC_NO_SHA512 */
  281|       |
  282|       |
  283|      1|#ifndef XMLSEC_NO_SHA3
  284|      1|    gXmlSecOpenSSLFunctions->transformEcdsaSha3_224GetKlass     = xmlSecOpenSSLTransformEcdsaSha3_224GetKlass;
  285|      1|    gXmlSecOpenSSLFunctions->transformEcdsaSha3_256GetKlass     = xmlSecOpenSSLTransformEcdsaSha3_256GetKlass;
  286|      1|    gXmlSecOpenSSLFunctions->transformEcdsaSha3_384GetKlass     = xmlSecOpenSSLTransformEcdsaSha3_384GetKlass;
  287|      1|    gXmlSecOpenSSLFunctions->transformEcdsaSha3_512GetKlass     = xmlSecOpenSSLTransformEcdsaSha3_512GetKlass;
  288|      1|#endif /* XMLSEC_NO_SHA3 */
  289|       |
  290|      1|#endif /* XMLSEC_NO_EC */
  291|       |
  292|       |    /* XDH */
  293|      1|#ifndef XMLSEC_NO_XDH
  294|      1|    gXmlSecOpenSSLFunctions->transformX25519GetKlass            = xmlSecOpenSSLTransformX25519GetKlass;
  295|      1|    gXmlSecOpenSSLFunctions->transformX448GetKlass              = xmlSecOpenSSLTransformX448GetKlass;
  296|      1|#endif /* XMLSEC_NO_XDH */
  297|       |
  298|       |    /* GOST */
  299|       |#ifndef XMLSEC_NO_GOST
  300|       |    gXmlSecOpenSSLFunctions->transformGost2001GostR3411_94GetKlass     = xmlSecOpenSSLTransformGost2001GostR3411_94GetKlass;
  301|       |    gXmlSecOpenSSLFunctions->transformGostR3411_94GetKlass             = xmlSecOpenSSLTransformGostR3411_94GetKlass;
  302|       |#endif /* XMLSEC_NO_GOST */
  303|       |
  304|       |#ifndef XMLSEC_NO_GOST2012
  305|       |    gXmlSecOpenSSLFunctions->transformGostR3411_2012_256GetKlass       = xmlSecOpenSSLTransformGostR3411_2012_256GetKlass;
  306|       |    gXmlSecOpenSSLFunctions->transformGostR3411_2012_512GetKlass       = xmlSecOpenSSLTransformGostR3411_2012_512GetKlass;
  307|       |
  308|       |    gXmlSecOpenSSLFunctions->transformGostR3410_2012GostR3411_2012_256GetKlass = xmlSecOpenSSLTransformGostR3410_2012GostR3411_2012_256GetKlass;
  309|       |    gXmlSecOpenSSLFunctions->transformGostR3410_2012GostR3411_2012_512GetKlass = xmlSecOpenSSLTransformGostR3410_2012GostR3411_2012_512GetKlass;
  310|       |#endif /* XMLSEC_NO_GOST2012 */
  311|       |
  312|       |    /* HMAC */
  313|      1|#ifndef XMLSEC_NO_HMAC
  314|       |
  315|      1|#ifndef XMLSEC_NO_MD5
  316|      1|    gXmlSecOpenSSLFunctions->transformHmacMd5GetKlass           = xmlSecOpenSSLTransformHmacMd5GetKlass;
  317|      1|#endif /* XMLSEC_NO_MD5 */
  318|       |
  319|      1|#ifndef XMLSEC_NO_RIPEMD160
  320|      1|    gXmlSecOpenSSLFunctions->transformHmacRipemd160GetKlass     = xmlSecOpenSSLTransformHmacRipemd160GetKlass;
  321|      1|#endif /* XMLSEC_NO_RIPEMD160 */
  322|       |
  323|      1|#ifndef XMLSEC_NO_SHA1
  324|      1|    gXmlSecOpenSSLFunctions->transformHmacSha1GetKlass          = xmlSecOpenSSLTransformHmacSha1GetKlass;
  325|      1|#endif /* XMLSEC_NO_SHA1 */
  326|       |
  327|      1|#ifndef XMLSEC_NO_SHA224
  328|      1|    gXmlSecOpenSSLFunctions->transformHmacSha224GetKlass        = xmlSecOpenSSLTransformHmacSha224GetKlass;
  329|      1|#endif /* XMLSEC_NO_SHA224 */
  330|       |
  331|      1|#ifndef XMLSEC_NO_SHA256
  332|      1|    gXmlSecOpenSSLFunctions->transformHmacSha256GetKlass        = xmlSecOpenSSLTransformHmacSha256GetKlass;
  333|      1|#endif /* XMLSEC_NO_SHA256 */
  334|       |
  335|      1|#ifndef XMLSEC_NO_SHA384
  336|      1|    gXmlSecOpenSSLFunctions->transformHmacSha384GetKlass        = xmlSecOpenSSLTransformHmacSha384GetKlass;
  337|      1|#endif /* XMLSEC_NO_SHA384 */
  338|       |
  339|      1|#ifndef XMLSEC_NO_SHA512
  340|      1|    gXmlSecOpenSSLFunctions->transformHmacSha512GetKlass        = xmlSecOpenSSLTransformHmacSha512GetKlass;
  341|      1|#endif /* XMLSEC_NO_SHA512 */
  342|       |
  343|      1|#endif /* XMLSEC_NO_HMAC */
  344|       |
  345|       |    /* MD5 */
  346|      1|#ifndef XMLSEC_NO_MD5
  347|      1|    gXmlSecOpenSSLFunctions->transformMd5GetKlass               = xmlSecOpenSSLTransformMd5GetKlass;
  348|      1|#endif /* XMLSEC_NO_MD5 */
  349|       |
  350|       |    /* ML-DSA */
  351|       |#ifndef XMLSEC_NO_MLDSA
  352|       |    gXmlSecOpenSSLFunctions->transformMLDSA44GetKlass            = xmlSecOpenSSLTransformMLDSA44GetKlass;
  353|       |    gXmlSecOpenSSLFunctions->transformMLDSA65GetKlass            = xmlSecOpenSSLTransformMLDSA65GetKlass;
  354|       |    gXmlSecOpenSSLFunctions->transformMLDSA87GetKlass            = xmlSecOpenSSLTransformMLDSA87GetKlass;
  355|       |#endif /* XMLSEC_NO_MLDSA */
  356|       |
  357|       |    /* ML-KEM */
  358|       |#ifndef XMLSEC_NO_MLKEM
  359|       |    gXmlSecOpenSSLFunctions->transformMLKEM512GetKlass           = xmlSecOpenSSLTransformMLKEM512GetKlass;
  360|       |    gXmlSecOpenSSLFunctions->transformMLKEM768GetKlass           = xmlSecOpenSSLTransformMLKEM768GetKlass;
  361|       |    gXmlSecOpenSSLFunctions->transformMLKEM1024GetKlass          = xmlSecOpenSSLTransformMLKEM1024GetKlass;
  362|       |#endif /* XMLSEC_NO_MLKEM */
  363|       |
  364|       |
  365|       |    /* PBKDF2 */
  366|      1|#ifndef XMLSEC_NO_PBKDF2
  367|      1|    gXmlSecOpenSSLFunctions->transformPbkdf2GetKlass            = xmlSecOpenSSLTransformPbkdf2GetKlass;
  368|      1|#endif /* XMLSEC_NO_PBKDF2 */
  369|       |
  370|       |    /* HKDF */
  371|      1|#ifndef XMLSEC_NO_HKDF
  372|      1|    gXmlSecOpenSSLFunctions->transformHkdfGetKlass              = xmlSecOpenSSLTransformHkdfGetKlass;
  373|      1|#endif /* XMLSEC_NO_HKDF */
  374|       |
  375|       |    /* RIPEMD160 */
  376|      1|#ifndef XMLSEC_NO_RIPEMD160
  377|      1|    gXmlSecOpenSSLFunctions->transformRipemd160GetKlass         = xmlSecOpenSSLTransformRipemd160GetKlass;
  378|      1|#endif /* XMLSEC_NO_RIPEMD160 */
  379|       |
  380|       |    /* RSA */
  381|      1|#ifndef XMLSEC_NO_RSA
  382|       |
  383|      1|#ifndef XMLSEC_NO_MD5
  384|      1|    gXmlSecOpenSSLFunctions->transformRsaMd5GetKlass            = xmlSecOpenSSLTransformRsaMd5GetKlass;
  385|      1|#endif /* XMLSEC_NO_MD5 */
  386|       |
  387|      1|#ifndef XMLSEC_NO_RIPEMD160
  388|      1|    gXmlSecOpenSSLFunctions->transformRsaRipemd160GetKlass      = xmlSecOpenSSLTransformRsaRipemd160GetKlass;
  389|      1|#endif /* XMLSEC_NO_RIPEMD160 */
  390|       |
  391|       |
  392|      1|#ifndef XMLSEC_NO_SHA1
  393|      1|    gXmlSecOpenSSLFunctions->transformRsaSha1GetKlass           = xmlSecOpenSSLTransformRsaSha1GetKlass;
  394|      1|#endif /* XMLSEC_NO_SHA1 */
  395|       |
  396|      1|#ifndef XMLSEC_NO_SHA224
  397|      1|    gXmlSecOpenSSLFunctions->transformRsaSha224GetKlass         = xmlSecOpenSSLTransformRsaSha224GetKlass;
  398|      1|#endif /* XMLSEC_NO_SHA224 */
  399|       |
  400|      1|#ifndef XMLSEC_NO_SHA256
  401|      1|    gXmlSecOpenSSLFunctions->transformRsaSha256GetKlass         = xmlSecOpenSSLTransformRsaSha256GetKlass;
  402|      1|#endif /* XMLSEC_NO_SHA256 */
  403|       |
  404|      1|#ifndef XMLSEC_NO_SHA384
  405|      1|    gXmlSecOpenSSLFunctions->transformRsaSha384GetKlass         = xmlSecOpenSSLTransformRsaSha384GetKlass;
  406|      1|#endif /* XMLSEC_NO_SHA384 */
  407|       |
  408|      1|#ifndef XMLSEC_NO_SHA512
  409|      1|    gXmlSecOpenSSLFunctions->transformRsaSha512GetKlass         = xmlSecOpenSSLTransformRsaSha512GetKlass;
  410|      1|#endif /* XMLSEC_NO_SHA512 */
  411|       |
  412|       |
  413|      1|#ifndef XMLSEC_NO_SHA1
  414|      1|    gXmlSecOpenSSLFunctions->transformRsaPssSha1GetKlass       = xmlSecOpenSSLTransformRsaPssSha1GetKlass;
  415|      1|#endif /* XMLSEC_NO_SHA1 */
  416|       |
  417|      1|#ifndef XMLSEC_NO_SHA224
  418|      1|    gXmlSecOpenSSLFunctions->transformRsaPssSha224GetKlass     = xmlSecOpenSSLTransformRsaPssSha224GetKlass;
  419|      1|#endif /* XMLSEC_NO_SHA224 */
  420|       |
  421|      1|#ifndef XMLSEC_NO_SHA256
  422|      1|    gXmlSecOpenSSLFunctions->transformRsaPssSha256GetKlass     = xmlSecOpenSSLTransformRsaPssSha256GetKlass;
  423|      1|#endif /* XMLSEC_NO_SHA256 */
  424|       |
  425|      1|#ifndef XMLSEC_NO_SHA384
  426|      1|    gXmlSecOpenSSLFunctions->transformRsaPssSha384GetKlass     = xmlSecOpenSSLTransformRsaPssSha384GetKlass;
  427|      1|#endif /* XMLSEC_NO_SHA384 */
  428|       |
  429|      1|#ifndef XMLSEC_NO_SHA512
  430|      1|    gXmlSecOpenSSLFunctions->transformRsaPssSha512GetKlass     = xmlSecOpenSSLTransformRsaPssSha512GetKlass;
  431|      1|#endif /* XMLSEC_NO_SHA512 */
  432|       |
  433|       |
  434|      1|#ifndef XMLSEC_NO_SHA3
  435|      1|    gXmlSecOpenSSLFunctions->transformRsaPssSha3_224GetKlass   = xmlSecOpenSSLTransformRsaPssSha3_224GetKlass;
  436|      1|    gXmlSecOpenSSLFunctions->transformRsaPssSha3_256GetKlass   = xmlSecOpenSSLTransformRsaPssSha3_256GetKlass;
  437|      1|    gXmlSecOpenSSLFunctions->transformRsaPssSha3_384GetKlass   = xmlSecOpenSSLTransformRsaPssSha3_384GetKlass;
  438|      1|    gXmlSecOpenSSLFunctions->transformRsaPssSha3_512GetKlass   = xmlSecOpenSSLTransformRsaPssSha3_512GetKlass;
  439|      1|#endif /* XMLSEC_NO_SHA3 */
  440|       |
  441|      1|#ifndef XMLSEC_NO_RSA_PKCS15
  442|      1|    gXmlSecOpenSSLFunctions->transformRsaPkcs1GetKlass          = xmlSecOpenSSLTransformRsaPkcs1GetKlass;
  443|      1|#endif /* XMLSEC_NO_RSA_PKCS15 */
  444|       |
  445|      1|#ifndef XMLSEC_NO_RSA_OAEP
  446|      1|    gXmlSecOpenSSLFunctions->transformRsaOaepGetKlass           = xmlSecOpenSSLTransformRsaOaepGetKlass;
  447|      1|    gXmlSecOpenSSLFunctions->transformRsaOaepEnc11GetKlass      = xmlSecOpenSSLTransformRsaOaepEnc11GetKlass;
  448|      1|#endif /* XMLSEC_NO_RSA_OAEP */
  449|       |
  450|      1|#endif /* XMLSEC_NO_RSA */
  451|       |
  452|       |    /* SLH-DSA */
  453|       |#ifndef XMLSEC_NO_SLHDSA
  454|       |    gXmlSecOpenSSLFunctions->transformSLHDSA_SHA2_128fGetKlass = xmlSecOpenSSLTransformSLHDSA_SHA2_128fGetKlass;
  455|       |    gXmlSecOpenSSLFunctions->transformSLHDSA_SHA2_128sGetKlass = xmlSecOpenSSLTransformSLHDSA_SHA2_128sGetKlass;
  456|       |    gXmlSecOpenSSLFunctions->transformSLHDSA_SHA2_192fGetKlass = xmlSecOpenSSLTransformSLHDSA_SHA2_192fGetKlass;
  457|       |    gXmlSecOpenSSLFunctions->transformSLHDSA_SHA2_192sGetKlass = xmlSecOpenSSLTransformSLHDSA_SHA2_192sGetKlass;
  458|       |    gXmlSecOpenSSLFunctions->transformSLHDSA_SHA2_256fGetKlass = xmlSecOpenSSLTransformSLHDSA_SHA2_256fGetKlass;
  459|       |    gXmlSecOpenSSLFunctions->transformSLHDSA_SHA2_256sGetKlass = xmlSecOpenSSLTransformSLHDSA_SHA2_256sGetKlass;
  460|       |#endif /* XMLSEC_NO_SLHDSA */
  461|       |
  462|       |#ifndef XMLSEC_NO_EDDSA
  463|       |    gXmlSecOpenSSLFunctions->transformEdDSAEd25519GetKlass    = xmlSecOpenSSLTransformEdDSAEd25519GetKlass;
  464|       |    gXmlSecOpenSSLFunctions->transformEdDSAEd25519ctxGetKlass = xmlSecOpenSSLTransformEdDSAEd25519ctxGetKlass;
  465|       |    gXmlSecOpenSSLFunctions->transformEdDSAEd25519phGetKlass  = xmlSecOpenSSLTransformEdDSAEd25519phGetKlass;
  466|       |    gXmlSecOpenSSLFunctions->transformEdDSAEd448GetKlass      = xmlSecOpenSSLTransformEdDSAEd448GetKlass;
  467|       |    gXmlSecOpenSSLFunctions->transformEdDSAEd448phGetKlass    = xmlSecOpenSSLTransformEdDSAEd448phGetKlass;
  468|       |#endif /* XMLSEC_NO_EDDSA */
  469|       |
  470|       |
  471|       |    /* SHA */
  472|      1|#ifndef XMLSEC_NO_SHA1
  473|      1|    gXmlSecOpenSSLFunctions->transformSha1GetKlass              = xmlSecOpenSSLTransformSha1GetKlass;
  474|      1|#endif /* XMLSEC_NO_SHA1 */
  475|       |
  476|      1|#ifndef XMLSEC_NO_SHA224
  477|      1|    gXmlSecOpenSSLFunctions->transformSha224GetKlass            = xmlSecOpenSSLTransformSha224GetKlass;
  478|      1|#endif /* XMLSEC_NO_SHA224 */
  479|       |
  480|      1|#ifndef XMLSEC_NO_SHA256
  481|      1|    gXmlSecOpenSSLFunctions->transformSha256GetKlass            = xmlSecOpenSSLTransformSha256GetKlass;
  482|      1|#endif /* XMLSEC_NO_SHA256 */
  483|       |
  484|      1|#ifndef XMLSEC_NO_SHA384
  485|      1|    gXmlSecOpenSSLFunctions->transformSha384GetKlass            = xmlSecOpenSSLTransformSha384GetKlass;
  486|      1|#endif /* XMLSEC_NO_SHA384 */
  487|       |
  488|      1|#ifndef XMLSEC_NO_SHA512
  489|      1|    gXmlSecOpenSSLFunctions->transformSha512GetKlass            = xmlSecOpenSSLTransformSha512GetKlass;
  490|      1|#endif /* XMLSEC_NO_SHA512 */
  491|       |
  492|       |
  493|      1|#ifndef XMLSEC_NO_SHA3
  494|      1|    gXmlSecOpenSSLFunctions->transformSha3_224GetKlass          = xmlSecOpenSSLTransformSha3_224GetKlass;
  495|      1|    gXmlSecOpenSSLFunctions->transformSha3_256GetKlass          = xmlSecOpenSSLTransformSha3_256GetKlass;
  496|      1|    gXmlSecOpenSSLFunctions->transformSha3_384GetKlass          = xmlSecOpenSSLTransformSha3_384GetKlass;
  497|      1|    gXmlSecOpenSSLFunctions->transformSha3_512GetKlass          = xmlSecOpenSSLTransformSha3_512GetKlass;
  498|      1|#endif /* XMLSEC_NO_SHA3 */
  499|       |
  500|       |    /******************************************************************************
  501|       |     *
  502|       |     * High-level routines for the xmlsec command-line utility
  503|       |     *
  504|       |     *****************************************************************************/
  505|      1|    gXmlSecOpenSSLFunctions->cryptoAppInit                      = xmlSecOpenSSLAppInit;
  506|      1|    gXmlSecOpenSSLFunctions->cryptoAppShutdown                  = xmlSecOpenSSLAppShutdown;
  507|      1|    gXmlSecOpenSSLFunctions->cryptoAppDefaultKeysMngrInit       = xmlSecOpenSSLAppDefaultKeysMngrInit;
  508|      1|    gXmlSecOpenSSLFunctions->cryptoAppDefaultKeysMngrAdoptKey   = xmlSecOpenSSLAppDefaultKeysMngrAdoptKey;
  509|      1|    gXmlSecOpenSSLFunctions->cryptoAppDefaultKeysMngrVerifyKey  = xmlSecOpenSSLAppDefaultKeysMngrVerifyKey;
  510|      1|    gXmlSecOpenSSLFunctions->cryptoAppDefaultKeysMngrLoad       = xmlSecOpenSSLAppDefaultKeysMngrLoad;
  511|      1|    gXmlSecOpenSSLFunctions->cryptoAppDefaultKeysMngrSave       = xmlSecOpenSSLAppDefaultKeysMngrSave;
  512|      1|#ifndef XMLSEC_NO_X509
  513|      1|    gXmlSecOpenSSLFunctions->cryptoAppKeysMngrCertLoad          = xmlSecOpenSSLAppKeysMngrCertLoad;
  514|      1|    gXmlSecOpenSSLFunctions->cryptoAppKeysMngrCertLoadMemory    = xmlSecOpenSSLAppKeysMngrCertLoadMemory;
  515|      1|    gXmlSecOpenSSLFunctions->cryptoAppKeysMngrCrlLoad           = xmlSecOpenSSLAppKeysMngrCrlLoad;
  516|      1|    gXmlSecOpenSSLFunctions->cryptoAppKeysMngrCrlLoadAndVerify  = xmlSecOpenSSLAppKeysMngrCrlLoadAndVerify;
  517|      1|    gXmlSecOpenSSLFunctions->cryptoAppKeysMngrCrlLoadMemory     = xmlSecOpenSSLAppKeysMngrCrlLoadMemory;
  518|      1|    gXmlSecOpenSSLFunctions->cryptoAppPkcs12Load                = xmlSecOpenSSLAppPkcs12Load;
  519|      1|    gXmlSecOpenSSLFunctions->cryptoAppPkcs12LoadMemory          = xmlSecOpenSSLAppPkcs12LoadMemory;
  520|      1|    gXmlSecOpenSSLFunctions->cryptoAppKeyCertLoad               = xmlSecOpenSSLAppKeyCertLoad;
  521|      1|    gXmlSecOpenSSLFunctions->cryptoAppKeyCertLoadMemory         = xmlSecOpenSSLAppKeyCertLoadMemory;
  522|      1|#endif /* XMLSEC_NO_X509 */
  523|      1|    gXmlSecOpenSSLFunctions->cryptoAppKeyLoadEx                 = xmlSecOpenSSLAppKeyLoadEx;
  524|      1|    gXmlSecOpenSSLFunctions->cryptoAppKeyLoadMemory             = xmlSecOpenSSLAppKeyLoadMemory;
  525|      1|    gXmlSecOpenSSLFunctions->cryptoAppDefaultPwdCallback        = xmlSecOpenSSLAppGetDefaultPwdCallback();
  526|       |
  527|      1|    return(gXmlSecOpenSSLFunctions);
  528|      1|}
xmlSecOpenSSLInit:
  536|      1|xmlSecOpenSSLInit (void)  {
  537|       |    /* Check loaded xmlsec library version */
  538|      1|    if(xmlSecCheckVersionExact() != 1) {
  ------------------
  |  |  144|      1|    xmlSecCheckVersionExt(XMLSEC_VERSION_MAJOR, XMLSEC_VERSION_MINOR, XMLSEC_VERSION_SUBMINOR, xmlSecCheckVersionExactMatch)
  |  |  ------------------
  |  |  |  |   23|      1|#define XMLSEC_VERSION_MAJOR    1
  |  |  ------------------
  |  |                   xmlSecCheckVersionExt(XMLSEC_VERSION_MAJOR, XMLSEC_VERSION_MINOR, XMLSEC_VERSION_SUBMINOR, xmlSecCheckVersionExactMatch)
  |  |  ------------------
  |  |  |  |   28|      1|#define XMLSEC_VERSION_MINOR    3
  |  |  ------------------
  |  |                   xmlSecCheckVersionExt(XMLSEC_VERSION_MAJOR, XMLSEC_VERSION_MINOR, XMLSEC_VERSION_SUBMINOR, xmlSecCheckVersionExactMatch)
  |  |  ------------------
  |  |  |  |   33|      1|#define XMLSEC_VERSION_SUBMINOR 14
  |  |  ------------------
  ------------------
  |  Branch (538:8): [True: 0, False: 1]
  ------------------
  539|      0|        xmlSecInternalError("xmlSecCheckVersionExact", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  540|      0|        return(-1);
  541|      0|    }
  542|       |
  543|      1|    if(xmlSecOpenSSLErrorsInit() < 0) {
  ------------------
  |  Branch (543:8): [True: 0, False: 1]
  ------------------
  544|      0|        xmlSecInternalError("xmlSecOpenSSLErrorsInit", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  545|      0|        return(-1);
  546|      0|    }
  547|       |
  548|       |    /* register our klasses */
  549|      1|    if(xmlSecCryptoDLFunctionsRegisterKeyDataAndTransforms(xmlSecCryptoGetFunctions_openssl()) < 0) {
  ------------------
  |  Branch (549:8): [True: 0, False: 1]
  ------------------
  550|      0|        xmlSecInternalError("xmlSecCryptoDLFunctionsRegisterKeyDataAndTransforms", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  551|      0|        return(-1);
  552|      0|    }
  553|       |
  554|      1|    return(0);
  555|      1|}
xmlSecOpenSSLGetLibCtx:
  861|  2.77k|xmlSecOpenSSLGetLibCtx(void) {
  862|  2.77k|    return(gXmlSecOpenSSLLibCtx);
  863|  2.77k|}
xmlSecOpenSSLCreateMemBufBio:
  896|  1.58k|xmlSecOpenSSLCreateMemBufBio(const xmlSecByte *buf, xmlSecSize bufSize) {
  897|  1.58k|    BIO* bio = NULL;
  898|  1.58k|    int bufLen;
  899|       |
  900|  1.58k|    xmlSecAssert2(buf != NULL, NULL);
  ------------------
  |  |  461|  1.58k|        do { \
  |  |  462|  1.58k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 1.58k]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|  1.58k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 1.58k]
  |  |  ------------------
  ------------------
  901|       |
  902|  1.58k|    XMLSEC_SAFE_CAST_SIZE_TO_INT(bufSize, bufLen, return(NULL), NULL);
  ------------------
  |  |  157|  1.58k|    XMLSEC_SAFE_CAST_MAX_CHECK(xmlSecSize, (srcVal), XMLSEC_SIZE_FMT,          \
  |  |  ------------------
  |  |  |  |   47|  1.58k|    do {                                                                      \
  |  |  |  |   48|  1.58k|        srcType _xmlsec_srcVal = (srcVal);                                    \
  |  |  |  |   49|  1.58k|        if(_xmlsec_srcVal > (srcType)(dstMax)) {                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (49:12): [True: 0, False: 1.58k]
  |  |  |  |  ------------------
  |  |  |  |   50|      0|            xmlSecImpossibleCastError(srcType, _xmlsec_srcVal, srcFmt,        \
  |  |  |  |  ------------------
  |  |  |  |  |  |  907|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  908|      0|                    (const char*)(errorObject),             \
  |  |  |  |  |  |  909|      0|                    NULL,                                   \
  |  |  |  |  |  |  910|      0|                    XMLSEC_ERRORS_R_CAST_IMPOSSIBLE,        \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_CAST_IMPOSSIBLE                 101
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  911|      0|                    "src-type=" #srcType "; src-val=" srcFmt  \
  |  |  |  |  |  |  912|      0|                    "; dst-type=" #dstType "; dst-min=" dstFmt \
  |  |  |  |  |  |  913|      0|                    "; dst-max=" dstFmt,                    \
  |  |  |  |  |  |  914|      0|                    (srcVal), (dstMinVal), (dstMaxVal)      \
  |  |  |  |  |  |  915|      0|        )
  |  |  |  |  ------------------
  |  |  |  |   51|      0|                dstType, dstMin, dstMax, dstFmt, (errorObject));              \
  |  |  |  |   52|      0|            errorAction;                                                      \
  |  |  |  |   53|      0|        }                                                                     \
  |  |  |  |   54|  1.58k|        (dstVal) = (dstType)_xmlsec_srcVal;                                   \
  |  |  |  |   55|  1.58k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:13): [Folded, False: 1.58k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  158|  1.58k|        int, (dstVal), "%d", INT_MIN, INT_MAX,                                 \
  |  |  159|  1.58k|        errorAction, (errorObject))
  ------------------
  903|  1.58k|    bio = BIO_new_mem_buf((const void*)buf, bufLen);
  904|  1.58k|    if(bio == NULL) {
  ------------------
  |  Branch (904:8): [True: 0, False: 1.58k]
  ------------------
  905|      0|        xmlSecOpenSSLError2("BIO_new_mem_buf", NULL, "dataSize=%d", bufLen);
  ------------------
  |  |   93|      0|    do {                                                            \
  |  |   94|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   95|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   96|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   97|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   98|      0|                    (const char*)(errorObject),             \
  |  |   99|      0|                    (errorFunction),                        \
  |  |  100|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |  101|      0|                    msg "; openssl error: %s",              \
  |  |  102|      0|                    (param),                                \
  |  |  103|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  104|      0|        );                                                  \
  |  |  105|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (105:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  906|      0|        return(NULL);
  907|      0|    }
  908|  1.58k|    return(bio);
  909|  1.58k|}
crypto.c:xmlSecOpenSSLErrorsInit:
  740|      1|xmlSecOpenSSLErrorsInit(void) {
  741|       |#if defined(XMLSEC_OPENSSL_API_111) && !defined(XMLSEC_OPENSSL_IS_BORINGSSL) && !defined(XMLSEC_OPENSSL_IS_AWSLC) && !defined(OPENSSL_NO_ERR)
  742|       |    xmlSecSize pos;
  743|       |
  744|       |    /*
  745|       |     * get the XMLSec library id, reusing the previously allocated id to
  746|       |     * avoid consuming a new OpenSSL ERR library id on every init
  747|       |     */
  748|       |    if(gXmlSecOpenSSLErrorsLib == 0) {
  749|       |        gXmlSecOpenSSLErrorsLib = ERR_get_next_error_library();
  750|       |        if(gXmlSecOpenSSLErrorsLib <= 0) {
  751|       |            xmlSecInternalError("ERR_get_next_error_library", NULL);
  752|       |            gXmlSecOpenSSLErrorsLib = 0;
  753|       |            return(-1);
  754|       |        }
  755|       |    }
  756|       |
  757|       |    /* initialize xmlsec lib name array */
  758|       |    memset(xmlSecOpenSSLStrLib, 0, sizeof(xmlSecOpenSSLStrLib));
  759|       |    xmlSecOpenSSLStrLib[0].error = ERR_PACK(gXmlSecOpenSSLErrorsLib, 0, 0);
  760|       |    xmlSecOpenSSLStrLib[0].string = gXmlSecOpenSSLErrorsLibName;
  761|       |
  762|       |    /* initialize xmlsec default error array */
  763|       |    memset(xmlSecOpenSSLStrDefReason, 0, sizeof(xmlSecOpenSSLStrDefReason));
  764|       |    xmlSecOpenSSLStrDefReason[0].error = ERR_PACK(gXmlSecOpenSSLErrorsLib, XMLSEC_OPENSSL_ERRORS_FUNCTION, 0);
  765|       |    xmlSecOpenSSLStrDefReason[0].string = gXmlSecOpenSSLErrorsDefault;
  766|       |
  767|       |    /* initialize reasons array */
  768|       |    memset(xmlSecOpenSSLStrReasons, 0, sizeof(xmlSecOpenSSLStrReasons));
  769|       |    for(pos = 0; (pos < XMLSEC_OPENSSL_ERRORS_MAX_NUMBER) && (xmlSecErrorsGetMsg(pos) != NULL); ++pos) {
  770|       |        xmlSecOpenSSLStrReasons[pos].error  = ERR_PACK(gXmlSecOpenSSLErrorsLib, XMLSEC_OPENSSL_ERRORS_FUNCTION, xmlSecErrorsGetCode(pos));
  771|       |        xmlSecOpenSSLStrReasons[pos].string = xmlSecErrorsGetMsg(pos);
  772|       |    }
  773|       |
  774|       |    /* Load xmlsec strings in OpenSSL: this is a best-effort initialization. */
  775|       |    (void) ERR_load_strings(gXmlSecOpenSSLErrorsLib, xmlSecOpenSSLStrLib); /* define xmlsec lib name */
  776|       |    (void) ERR_load_strings(gXmlSecOpenSSLErrorsLib, xmlSecOpenSSLStrDefReason); /* define default reason */
  777|       |    (void) ERR_load_strings(gXmlSecOpenSSLErrorsLib, xmlSecOpenSSLStrReasons);
  778|       |#endif /* defined(XMLSEC_OPENSSL_API_111) && !defined(XMLSEC_OPENSSL_IS_BORINGSSL) && !defined(XMLSEC_OPENSSL_IS_AWSLC) && !defined(OPENSSL_NO_ERR) */
  779|       |
  780|       |    /* and set default errors callback for xmlsec to use OpenSSL specific callback */
  781|      1|    xmlSecErrorsSetSystemCallback(xmlSecOpenSSLErrorsDefaultCallback);
  782|       |
  783|      1|    return(0);
  784|      1|}

xmlSecOpenSSLKeyDataDEREncodedKeyValueGetKlass:
  113|      1|xmlSecOpenSSLKeyDataDEREncodedKeyValueGetKlass(void) {
  114|      1|    return(&xmlSecOpenSSLKeyDataDEREncodedKeyValueKlass);
  115|      1|}

xmlSecOpenSSLTransformMd5GetKlass:
  519|      1|xmlSecOpenSSLTransformMd5GetKlass(void) {
  520|      1|    return(&xmlSecOpenSSLMd5Klass);
  521|      1|}
xmlSecOpenSSLTransformRipemd160GetKlass:
  538|      1|xmlSecOpenSSLTransformRipemd160GetKlass(void) {
  539|      1|    return(&xmlSecOpenSSLRipemd160Klass);
  540|      1|}
xmlSecOpenSSLTransformSha1GetKlass:
  558|      1|xmlSecOpenSSLTransformSha1GetKlass(void) {
  559|      1|    return(&xmlSecOpenSSLSha1Klass);
  560|      1|}
xmlSecOpenSSLTransformSha224GetKlass:
  577|      1|xmlSecOpenSSLTransformSha224GetKlass(void) {
  578|      1|    return(&xmlSecOpenSSLSha224Klass);
  579|      1|}
xmlSecOpenSSLTransformSha256GetKlass:
  596|      1|xmlSecOpenSSLTransformSha256GetKlass(void) {
  597|      1|    return(&xmlSecOpenSSLSha256Klass);
  598|      1|}
xmlSecOpenSSLTransformSha384GetKlass:
  615|      1|xmlSecOpenSSLTransformSha384GetKlass(void) {
  616|      1|    return(&xmlSecOpenSSLSha384Klass);
  617|      1|}
xmlSecOpenSSLTransformSha512GetKlass:
  634|      1|xmlSecOpenSSLTransformSha512GetKlass(void) {
  635|      1|    return(&xmlSecOpenSSLSha512Klass);
  636|      1|}
xmlSecOpenSSLTransformSha3_224GetKlass:
  654|      1|xmlSecOpenSSLTransformSha3_224GetKlass(void) {
  655|      1|    return(&xmlSecOpenSSLSha3_224Klass);
  656|      1|}
xmlSecOpenSSLTransformSha3_256GetKlass:
  671|      1|xmlSecOpenSSLTransformSha3_256GetKlass(void) {
  672|      1|    return(&xmlSecOpenSSLSha3_256Klass);
  673|      1|}
xmlSecOpenSSLTransformSha3_384GetKlass:
  688|      1|xmlSecOpenSSLTransformSha3_384GetKlass(void) {
  689|      1|    return(&xmlSecOpenSSLSha3_384Klass);
  690|      1|}
xmlSecOpenSSLTransformSha3_512GetKlass:
  705|      1|xmlSecOpenSSLTransformSha3_512GetKlass(void) {
  706|      1|    return(&xmlSecOpenSSLSha3_512Klass);
  707|      1|}

xmlSecOpenSSLEvpKeyDataAdoptEvp:
  159|     38|xmlSecOpenSSLEvpKeyDataAdoptEvp(xmlSecKeyDataPtr data, EVP_PKEY* pKey) {
  160|     38|    xmlSecOpenSSLEvpKeyDataCtxPtr ctx;
  161|       |
  162|     38|    xmlSecAssert2(xmlSecKeyDataIsValid(data), -1);
  ------------------
  |  |  461|     38|        do { \
  |  |  462|    304|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  163|     38|    xmlSecAssert2(xmlSecKeyDataCheckSize(data, xmlSecOpenSSLEvpKeyDataSize), -1);
  ------------------
  |  |  461|     38|        do { \
  |  |  462|    380|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  164|     38|    xmlSecAssert2(pKey != NULL, -1);
  ------------------
  |  |  461|     38|        do { \
  |  |  462|     38|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 38]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  165|       |
  166|     38|    ctx = xmlSecOpenSSLEvpKeyDataGetCtx(data);
  167|     38|    xmlSecAssert2(ctx != NULL, -1);
  ------------------
  |  |  461|     38|        do { \
  |  |  462|     38|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 38]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  168|       |
  169|     38|    if(ctx->pKey != NULL) {
  ------------------
  |  Branch (169:8): [True: 0, False: 38]
  ------------------
  170|      0|        EVP_PKEY_free(ctx->pKey);
  171|      0|    }
  172|     38|    ctx->pKey = pKey;
  173|     38|    return(0);
  174|     38|}
xmlSecOpenSSLEvpKeyAdopt:
  908|     39|xmlSecOpenSSLEvpKeyAdopt(EVP_PKEY *pKey) {
  909|     39|    xmlSecKeyDataPtr data = NULL;
  910|     39|    xmlSecKeyDataId id;
  911|     39|    int ret;
  912|       |
  913|     39|    xmlSecAssert2(pKey != NULL, NULL);
  ------------------
  |  |  461|     39|        do { \
  |  |  462|     39|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 39]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     39|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 39]
  |  |  ------------------
  ------------------
  914|       |
  915|     39|    id = xmlSecOpenSSLEvpKeyGetKeyDataId(pKey);
  916|     39|    if(id == NULL) {
  ------------------
  |  Branch (916:8): [True: 1, False: 38]
  ------------------
  917|      1|        xmlSecInvalidIntegerTypeError("evp key type", xmlSecOpenSSLEvpKeyGetId(pKey), "unsupported evp key type", NULL);
  ------------------
  |  |  573|      1|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      1|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  574|      1|                    (const char*)(errorObject),             \
  |  |  575|      1|                    NULL,                                   \
  |  |  576|      1|                    XMLSEC_ERRORS_R_INVALID_TYPE,           \
  |  |  ------------------
  |  |  |  |   99|      1|#define XMLSEC_ERRORS_R_INVALID_TYPE                    14
  |  |  ------------------
  |  |  577|      1|                    "invalid type for '%s': actual=%d and expected %s", \
  |  |  578|      1|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  418|      1|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 1, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  579|      1|                    (actual),                               \
  |  |  580|      1|                    (expected)                              \
  |  |  581|      1|        )
  ------------------
  918|      1|        return(NULL);
  919|      1|    }
  920|       |
  921|     38|    data = xmlSecKeyDataCreate(id);
  922|     38|    if(data == NULL) {
  ------------------
  |  Branch (922:8): [True: 0, False: 38]
  ------------------
  923|      0|        xmlSecInternalError("xmlSecKeyDataCreate", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  924|      0|        return(NULL);
  925|      0|    }
  926|       |
  927|     38|    ret = xmlSecOpenSSLEvpKeyDataAdoptEvp(data, pKey);
  928|     38|    if(ret < 0) {
  ------------------
  |  Branch (928:8): [True: 0, False: 38]
  ------------------
  929|      0|        xmlSecInternalError("xmlSecOpenSSLEvpKeyDataAdoptEvp", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  930|      0|        xmlSecKeyDataDestroy(data);
  931|      0|        return(NULL);
  932|      0|    }
  933|     38|    pKey = NULL;
  934|       |
  935|     38|    return(data);
  936|     38|}
xmlSecOpenSSLKeyDataDsaGetKlass:
 1070|     17|xmlSecOpenSSLKeyDataDsaGetKlass(void) {
 1071|     17|    return(&xmlSecOpenSSLKeyDataDsaKlass);
 1072|     17|}
xmlSecOpenSSLKeyDataDhGetKlass:
 1841|      1|xmlSecOpenSSLKeyDataDhGetKlass(void) {
 1842|      1|    return(&xmlSecOpenSSLKeyDataDhKlass);
 1843|      1|}
xmlSecOpenSSLKeyDataEcGetKlass:
 2640|      1|xmlSecOpenSSLKeyDataEcGetKlass(void) {
 2641|      1|    return(&xmlSecOpenSSLKeyDataEcKlass);
 2642|      1|}
xmlSecOpenSSLKeyDataRsaGetKlass:
 3282|      2|xmlSecOpenSSLKeyDataRsaGetKlass(void) {
 3283|      2|    return(&xmlSecOpenSSLKeyDataRsaKlass);
 3284|      2|}
xmlSecOpenSSLKeyDataXdhGetKlass:
 4299|     22|xmlSecOpenSSLKeyDataXdhGetKlass(void) {
 4300|     22|    return(&xmlSecOpenSSLKeyDataXdhKlass);
 4301|     22|}
evp.c:xmlSecOpenSSLEvpKeyGetKeyDataId:
  819|     39|xmlSecOpenSSLEvpKeyGetKeyDataId(EVP_PKEY *pKey) {
  820|       |
  821|     39|    xmlSecAssert2(pKey != NULL, NULL);
  ------------------
  |  |  461|     39|        do { \
  |  |  462|     39|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 39]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     39|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 39]
  |  |  ------------------
  ------------------
  822|       |
  823|     39|    switch(xmlSecOpenSSLEvpKeyGetId(pKey)) {
  ------------------
  |  Branch (823:12): [True: 38, False: 1]
  ------------------
  824|      0|#ifndef XMLSEC_NO_DH
  825|      0|    case EVP_PKEY_DH:
  ------------------
  |  Branch (825:5): [True: 0, False: 39]
  ------------------
  826|      0|    case EVP_PKEY_DHX:
  ------------------
  |  Branch (826:5): [True: 0, False: 39]
  ------------------
  827|      0|        return (xmlSecOpenSSLKeyDataDhId);
  ------------------
  |  |  596|      0|        xmlSecOpenSSLKeyDataDhGetKlass()
  ------------------
  828|      0|#endif /* XMLSEC_NO_DH */
  829|       |
  830|      0|#ifndef XMLSEC_NO_DSA
  831|     16|    case EVP_PKEY_DSA:
  ------------------
  |  Branch (831:5): [True: 16, False: 23]
  ------------------
  832|     16|        return (xmlSecOpenSSLKeyDataDsaId);
  ------------------
  |  |  557|     16|        xmlSecOpenSSLKeyDataDsaGetKlass()
  ------------------
  833|      0|#endif /* XMLSEC_NO_DSA */
  834|       |
  835|      0|#ifndef XMLSEC_NO_EC
  836|      0|    case EVP_PKEY_EC:
  ------------------
  |  Branch (836:5): [True: 0, False: 39]
  ------------------
  837|      0|        return (xmlSecOpenSSLKeyDataEcId);
  ------------------
  |  |  638|      0|        xmlSecOpenSSLKeyDataEcGetKlass()
  ------------------
  838|      0|#endif /* XMLSEC_NO_EC */
  839|       |
  840|       |#ifndef XMLSEC_NO_GOST
  841|       |    case NID_id_GostR3410_2001:
  842|       |        return (xmlSecOpenSSLKeyDataGost2001Id);
  843|       |#endif /* XMLSEC_NO_GOST */
  844|       |
  845|       |#ifndef XMLSEC_NO_GOST2012
  846|       |    case NID_id_GostR3410_2012_256:
  847|       |        return (xmlSecOpenSSLKeyDataGostR3410_2012_256Id);
  848|       |
  849|       |    case NID_id_GostR3410_2012_512:
  850|       |        return (xmlSecOpenSSLKeyDataGostR3410_2012_512Id);
  851|       |#endif /* XMLSEC_NO_GOST2012 */
  852|       |
  853|       |#ifndef XMLSEC_NO_MLDSA
  854|       |    case EVP_PKEY_ML_DSA_44:
  855|       |    case EVP_PKEY_ML_DSA_65:
  856|       |    case EVP_PKEY_ML_DSA_87:
  857|       |        return (xmlSecOpenSSLKeyDataMLDSAId);
  858|       |#endif /* XMLSEC_NO_MLDSA */
  859|       |
  860|       |#ifndef XMLSEC_NO_MLKEM
  861|       |    case NID_ML_KEM_512:
  862|       |    case NID_ML_KEM_768:
  863|       |    case NID_ML_KEM_1024:
  864|       |        return (xmlSecOpenSSLKeyDataMLKEMId);
  865|       |#endif /* XMLSEC_NO_MLKEM */
  866|       |
  867|       |#ifndef XMLSEC_NO_SLHDSA
  868|       |    case EVP_PKEY_SLH_DSA_SHA2_128F:
  869|       |    case EVP_PKEY_SLH_DSA_SHA2_128S:
  870|       |    case EVP_PKEY_SLH_DSA_SHA2_192F:
  871|       |    case EVP_PKEY_SLH_DSA_SHA2_192S:
  872|       |    case EVP_PKEY_SLH_DSA_SHA2_256F:
  873|       |    case EVP_PKEY_SLH_DSA_SHA2_256S:
  874|       |        return (xmlSecOpenSSLKeyDataSLHDSAId);
  875|       |#endif /* XMLSEC_NO_SLHDSA */
  876|       |
  877|       |#ifndef XMLSEC_NO_EDDSA
  878|       |    case EVP_PKEY_ED25519:
  879|       |    case EVP_PKEY_ED448:
  880|       |        return (xmlSecOpenSSLKeyDataEdDSAId);
  881|       |#endif /* XMLSEC_NO_EDDSA */
  882|       |
  883|      0|#ifndef XMLSEC_NO_XDH
  884|     20|    case EVP_PKEY_X25519:
  ------------------
  |  Branch (884:5): [True: 20, False: 19]
  ------------------
  885|     21|    case EVP_PKEY_X448:
  ------------------
  |  Branch (885:5): [True: 1, False: 38]
  ------------------
  886|     21|        return (xmlSecOpenSSLKeyDataXdhId);
  ------------------
  |  | 1401|     21|        xmlSecOpenSSLKeyDataXdhGetKlass()
  ------------------
  887|      0|#endif /* XMLSEC_NO_XDH */
  888|       |
  889|      0|#ifndef XMLSEC_NO_RSA
  890|      1|    case EVP_PKEY_RSA:
  ------------------
  |  Branch (890:5): [True: 1, False: 38]
  ------------------
  891|      1|    case EVP_PKEY_RSA2:
  ------------------
  |  Branch (891:5): [True: 0, False: 39]
  ------------------
  892|      1|    case EVP_PKEY_RSA_PSS:
  ------------------
  |  Branch (892:5): [True: 0, False: 39]
  ------------------
  893|      1|        return (xmlSecOpenSSLKeyDataRsaId);
  ------------------
  |  | 1005|      1|        xmlSecOpenSSLKeyDataRsaGetKlass()
  ------------------
  894|     39|#endif /* XMLSEC_NO_RSA */
  895|     39|    }
  896|       |
  897|       |    /* no luck */
  898|      1|    return(NULL);
  899|     39|}
evp.c:xmlSecOpenSSLEvpKeyGetId:
  757|     40|xmlSecOpenSSLEvpKeyGetId(EVP_PKEY *pKey) {
  758|     40|    const char * typeName;
  759|     40|    int id;
  760|       |
  761|     40|    xmlSecAssert2(pKey != NULL, EVP_PKEY_NONE);
  ------------------
  |  |  461|     40|        do { \
  |  |  462|     40|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 40]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     40|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 40]
  |  |  ------------------
  ------------------
  762|       |
  763|     40|    id = EVP_PKEY_base_id(pKey);
  764|     40|    if(id != EVP_PKEY_NONE) {
  ------------------
  |  Branch (764:8): [True: 40, False: 0]
  ------------------
  765|     40|        return(id);
  766|     40|    }
  767|      0|    typeName = EVP_PKEY_get0_type_name(pKey);
  768|      0|    if(typeName != NULL) {
  ------------------
  |  Branch (768:8): [True: 0, False: 0]
  ------------------
  769|       |#ifndef XMLSEC_NO_MLDSA
  770|       |        if(strcmp(LN_ML_DSA_44, typeName) == 0) {
  771|       |            return (EVP_PKEY_ML_DSA_44);
  772|       |        } else if(strcmp(LN_ML_DSA_65, typeName) == 0) {
  773|       |            return (EVP_PKEY_ML_DSA_65);
  774|       |        } else if(strcmp(LN_ML_DSA_87, typeName) == 0) {
  775|       |            return (EVP_PKEY_ML_DSA_87);
  776|       |        }
  777|       |#endif /* XMLSEC_NO_MLDSA */
  778|       |
  779|       |#ifndef XMLSEC_NO_MLKEM
  780|       |        if(strcmp(LN_ML_KEM_512, typeName) == 0) {
  781|       |            return (NID_ML_KEM_512);
  782|       |        } else if(strcmp(LN_ML_KEM_768, typeName) == 0) {
  783|       |            return (NID_ML_KEM_768);
  784|       |        } else if(strcmp(LN_ML_KEM_1024, typeName) == 0) {
  785|       |            return (NID_ML_KEM_1024);
  786|       |        }
  787|       |#endif /* XMLSEC_NO_MLKEM */
  788|       |
  789|       |#ifndef XMLSEC_NO_SLHDSA
  790|       |        if(strcmp(LN_SLH_DSA_SHA2_128f, typeName) == 0) {
  791|       |            return (EVP_PKEY_SLH_DSA_SHA2_128F);
  792|       |        } else if(strcmp(LN_SLH_DSA_SHA2_128s, typeName) == 0) {
  793|       |            return (EVP_PKEY_SLH_DSA_SHA2_128S);
  794|       |        } else if(strcmp(LN_SLH_DSA_SHA2_192f, typeName) == 0) {
  795|       |            return (EVP_PKEY_SLH_DSA_SHA2_192F);
  796|       |        } else if(strcmp(LN_SLH_DSA_SHA2_192s, typeName) == 0) {
  797|       |            return (EVP_PKEY_SLH_DSA_SHA2_192S);
  798|       |        } else if(strcmp(LN_SLH_DSA_SHA2_256f, typeName) == 0) {
  799|       |            return (EVP_PKEY_SLH_DSA_SHA2_256F);
  800|       |        } else if(strcmp(LN_SLH_DSA_SHA2_256s, typeName) == 0) {
  801|       |            return (EVP_PKEY_SLH_DSA_SHA2_256S);
  802|       |        }
  803|       |#endif /* XMLSEC_NO_SLHDSA */
  804|       |
  805|      0|    }
  806|       |
  807|       |    /* no luck */
  808|       |    return(EVP_PKEY_NONE);
  809|     40|}
evp.c:xmlSecOpenSSLEvpKeyDataInitialize:
  215|     38|xmlSecOpenSSLEvpKeyDataInitialize(xmlSecKeyDataPtr data) {
  216|     38|    xmlSecOpenSSLEvpKeyDataCtxPtr ctx;
  217|       |
  218|     38|    xmlSecAssert2(xmlSecKeyDataIsValid(data), -1);
  ------------------
  |  |  461|     38|        do { \
  |  |  462|    304|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  219|     38|    xmlSecAssert2(xmlSecKeyDataCheckSize(data, xmlSecOpenSSLEvpKeyDataSize), -1);
  ------------------
  |  |  461|     38|        do { \
  |  |  462|    380|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  |  Branch (462:19): [True: 38, False: 0]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  220|       |
  221|     38|    ctx = xmlSecOpenSSLEvpKeyDataGetCtx(data);
  222|     38|    xmlSecAssert2(ctx != NULL, -1);
  ------------------
  |  |  461|     38|        do { \
  |  |  462|     38|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 38]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  223|       |
  224|     38|    memset(ctx, 0, sizeof(xmlSecOpenSSLEvpKeyDataCtx));
  225|       |
  226|     38|    return(0);
  227|     38|}
evp.c:xmlSecOpenSSLEvpKeyDataFinalize:
  261|     38|xmlSecOpenSSLEvpKeyDataFinalize(xmlSecKeyDataPtr data) {
  262|     38|    xmlSecOpenSSLEvpKeyDataCtxPtr ctx;
  263|       |
  264|     38|    xmlSecAssert(xmlSecKeyDataIsValid(data));
  ------------------
  |  |  444|     38|        do { \
  |  |  445|    304|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (445:19): [True: 38, False: 0]
  |  |  |  Branch (445:19): [True: 38, False: 0]
  |  |  |  Branch (445:19): [True: 38, False: 0]
  |  |  |  Branch (445:19): [True: 38, False: 0]
  |  |  |  Branch (445:19): [True: 38, False: 0]
  |  |  ------------------
  |  |  446|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  447|      0|                            NULL, \
  |  |  448|      0|                            #p, \
  |  |  449|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  450|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  451|      0|                return; \
  |  |  452|      0|            } \
  |  |  453|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (453:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  265|     38|    xmlSecAssert(xmlSecKeyDataCheckSize(data, xmlSecOpenSSLEvpKeyDataSize));
  ------------------
  |  |  444|     38|        do { \
  |  |  445|    380|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (445:19): [True: 38, False: 0]
  |  |  |  Branch (445:19): [True: 38, False: 0]
  |  |  |  Branch (445:19): [True: 38, False: 0]
  |  |  |  Branch (445:19): [True: 38, False: 0]
  |  |  |  Branch (445:19): [True: 38, False: 0]
  |  |  |  Branch (445:19): [True: 38, False: 0]
  |  |  ------------------
  |  |  446|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  447|      0|                            NULL, \
  |  |  448|      0|                            #p, \
  |  |  449|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  450|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  451|      0|                return; \
  |  |  452|      0|            } \
  |  |  453|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (453:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  266|       |
  267|     38|    ctx = xmlSecOpenSSLEvpKeyDataGetCtx(data);
  268|     38|    xmlSecAssert(ctx != NULL);
  ------------------
  |  |  444|     38|        do { \
  |  |  445|     38|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (445:16): [True: 0, False: 38]
  |  |  ------------------
  |  |  446|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  447|      0|                            NULL, \
  |  |  448|      0|                            #p, \
  |  |  449|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  450|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  451|      0|                return; \
  |  |  452|      0|            } \
  |  |  453|     38|        } while(0)
  |  |  ------------------
  |  |  |  Branch (453:17): [Folded, False: 38]
  |  |  ------------------
  ------------------
  269|       |
  270|     38|    if(ctx->pKey != NULL) {
  ------------------
  |  Branch (270:8): [True: 38, False: 0]
  ------------------
  271|     38|        EVP_PKEY_free(ctx->pKey);
  272|     38|    }
  273|     38|    OPENSSL_cleanse(ctx, sizeof(xmlSecOpenSSLEvpKeyDataCtx));
  274|     38|}

xmlSecOpenSSLTransformHmacMd5GetKlass:
  632|      1|xmlSecOpenSSLTransformHmacMd5GetKlass(void) {
  633|      1|    return(&xmlSecOpenSSLHmacMd5Klass);
  634|      1|}
xmlSecOpenSSLTransformHmacRipemd160GetKlass:
  648|      1|xmlSecOpenSSLTransformHmacRipemd160GetKlass(void) {
  649|      1|    return(&xmlSecOpenSSLHmacRipemd160Klass);
  650|      1|}
xmlSecOpenSSLTransformHmacSha1GetKlass:
  662|      1|xmlSecOpenSSLTransformHmacSha1GetKlass(void) {
  663|      1|    return(&xmlSecOpenSSLHmacSha1Klass);
  664|      1|}
xmlSecOpenSSLTransformHmacSha224GetKlass:
  677|      1|xmlSecOpenSSLTransformHmacSha224GetKlass(void) {
  678|      1|    return(&xmlSecOpenSSLHmacSha224Klass);
  679|      1|}
xmlSecOpenSSLTransformHmacSha256GetKlass:
  692|      1|xmlSecOpenSSLTransformHmacSha256GetKlass(void) {
  693|      1|    return(&xmlSecOpenSSLHmacSha256Klass);
  694|      1|}
xmlSecOpenSSLTransformHmacSha384GetKlass:
  707|      1|xmlSecOpenSSLTransformHmacSha384GetKlass(void) {
  708|      1|    return(&xmlSecOpenSSLHmacSha384Klass);
  709|      1|}
xmlSecOpenSSLTransformHmacSha512GetKlass:
  722|      1|xmlSecOpenSSLTransformHmacSha512GetKlass(void) {
  723|      1|    return(&xmlSecOpenSSLHmacSha512Klass);
  724|      1|}

xmlSecOpenSSLTransformConcatKdfGetKlass:
  608|      1|xmlSecOpenSSLTransformConcatKdfGetKlass(void) {
  609|      1|    return(&xmlSecOpenSSLConcatKdfKlass);
  610|      1|}
xmlSecOpenSSLTransformPbkdf2GetKlass:
  821|      1|xmlSecOpenSSLTransformPbkdf2GetKlass(void) {
  822|      1|    return(&xmlSecOpenSSLPbkdf2Klass);
  823|      1|}
xmlSecOpenSSLTransformHkdfGetKlass:
 1034|      1|xmlSecOpenSSLTransformHkdfGetKlass(void) {
 1035|      1|    return(&xmlSecOpenSSLHkdfKlass);
 1036|      1|}

xmlSecOpenSSLTransformEcdhGetKlass:
  567|      1|xmlSecOpenSSLTransformEcdhGetKlass(void) {
  568|      1|    return(&xmlSecOpenSSLEcdhKlass);
  569|      1|}
xmlSecOpenSSLTransformDhEsGetKlass:
  596|      1|xmlSecOpenSSLTransformDhEsGetKlass(void) {
  597|      1|    return(&xmlSecOpenSSLDhKlass);
  598|      1|}
xmlSecOpenSSLTransformX25519GetKlass:
  619|      1|xmlSecOpenSSLTransformX25519GetKlass(void) {
  620|      1|    return(&xmlSecOpenSSLX25519Klass);
  621|      1|}
xmlSecOpenSSLTransformX448GetKlass:
  631|      1|xmlSecOpenSSLTransformX448GetKlass(void) {
  632|      1|    return(&xmlSecOpenSSLX448Klass);
  633|      1|}

xmlSecOpenSSLTransformRsaPkcs1GetKlass:
  126|      1|xmlSecOpenSSLTransformRsaPkcs1GetKlass(void) {
  127|      1|    return(&xmlSecOpenSSLRsaPkcs1Klass);
  128|      1|}
xmlSecOpenSSLTransformRsaOaepGetKlass:
  668|      1|xmlSecOpenSSLTransformRsaOaepGetKlass(void) {
  669|      1|    return(&xmlSecOpenSSLRsaOaepKlass);
  670|      1|}
xmlSecOpenSSLTransformRsaOaepEnc11GetKlass:
  705|      1|xmlSecOpenSSLTransformRsaOaepEnc11GetKlass(void) {
  706|      1|    return(&xmlSecOpenSSLRsaOaepEnc11Klass);
  707|      1|}

xmlSecOpenSSLTransformKWDes3GetKlass:
  157|      1|xmlSecOpenSSLTransformKWDes3GetKlass(void) {
  158|      1|    return(&xmlSecOpenSSLKWDes3Klass);
  159|      1|}

xmlSecOpenSSLTransformKWAes128GetKlass:
  688|      1|xmlSecOpenSSLTransformKWAes128GetKlass(void) {
  689|      1|    return(&xmlSecOpenSSLKWAes128Klass);
  690|      1|}
xmlSecOpenSSLTransformKWAes192GetKlass:
  700|      1|xmlSecOpenSSLTransformKWAes192GetKlass(void) {
  701|      1|    return(&xmlSecOpenSSLKWAes192Klass);
  702|      1|}
xmlSecOpenSSLTransformKWAes256GetKlass:
  711|      1|xmlSecOpenSSLTransformKWAes256GetKlass(void) {
  712|      1|    return(&xmlSecOpenSSLKWAes256Klass);
  713|      1|}
xmlSecOpenSSLTransformKWCamellia128GetKlass:
  779|      1|xmlSecOpenSSLTransformKWCamellia128GetKlass(void) {
  780|      1|    return(&xmlSecOpenSSLKWCamellia128Klass);
  781|      1|}
xmlSecOpenSSLTransformKWCamellia192GetKlass:
  790|      1|xmlSecOpenSSLTransformKWCamellia192GetKlass(void) {
  791|      1|    return(&xmlSecOpenSSLKWCamellia192Klass);
  792|      1|}
xmlSecOpenSSLTransformKWCamellia256GetKlass:
  801|      1|xmlSecOpenSSLTransformKWCamellia256GetKlass(void) {
  802|      1|    return(&xmlSecOpenSSLKWCamellia256Klass);
  803|      1|}

xmlSecOpenSSLTransformRsaMd5GetKlass:
 1618|      1|xmlSecOpenSSLTransformRsaMd5GetKlass(void) {
 1619|      1|    return(&xmlSecOpenSSLRsaMd5Klass);
 1620|      1|}
xmlSecOpenSSLTransformRsaRipemd160GetKlass:
 1633|      1|xmlSecOpenSSLTransformRsaRipemd160GetKlass(void) {
 1634|      1|    return(&xmlSecOpenSSLRsaRipemd160Klass);
 1635|      1|}
xmlSecOpenSSLTransformRsaSha1GetKlass:
 1648|      1|xmlSecOpenSSLTransformRsaSha1GetKlass(void) {
 1649|      1|    return(&xmlSecOpenSSLRsaSha1Klass);
 1650|      1|}
xmlSecOpenSSLTransformRsaSha224GetKlass:
 1663|      1|xmlSecOpenSSLTransformRsaSha224GetKlass(void) {
 1664|      1|    return(&xmlSecOpenSSLRsaSha224Klass);
 1665|      1|}
xmlSecOpenSSLTransformRsaSha256GetKlass:
 1678|      1|xmlSecOpenSSLTransformRsaSha256GetKlass(void) {
 1679|      1|    return(&xmlSecOpenSSLRsaSha256Klass);
 1680|      1|}
xmlSecOpenSSLTransformRsaSha384GetKlass:
 1693|      1|xmlSecOpenSSLTransformRsaSha384GetKlass(void) {
 1694|      1|    return(&xmlSecOpenSSLRsaSha384Klass);
 1695|      1|}
xmlSecOpenSSLTransformRsaSha512GetKlass:
 1708|      1|xmlSecOpenSSLTransformRsaSha512GetKlass(void) {
 1709|      1|    return(&xmlSecOpenSSLRsaSha512Klass);
 1710|      1|}
xmlSecOpenSSLTransformRsaPssSha1GetKlass:
 1723|      1|xmlSecOpenSSLTransformRsaPssSha1GetKlass(void) {
 1724|      1|    return(&xmlSecOpenSSLRsaPssSha1Klass);
 1725|      1|}
xmlSecOpenSSLTransformRsaPssSha224GetKlass:
 1739|      1|xmlSecOpenSSLTransformRsaPssSha224GetKlass(void) {
 1740|      1|    return(&xmlSecOpenSSLRsaPssSha224Klass);
 1741|      1|}
xmlSecOpenSSLTransformRsaPssSha256GetKlass:
 1754|      1|xmlSecOpenSSLTransformRsaPssSha256GetKlass(void) {
 1755|      1|    return(&xmlSecOpenSSLRsaPssSha256Klass);
 1756|      1|}
xmlSecOpenSSLTransformRsaPssSha384GetKlass:
 1769|      1|xmlSecOpenSSLTransformRsaPssSha384GetKlass(void) {
 1770|      1|    return(&xmlSecOpenSSLRsaPssSha384Klass);
 1771|      1|}
xmlSecOpenSSLTransformRsaPssSha512GetKlass:
 1784|      1|xmlSecOpenSSLTransformRsaPssSha512GetKlass(void) {
 1785|      1|    return(&xmlSecOpenSSLRsaPssSha512Klass);
 1786|      1|}
xmlSecOpenSSLTransformRsaPssSha3_224GetKlass:
 1801|      1|xmlSecOpenSSLTransformRsaPssSha3_224GetKlass(void) {
 1802|      1|    return(&xmlSecOpenSSLRsaPssSha3_224Klass);
 1803|      1|}
xmlSecOpenSSLTransformRsaPssSha3_256GetKlass:
 1813|      1|xmlSecOpenSSLTransformRsaPssSha3_256GetKlass(void) {
 1814|      1|    return(&xmlSecOpenSSLRsaPssSha3_256Klass);
 1815|      1|}
xmlSecOpenSSLTransformRsaPssSha3_384GetKlass:
 1825|      1|xmlSecOpenSSLTransformRsaPssSha3_384GetKlass(void) {
 1826|      1|    return(&xmlSecOpenSSLRsaPssSha3_384Klass);
 1827|      1|}
xmlSecOpenSSLTransformRsaPssSha3_512GetKlass:
 1837|      1|xmlSecOpenSSLTransformRsaPssSha3_512GetKlass(void) {
 1838|      1|    return(&xmlSecOpenSSLRsaPssSha3_512Klass);
 1839|      1|}
xmlSecOpenSSLTransformDsaSha1GetKlass:
 2103|      1|xmlSecOpenSSLTransformDsaSha1GetKlass(void) {
 2104|      1|    return(&xmlSecOpenSSLDsaSha1Klass);
 2105|      1|}
xmlSecOpenSSLTransformDsaSha256GetKlass:
 2118|      1|xmlSecOpenSSLTransformDsaSha256GetKlass(void) {
 2119|      1|    return(&xmlSecOpenSSLDsaSha256Klass);
 2120|      1|}
xmlSecOpenSSLTransformEcdsaRipemd160GetKlass:
 2436|      1|xmlSecOpenSSLTransformEcdsaRipemd160GetKlass(void) {
 2437|      1|    return(&xmlSecOpenSSLEcdsaRipemd160Klass);
 2438|      1|}
xmlSecOpenSSLTransformEcdsaSha1GetKlass:
 2451|      1|xmlSecOpenSSLTransformEcdsaSha1GetKlass(void) {
 2452|      1|    return(&xmlSecOpenSSLEcdsaSha1Klass);
 2453|      1|}
xmlSecOpenSSLTransformEcdsaSha224GetKlass:
 2466|      1|xmlSecOpenSSLTransformEcdsaSha224GetKlass(void) {
 2467|      1|    return(&xmlSecOpenSSLEcdsaSha224Klass);
 2468|      1|}
xmlSecOpenSSLTransformEcdsaSha256GetKlass:
 2481|      1|xmlSecOpenSSLTransformEcdsaSha256GetKlass(void) {
 2482|      1|    return(&xmlSecOpenSSLEcdsaSha256Klass);
 2483|      1|}
xmlSecOpenSSLTransformEcdsaSha384GetKlass:
 2496|      1|xmlSecOpenSSLTransformEcdsaSha384GetKlass(void) {
 2497|      1|    return(&xmlSecOpenSSLEcdsaSha384Klass);
 2498|      1|}
xmlSecOpenSSLTransformEcdsaSha512GetKlass:
 2511|      1|xmlSecOpenSSLTransformEcdsaSha512GetKlass(void) {
 2512|      1|    return(&xmlSecOpenSSLEcdsaSha512Klass);
 2513|      1|}
xmlSecOpenSSLTransformEcdsaSha3_224GetKlass:
 2527|      1|xmlSecOpenSSLTransformEcdsaSha3_224GetKlass(void) {
 2528|      1|    return(&xmlSecOpenSSLEcdsaSha3_224Klass);
 2529|      1|}
xmlSecOpenSSLTransformEcdsaSha3_256GetKlass:
 2539|      1|xmlSecOpenSSLTransformEcdsaSha3_256GetKlass(void) {
 2540|      1|    return(&xmlSecOpenSSLEcdsaSha3_256Klass);
 2541|      1|}
xmlSecOpenSSLTransformEcdsaSha3_384GetKlass:
 2551|      1|xmlSecOpenSSLTransformEcdsaSha3_384GetKlass(void) {
 2552|      1|    return(&xmlSecOpenSSLEcdsaSha3_384Klass);
 2553|      1|}
xmlSecOpenSSLTransformEcdsaSha3_512GetKlass:
 2564|      1|xmlSecOpenSSLTransformEcdsaSha3_512GetKlass(void) {
 2565|      1|    return(&xmlSecOpenSSLEcdsaSha3_512Klass);
 2566|      1|}

xmlSecOpenSSLKeyDataAesGetKlass:
  298|      1|xmlSecOpenSSLKeyDataAesGetKlass(void) {
  299|      1|    return(&xmlSecOpenSSLKeyDataAesKlass);
  300|      1|}
xmlSecOpenSSLKeyDataCamelliaGetKlass:
  337|      1|xmlSecOpenSSLKeyDataCamelliaGetKlass(void) {
  338|      1|    return(&xmlSecOpenSSLKeyDataCamelliaKlass);
  339|      1|}
xmlSecOpenSSLKeyDataChaCha20GetKlass:
  376|      1|xmlSecOpenSSLKeyDataChaCha20GetKlass(void) {
  377|      1|    return(&xmlSecOpenSSLKeyDataChaCha20Klass);
  378|      1|}
xmlSecOpenSSLKeyDataConcatKdfGetKlass:
  423|      1|xmlSecOpenSSLKeyDataConcatKdfGetKlass(void) {
  424|      1|    return(&xmlSecOpenSSLKeyDataConcatKdfKlass);
  425|      1|}
xmlSecOpenSSLKeyDataDesGetKlass:
  463|      1|xmlSecOpenSSLKeyDataDesGetKlass(void) {
  464|      1|    return(&xmlSecOpenSSLKeyDataDesKlass);
  465|      1|}
xmlSecOpenSSLKeyDataHmacGetKlass:
  503|      1|xmlSecOpenSSLKeyDataHmacGetKlass(void) {
  504|      1|    return(&xmlSecOpenSSLKeyDataHmacKlass);
  505|      1|}
xmlSecOpenSSLKeyDataPbkdf2GetKlass:
  550|      1|xmlSecOpenSSLKeyDataPbkdf2GetKlass(void) {
  551|      1|    return(&xmlSecOpenSSLKeyDataPbkdf2Klass);
  552|      1|}
xmlSecOpenSSLKeyDataHkdfGetKlass:
  596|      1|xmlSecOpenSSLKeyDataHkdfGetKlass(void) {
  597|      1|    return(&xmlSecOpenSSLKeyDataHkdfKlass);
  598|      1|}

xmlSecOpenSSLKeyDataX509GetKlass:
  173|      1|xmlSecOpenSSLKeyDataX509GetKlass(void) {
  174|      1|    return(&xmlSecOpenSSLKeyDataX509Klass);
  175|      1|}
xmlSecOpenSSLX509CertLoadBIO:
 1798|    193|xmlSecOpenSSLX509CertLoadBIO(BIO* bio, xmlSecKeyDataFormat format) {
 1799|    193|    X509* tmp = NULL;
 1800|    193|    X509* res = NULL;
 1801|       |
 1802|    193|    xmlSecAssert2(bio != NULL, NULL);
  ------------------
  |  |  461|    193|        do { \
  |  |  462|    193|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 193]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|    193|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 193]
  |  |  ------------------
  ------------------
 1803|    193|    xmlSecAssert2(format != xmlSecKeyDataFormatUnknown, NULL);
  ------------------
  |  |  461|    193|        do { \
  |  |  462|    193|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 193]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|    193|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 193]
  |  |  ------------------
  ------------------
 1804|       |
 1805|       |    /* create certificate object to hold the cert we are going to read */
 1806|    193|    tmp = X509_new_ex(xmlSecOpenSSLGetLibCtx(), NULL);
 1807|    193|    if(tmp == NULL) {
  ------------------
  |  Branch (1807:8): [True: 0, False: 193]
  ------------------
 1808|      0|        xmlSecOpenSSLError("X509_new_ex", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1809|      0|        goto done;
 1810|      0|    }
 1811|       |
 1812|       |    /* read the cert */
 1813|    193|    switch(format) {
 1814|     18|    case xmlSecKeyDataFormatPem:
  ------------------
  |  Branch (1814:5): [True: 18, False: 175]
  ------------------
 1815|    186|    case xmlSecKeyDataFormatCertPem:
  ------------------
  |  Branch (1815:5): [True: 168, False: 25]
  ------------------
 1816|    186|        res = PEM_read_bio_X509_AUX(bio, &tmp, NULL, NULL);
 1817|    186|        if(res == NULL) {
  ------------------
  |  Branch (1817:12): [True: 186, False: 0]
  ------------------
 1818|    186|            xmlSecOpenSSLError("PEM_read_bio_X509_AUX", NULL);
  ------------------
  |  |   66|    186|    do {                                                    \
  |  |   67|    186|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|    186|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|    186|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|    186|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|    186|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|    186|                    (const char*)(errorObject),             \
  |  |   72|    186|                    (errorFunction),                        \
  |  |   73|    186|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|    186|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|    186|                    "openssl error: %s",                    \
  |  |   75|    186|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|    186|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 186, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|    186|        );                                                  \
  |  |   77|    186|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 186]
  |  |  ------------------
  ------------------
 1819|    186|            goto done;
 1820|    186|        }
 1821|      0|        tmp = NULL; /* now it's res */
 1822|      0|        break;
 1823|      5|    case xmlSecKeyDataFormatDer:
  ------------------
  |  Branch (1823:5): [True: 5, False: 188]
  ------------------
 1824|      7|    case xmlSecKeyDataFormatCertDer:
  ------------------
  |  Branch (1824:5): [True: 2, False: 191]
  ------------------
 1825|      7|        res = d2i_X509_bio(bio, &tmp);
 1826|      7|        if(res == NULL) {
  ------------------
  |  Branch (1826:12): [True: 7, False: 0]
  ------------------
 1827|      7|            xmlSecOpenSSLError("d2i_X509_bio", NULL);
  ------------------
  |  |   66|      7|    do {                                                    \
  |  |   67|      7|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      7|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      7|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      7|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      7|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      7|                    (const char*)(errorObject),             \
  |  |   72|      7|                    (errorFunction),                        \
  |  |   73|      7|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      7|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      7|                    "openssl error: %s",                    \
  |  |   75|      7|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|      7|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 7, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      7|        );                                                  \
  |  |   77|      7|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 7]
  |  |  ------------------
  ------------------
 1828|      7|            goto done;
 1829|      7|        }
 1830|      0|        tmp = NULL; /* now it's res */
 1831|      0|        break;
 1832|      0|    default:
  ------------------
  |  Branch (1832:5): [True: 0, False: 193]
  ------------------
 1833|      0|        xmlSecOtherError2(XMLSEC_ERRORS_R_INVALID_FORMAT, NULL,
  ------------------
  |  |  942|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  943|      0|                    (const char*)(errorObject),             \
  |  |  944|      0|                    NULL,                                   \
  |  |  945|      0|                    (code),                                 \
  |  |  946|      0|                    (msg), (param)                          \
  |  |  947|      0|        )
  ------------------
 1834|      0|            "format=" XMLSEC_ENUM_FMT, XMLSEC_ENUM_CAST(format));
 1835|      0|        goto done;
 1836|    193|    }
 1837|       |
 1838|    193|done:
 1839|    193|    if(tmp != NULL) {
  ------------------
  |  Branch (1839:8): [True: 187, False: 6]
  ------------------
 1840|    187|        X509_free(tmp);
 1841|    187|    }
 1842|    193|    return(res);
 1843|    193|}
xmlSecOpenSSLKeyDataRawX509CertGetKlass:
 2196|      1|xmlSecOpenSSLKeyDataRawX509CertGetKlass(void) {
 2197|      1|    return(&xmlSecOpenSSLKeyDataRawX509CertKlass);
 2198|      1|}

xmlSecTransformRelationshipGetKlass:
  165|      1|xmlSecTransformRelationshipGetKlass(void) {
  166|      1|    return(&xmlSecRelationshipKlass);
  167|      1|}

xmlSecTransformIdsGet:
   84|     90|xmlSecTransformIdsGet(void) {
   85|     90|    return(&xmlSecAllTransformIds);
   86|     90|}
xmlSecTransformIdsInit:
   96|      1|xmlSecTransformIdsInit(void) {
   97|      1|    int ret;
   98|       |
   99|      1|    ret = xmlSecPtrListInitialize(xmlSecTransformIdsGet(), xmlSecTransformIdListId);
  ------------------
  |  |  757|      1|#define xmlSecTransformIdListId xmlSecTransformIdListGetKlass()
  ------------------
  100|      1|    if(ret < 0) {
  ------------------
  |  Branch (100:8): [True: 0, False: 1]
  ------------------
  101|      0|        xmlSecInternalError("xmlSecPtrListInitialize(xmlSecTransformIdListId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  102|      0|        return(-1);
  103|      0|    }
  104|       |
  105|      1|    ret = xmlSecTransformIdsRegisterDefault();
  106|      1|    if(ret < 0) {
  ------------------
  |  Branch (106:8): [True: 0, False: 1]
  ------------------
  107|      0|        xmlSecInternalError("xmlSecTransformIdsRegisterDefault", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  108|      0|        return(-1);
  109|      0|    }
  110|       |
  111|      1|#ifndef XMLSEC_NO_XSLT
  112|      1|    ret = xmlSecTransformXsltInitialize();
  113|      1|    if(ret < 0) {
  ------------------
  |  Branch (113:8): [True: 0, False: 1]
  ------------------
  114|      0|        xmlSecInternalError("xmlSecTransformXsltInitialize", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  115|      0|        return(-1);
  116|      0|    }
  117|      1|#endif /* XMLSEC_NO_XSLT */
  118|       |
  119|      1|    return(0);
  120|      1|}
xmlSecTransformIdsRegister:
  144|     89|xmlSecTransformIdsRegister(xmlSecTransformId id) {
  145|     89|    int ret;
  146|       |
  147|     89|    xmlSecAssert2(id != xmlSecTransformIdUnknown, -1);
  ------------------
  |  |  461|     89|        do { \
  |  |  462|     89|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 89]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|     89|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 89]
  |  |  ------------------
  ------------------
  148|       |
  149|     89|    ret = xmlSecPtrListAdd(xmlSecTransformIdsGet(), (xmlSecPtr)id);
  150|     89|    if(ret < 0) {
  ------------------
  |  Branch (150:8): [True: 0, False: 89]
  ------------------
  151|      0|        xmlSecInternalError("xmlSecPtrListAdd",
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  152|      0|                            xmlSecTransformKlassGetName(id));
  153|      0|        return(-1);
  154|      0|    }
  155|       |
  156|     89|    return(0);
  157|     89|}
xmlSecTransformIdsRegisterDefault:
  167|      1|xmlSecTransformIdsRegisterDefault(void) {
  168|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformBase64Id) < 0) {
  ------------------
  |  |  787|      1|        xmlSecTransformBase64GetKlass()
  ------------------
  |  Branch (168:8): [True: 0, False: 1]
  ------------------
  169|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformBase64Id)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  170|      0|        return(-1);
  171|      0|    }
  172|       |
  173|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformEnvelopedId) < 0) {
  ------------------
  |  |  837|      1|        xmlSecTransformEnvelopedGetKlass()
  ------------------
  |  Branch (173:8): [True: 0, False: 1]
  ------------------
  174|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformEnvelopedId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  175|      0|        return(-1);
  176|      0|    }
  177|       |
  178|       |    /* c14n methods */
  179|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformInclC14NId) < 0) {
  ------------------
  |  |  795|      1|        xmlSecTransformInclC14NGetKlass()
  ------------------
  |  Branch (179:8): [True: 0, False: 1]
  ------------------
  180|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformInclC14NId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  181|      0|        return(-1);
  182|      0|    }
  183|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformInclC14NWithCommentsId) < 0) {
  ------------------
  |  |  802|      1|        xmlSecTransformInclC14NWithCommentsGetKlass()
  ------------------
  |  Branch (183:8): [True: 0, False: 1]
  ------------------
  184|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformInclC14NWithCommentsId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  185|      0|        return(-1);
  186|      0|    }
  187|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformInclC14N11Id) < 0) {
  ------------------
  |  |  809|      1|        xmlSecTransformInclC14N11GetKlass()
  ------------------
  |  Branch (187:8): [True: 0, False: 1]
  ------------------
  188|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformInclC14N11Id)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  189|      0|        return(-1);
  190|      0|    }
  191|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformInclC14N11WithCommentsId) < 0) {
  ------------------
  |  |  816|      1|        xmlSecTransformInclC14N11WithCommentsGetKlass()
  ------------------
  |  Branch (191:8): [True: 0, False: 1]
  ------------------
  192|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformInclC14N11WithCommentsId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  193|      0|        return(-1);
  194|      0|    }
  195|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformExclC14NId) < 0) {
  ------------------
  |  |  823|      1|        xmlSecTransformExclC14NGetKlass()
  ------------------
  |  Branch (195:8): [True: 0, False: 1]
  ------------------
  196|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformExclC14NId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  197|      0|        return(-1);
  198|      0|    }
  199|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformExclC14NWithCommentsId) < 0) {
  ------------------
  |  |  830|      1|        xmlSecTransformExclC14NWithCommentsGetKlass()
  ------------------
  |  Branch (199:8): [True: 0, False: 1]
  ------------------
  200|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformExclC14NWithCommentsId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  201|      0|        return(-1);
  202|      0|    }
  203|       |
  204|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformXPathId) < 0) {
  ------------------
  |  |  844|      1|        xmlSecTransformXPathGetKlass()
  ------------------
  |  Branch (204:8): [True: 0, False: 1]
  ------------------
  205|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformXPathId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  206|      0|        return(-1);
  207|      0|    }
  208|       |
  209|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformXPath2Id) < 0) {
  ------------------
  |  |  851|      1|        xmlSecTransformXPath2GetKlass()
  ------------------
  |  Branch (209:8): [True: 0, False: 1]
  ------------------
  210|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformXPath2Id)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  211|      0|        return(-1);
  212|      0|    }
  213|       |
  214|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformXPointerId) < 0) {
  ------------------
  |  |  858|      1|        xmlSecTransformXPointerGetKlass()
  ------------------
  |  Branch (214:8): [True: 0, False: 1]
  ------------------
  215|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformXPointerId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  216|      0|        return(-1);
  217|      0|    }
  218|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformXPointerLegacyId) < 0) {
  ------------------
  |  |  873|      1|        xmlSecTransformXPointerLegacyGetKlass()
  ------------------
  |  Branch (218:8): [True: 0, False: 1]
  ------------------
  219|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformXPointerLegacyId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  220|      0|        return(-1);
  221|      0|    }
  222|       |
  223|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformRelationshipId) < 0) {
  ------------------
  |  |  879|      1|        xmlSecTransformRelationshipGetKlass()
  ------------------
  |  Branch (223:8): [True: 0, False: 1]
  ------------------
  224|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformRelationshipId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  225|      0|        return(-1);
  226|      0|    }
  227|       |
  228|      1|#ifndef XMLSEC_NO_XSLT
  229|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformXsltId) < 0) {
  ------------------
  |  |  888|      1|        xmlSecTransformXsltGetKlass()
  ------------------
  |  Branch (229:8): [True: 0, False: 1]
  ------------------
  230|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformXsltId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  231|      0|        return(-1);
  232|      0|    }
  233|      1|#endif /* XMLSEC_NO_XSLT */
  234|       |
  235|      1|    return(0);
  236|      1|}
xmlSecTransformIdListGetKlass:
 2512|      1|xmlSecTransformIdListGetKlass(void) {
 2513|      1|    return(&xmlSecTransformIdListKlass);
 2514|      1|}

xmlSecInit:
   97|      1|xmlSecInit(void) {
   98|      1|    xmlSecErrorsInit();
   99|       |
  100|      1|    if(xmlSecIOInit() < 0) {
  ------------------
  |  Branch (100:8): [True: 0, False: 1]
  ------------------
  101|      0|        xmlSecInternalError("xmlSecIOInit", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  102|      0|        return(-1);
  103|      0|    }
  104|       |
  105|       |#ifndef XMLSEC_NO_CRYPTO_DYNAMIC_LOADING
  106|       |    if(xmlSecCryptoDLInit() < 0) {
  107|       |        xmlSecInternalError("xmlSecCryptoDLInit", NULL);
  108|       |        return(-1);
  109|       |    }
  110|       |#endif /* XMLSEC_NO_CRYPTO_DYNAMIC_LOADING */
  111|       |
  112|      1|    if(xmlSecKeyDataIdsInit() < 0) {
  ------------------
  |  Branch (112:8): [True: 0, False: 1]
  ------------------
  113|      0|        xmlSecInternalError("xmlSecKeyDataIdsInit", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  114|      0|        return(-1);
  115|      0|    }
  116|       |
  117|      1|    if(xmlSecTransformIdsInit() < 0) {
  ------------------
  |  Branch (117:8): [True: 0, False: 1]
  ------------------
  118|      0|        xmlSecInternalError("xmlSecTransformIdsInit", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  119|      0|        return(-1);
  120|      0|    }
  121|       |
  122|       |    /* initialize safe external entity loader */
  123|      1|    if(!xmlSecDefaultExternalEntityLoader) {
  ------------------
  |  Branch (123:8): [True: 1, False: 0]
  ------------------
  124|      1|        xmlSecDefaultExternalEntityLoader = xmlGetExternalEntityLoader();
  125|      1|    }
  126|       |
  127|       |    /* libxml2 >= 2.13.0 provides the XML_PARSE_NO_XXE parser option, which is
  128|       |     * included in xmlsec's default parser options mask (see src/parser.c);
  129|       |     * for older libxml2 versions the external entity loader below is used
  130|       |     * instead */
  131|       |#if LIBXML_VERSION < 21300
  132|       |    xmlSetExternalEntityLoader(xmlSecNoXxeExternalEntityLoader);
  133|       |#endif /* LIBXML_VERSION < 21300 */
  134|       |
  135|       |    /* success */
  136|      1|    return(0);
  137|      1|}
xmlSecCheckVersionExt:
  197|      2|xmlSecCheckVersionExt(int major, int minor, int subminor, xmlSecCheckVersionMode mode) {
  198|       |    /* we always want to have a match for major version number */
  199|      2|    if(major != XMLSEC_VERSION_MAJOR) {
  ------------------
  |  |   23|      2|#define XMLSEC_VERSION_MAJOR    1
  ------------------
  |  Branch (199:8): [True: 0, False: 2]
  ------------------
  200|      0|        xmlSecOtherError3(XMLSEC_ERRORS_R_INVALID_VERSION, NULL,
  ------------------
  |  |  959|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  960|      0|                    (const char*)(errorObject),             \
  |  |  961|      0|                    NULL,                                   \
  |  |  962|      0|                    (code),                                 \
  |  |  963|      0|                    (msg), (param1), (param2)               \
  |  |  964|      0|        )
  ------------------
  201|      0|                "library major version=%d;required major version=%d",
  202|      0|                XMLSEC_VERSION_MAJOR, major);
  203|      0|        return(0);
  204|      0|    }
  205|       |
  206|      2|    switch(mode) {
  207|      1|    case xmlSecCheckVersionExactMatch:
  ------------------
  |  Branch (207:5): [True: 1, False: 1]
  ------------------
  208|      1|        if((minor != XMLSEC_VERSION_MINOR) || (subminor != XMLSEC_VERSION_SUBMINOR)) {
  ------------------
  |  |   28|      1|#define XMLSEC_VERSION_MINOR    3
  ------------------
                      if((minor != XMLSEC_VERSION_MINOR) || (subminor != XMLSEC_VERSION_SUBMINOR)) {
  ------------------
  |  |   33|      1|#define XMLSEC_VERSION_SUBMINOR 14
  ------------------
  |  Branch (208:12): [True: 0, False: 1]
  |  Branch (208:47): [True: 0, False: 1]
  ------------------
  209|      0|            xmlSecOtherError5(XMLSEC_ERRORS_R_INVALID_VERSION, NULL,
  ------------------
  |  |  996|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  997|      0|                    (const char*)(errorObject),             \
  |  |  998|      0|                    NULL,                                   \
  |  |  999|      0|                    (code),                                 \
  |  | 1000|      0|                    (msg), (param1), (param2), (param3), (param4) \
  |  | 1001|      0|        )
  ------------------
  210|      0|                    "mode=exact;library minor version=%d;required minor version=%d;library subminor version=%d;required subminor version=%d",
  211|      0|                    XMLSEC_VERSION_MINOR, minor, XMLSEC_VERSION_SUBMINOR, subminor);
  212|      0|            return(0);
  213|      0|        }
  214|      1|        break;
  215|      1|    case xmlSecCheckVersionABICompatible:
  ------------------
  |  Branch (215:5): [True: 1, False: 1]
  ------------------
  216|      1|        if((minor > XMLSEC_VERSION_MINOR) || ((minor == XMLSEC_VERSION_MINOR) &&
  ------------------
  |  |   28|      1|#define XMLSEC_VERSION_MINOR    3
  ------------------
                      if((minor > XMLSEC_VERSION_MINOR) || ((minor == XMLSEC_VERSION_MINOR) &&
  ------------------
  |  |   28|      1|#define XMLSEC_VERSION_MINOR    3
  ------------------
  |  Branch (216:12): [True: 0, False: 1]
  |  Branch (216:47): [True: 1, False: 0]
  ------------------
  217|      1|                (subminor > XMLSEC_VERSION_SUBMINOR))) {
  ------------------
  |  |   33|      1|#define XMLSEC_VERSION_SUBMINOR 14
  ------------------
  |  Branch (217:17): [True: 0, False: 1]
  ------------------
  218|      0|            xmlSecOtherError5(XMLSEC_ERRORS_R_INVALID_VERSION, NULL,
  ------------------
  |  |  996|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  997|      0|                    (const char*)(errorObject),             \
  |  |  998|      0|                    NULL,                                   \
  |  |  999|      0|                    (code),                                 \
  |  | 1000|      0|                    (msg), (param1), (param2), (param3), (param4) \
  |  | 1001|      0|        )
  ------------------
  219|      0|                    "mode=abi compatible;library minor version=%d;required minor version=%d;library subminor version=%d;required subminor version=%d",
  220|      0|                    XMLSEC_VERSION_MINOR, minor, XMLSEC_VERSION_SUBMINOR, subminor);
  221|      0|            return(0);
  222|      0|        }
  223|      1|        break;
  224|      1|    default:
  ------------------
  |  Branch (224:5): [True: 0, False: 2]
  ------------------
  225|      0|        xmlSecUnsupportedEnumValueError("mode", mode, NULL);
  ------------------
  |  |  615|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  616|      0|                    (const char*)(errorObject),             \
  |  |  617|      0|                    NULL,                                   \
  |  |  618|      0|                    XMLSEC_ERRORS_R_INVALID_TYPE,           \
  |  |  ------------------
  |  |  |  |   99|      0|#define XMLSEC_ERRORS_R_INVALID_TYPE                    14
  |  |  ------------------
  |  |  619|      0|                    "unsupported value for '%s': " XMLSEC_ENUM_FMT, \
  |  |  ------------------
  |  |  |  |   36|      0|#define XMLSEC_ENUM_FMT                      "%d"
  |  |  ------------------
  |  |  620|      0|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  621|      0|                    XMLSEC_ENUM_CAST(actual)                \
  |  |  ------------------
  |  |  |  |   35|      0|#define XMLSEC_ENUM_CAST(val)                ((int)(val))
  |  |  ------------------
  |  |  622|      0|        )
  ------------------
  226|      0|        return(0);
  227|      2|    }
  228|       |
  229|      2|    return(1);
  230|      2|}

xmlSecTransformXPathGetKlass:
  515|      1|xmlSecTransformXPathGetKlass(void) {
  516|      1|    return(&xmlSecTransformXPathKlass);
  517|      1|}
xmlSecTransformXPath2GetKlass:
  651|      1|xmlSecTransformXPath2GetKlass(void) {
  652|      1|    return(&xmlSecTransformXPath2Klass);
  653|      1|}
xmlSecTransformXPointerGetKlass:
  782|      1|xmlSecTransformXPointerGetKlass(void) {
  783|      1|    return(&xmlSecTransformXPointerKlass);
  784|      1|}
xmlSecTransformXPointerLegacyGetKlass:
  822|      1|xmlSecTransformXPointerLegacyGetKlass(void) {
  823|      1|    return(&xmlSecTransformXPointerLegacyKlass);
  824|      1|}

xmlSecTransformXsltInitialize:
  106|      1|int xmlSecTransformXsltInitialize(void) {
  107|      1|    xsltSecurityPrefsPtr sec;
  108|       |
  109|      1|    xmlSecAssert2(g_xslt_default_security_prefs == NULL, -1);
  ------------------
  |  |  461|      1|        do { \
  |  |  462|      1|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 1]
  |  |  ------------------
  |  |  463|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  464|      0|                            NULL, \
  |  |  465|      0|                            #p, \
  |  |  466|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  307|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  467|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  423|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  468|      0|                return(ret); \
  |  |  469|      0|            } \
  |  |  470|      1|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 1]
  |  |  ------------------
  ------------------
  110|       |
  111|      1|    sec = xsltNewSecurityPrefs();
  112|      1|    if(sec == NULL) {
  ------------------
  |  Branch (112:8): [True: 0, False: 1]
  ------------------
  113|      0|        xmlSecXsltError("xsltNewSecurityPrefs", NULL);
  ------------------
  |  |  259|      0|    do {                                                    \
  |  |  260|      0|        const xmlError * _xmlsec_error = xmlGetLastError(); \
  |  |  261|      0|        int _xmlsec_code = (_xmlsec_error != NULL) ? _xmlsec_error->code : 0; \
  |  |  ------------------
  |  |  |  Branch (261:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  262|      0|        const char* _xmlsec_message = (_xmlsec_error != NULL) ? _xmlsec_error->message : NULL; \
  |  |  ------------------
  |  |  |  Branch (262:39): [True: 0, False: 0]
  |  |  ------------------
  |  |  263|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  264|      0|                   (const char*)(errorObject),              \
  |  |  265|      0|                   (errorFunction),                         \
  |  |  266|      0|                   XMLSEC_ERRORS_R_XSLT_FAILED,             \
  |  |  ------------------
  |  |  |  |   58|      0|#define XMLSEC_ERRORS_R_XSLT_FAILED                     6
  |  |  ------------------
  |  |  267|      0|                   "xslt error: %d: %s",                    \
  |  |  268|      0|                   _xmlsec_code,                            \
  |  |  269|      0|                   xmlSecErrorsSafeString(_xmlsec_message)  \
  |  |  ------------------
  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  270|      0|        );                                                  \
  |  |  271|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (271:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  114|      0|        return(-1);
  115|      0|    }
  116|      1|    if((xsltSetSecurityPrefs(sec, XSLT_SECPREF_READ_FILE, xsltSecurityForbid) < 0) ||
  ------------------
  |  Branch (116:8): [True: 0, False: 1]
  ------------------
  117|      1|       (xsltSetSecurityPrefs(sec, XSLT_SECPREF_WRITE_FILE, xsltSecurityForbid) < 0) ||
  ------------------
  |  Branch (117:8): [True: 0, False: 1]
  ------------------
  118|      1|       (xsltSetSecurityPrefs(sec, XSLT_SECPREF_CREATE_DIRECTORY, xsltSecurityForbid) < 0) ||
  ------------------
  |  Branch (118:8): [True: 0, False: 1]
  ------------------
  119|      1|       (xsltSetSecurityPrefs(sec, XSLT_SECPREF_READ_NETWORK, xsltSecurityForbid) < 0) ||
  ------------------
  |  Branch (119:8): [True: 0, False: 1]
  ------------------
  120|      1|       (xsltSetSecurityPrefs(sec, XSLT_SECPREF_WRITE_NETWORK, xsltSecurityForbid) < 0)
  ------------------
  |  Branch (120:8): [True: 0, False: 1]
  ------------------
  121|      1|    ) {
  122|      0|        xmlSecXsltError("xsltSetSecurityPrefs", NULL);
  ------------------
  |  |  259|      0|    do {                                                    \
  |  |  260|      0|        const xmlError * _xmlsec_error = xmlGetLastError(); \
  |  |  261|      0|        int _xmlsec_code = (_xmlsec_error != NULL) ? _xmlsec_error->code : 0; \
  |  |  ------------------
  |  |  |  Branch (261:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  262|      0|        const char* _xmlsec_message = (_xmlsec_error != NULL) ? _xmlsec_error->message : NULL; \
  |  |  ------------------
  |  |  |  Branch (262:39): [True: 0, False: 0]
  |  |  ------------------
  |  |  263|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  264|      0|                   (const char*)(errorObject),              \
  |  |  265|      0|                   (errorFunction),                         \
  |  |  266|      0|                   XMLSEC_ERRORS_R_XSLT_FAILED,             \
  |  |  ------------------
  |  |  |  |   58|      0|#define XMLSEC_ERRORS_R_XSLT_FAILED                     6
  |  |  ------------------
  |  |  267|      0|                   "xslt error: %d: %s",                    \
  |  |  268|      0|                   _xmlsec_code,                            \
  |  |  269|      0|                   xmlSecErrorsSafeString(_xmlsec_message)  \
  |  |  ------------------
  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  270|      0|        );                                                  \
  |  |  271|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (271:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  123|      0|        xsltFreeSecurityPrefs(sec);
  124|      0|        return(-1);
  125|      0|    }
  126|       |
  127|      1|    g_xslt_default_security_prefs = sec;
  128|      1|    g_xslt_saved_default_security_prefs = xsltGetDefaultSecurityPrefs();
  129|      1|    xsltSetDefaultSecurityPrefs(g_xslt_default_security_prefs);
  130|      1|    return(0);
  131|      1|}
xmlSecTransformXsltGetKlass:
  208|      1|xmlSecTransformXsltGetKlass(void) {
  209|      1|    return(&xmlSecXsltKlass);
  210|      1|}

