xmlInitCatalogInternal:
 3211|      1|xmlInitCatalogInternal(void) {
 3212|      1|    if (getenv("XML_DEBUG_CATALOG"))
  ------------------
  |  Branch (3212:9): [True: 0, False: 1]
  ------------------
 3213|      0|	xmlDebugCatalogs = 1;
 3214|      1|    xmlInitRMutex(&xmlCatalogMutex);
 3215|      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.31k|xmlStrVPrintf(xmlChar *buf, int len, const char *msg, va_list ap) {
  550|  3.31k|    int ret;
  551|       |
  552|  3.31k|    if((buf == NULL) || (msg == NULL) || (len <= 0)) {
  ------------------
  |  Branch (552:8): [True: 0, False: 3.31k]
  |  Branch (552:25): [True: 0, False: 3.31k]
  |  Branch (552:42): [True: 0, False: 3.31k]
  ------------------
  553|      0|        return(-1);
  554|      0|    }
  555|       |
  556|  3.31k|    ret = vsnprintf((char *) buf, len, (const char *) msg, ap);
  557|  3.31k|    buf[len - 1] = 0; /* be safe ! */
  558|       |
  559|  3.31k|    return(ret);
  560|  3.31k|}

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|}

LLVMFuzzerTestOneInput:
   90|  1.41k|int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
   91|  1.41k|    xmlSecKeyDataFormat format;
   92|  1.41k|    xmlSecKeyPtr key;
   93|       |
   94|  1.41k|    if (!g_initialized) {
  ------------------
  |  Branch (94:9): [True: 1, False: 1.41k]
  ------------------
   95|      1|        g_init_failed = (do_init() < 0);
   96|      1|        g_initialized = 1;
   97|      1|    }
   98|  1.41k|    if (g_init_failed || size < 2) {
  ------------------
  |  Branch (98:9): [True: 0, False: 1.41k]
  |  Branch (98:26): [True: 2, False: 1.41k]
  ------------------
   99|      2|        return 0;
  100|      2|    }
  101|       |
  102|  1.41k|    format = g_formats[data[0] % G_NFORMATS];
  ------------------
  |  |   47|  1.41k|#define G_NFORMATS ((int)(sizeof(g_formats) / sizeof(g_formats[0])))
  ------------------
  103|  1.41k|    data++;
  104|  1.41k|    size--;
  105|       |
  106|  1.41k|    key = xmlSecOpenSSLAppKeyLoadMemory((const xmlSecByte*)data, (xmlSecSize)size,
  107|  1.41k|                                        format, FUZZ_KEY_PWD, NULL, NULL);
  ------------------
  |  |   36|  1.41k|#define FUZZ_KEY_PWD "secret123"
  ------------------
  108|  1.41k|    if (key != NULL) {
  ------------------
  |  Branch (108:9): [True: 20, False: 1.39k]
  ------------------
  109|     20|#ifndef XMLSEC_NO_X509
  110|       |        /* A loaded key can carry a certificate chain, which is a separate
  111|       |         * reader. Feed the same bytes to it. */
  112|     20|        (void)xmlSecOpenSSLAppKeyCertLoadMemory(key, (const xmlSecByte*)data,
  113|     20|                                                (xmlSecSize)size, format);
  114|     20|#endif /* XMLSEC_NO_X509 */
  115|     20|        xmlSecKeyDestroy(key);
  116|     20|    }
  117|       |
  118|  1.41k|    return 0;
  119|  1.41k|}
xmlsec_keyload_target.c:do_init:
   65|      1|static int do_init(void) {
   66|      1|    xmlInitParser();
   67|       |
   68|      1|    if (xmlSecInit() < 0) {
  ------------------
  |  Branch (68:9): [True: 0, False: 1]
  ------------------
   69|      0|        return -1;
   70|      0|    }
   71|      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 13
  |  |  ------------------
  ------------------
  |  Branch (71:9): [True: 0, False: 1]
  ------------------
   72|      0|        xmlSecShutdown();
   73|      0|        return -1;
   74|      0|    }
   75|      1|    if (xmlSecOpenSSLAppInit(NULL) < 0) {
  ------------------
  |  Branch (75:9): [True: 0, False: 1]
  ------------------
   76|      0|        xmlSecShutdown();
   77|      0|        return -1;
   78|      0|    }
   79|      1|    if (xmlSecOpenSSLInit() < 0) {
  ------------------
  |  Branch (79:9): [True: 0, False: 1]
  ------------------
   80|      0|        xmlSecOpenSSLAppShutdown();
   81|      0|        xmlSecShutdown();
   82|      0|        return -1;
   83|      0|    }
   84|       |
   85|      1|    xmlSetGenericErrorFunc(NULL, &ignore_error);
   86|      1|    xmlSecErrorsSetCallback(&ignore_xmlsec_error);
   87|      1|    return 0;
   88|      1|}
xmlsec_keyload_target.c:ignore_xmlsec_error:
   60|  3.31k|                                int reason, const char* msg) {
   61|  3.31k|    (void)file; (void)line; (void)func;
   62|  3.31k|    (void)errorObject; (void)errorSubject; (void)reason; (void)msg;
   63|  3.31k|}

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:
  843|      1|xmlSecTransformBase64GetKlass(void) {
  844|      1|    return(&xmlSecBase64Klass);
  845|      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:
  411|      1|xmlSecTransformInclC14NGetKlass(void) {
  412|      1|    return(&xmlSecTransformInclC14NKlass);
  413|      1|}
xmlSecTransformInclC14NWithCommentsGetKlass:
  456|      1|xmlSecTransformInclC14NWithCommentsGetKlass(void) {
  457|      1|    return(&xmlSecTransformInclC14NWithCommentsKlass);
  458|      1|}
xmlSecTransformInclC14N11GetKlass:
  499|      1|xmlSecTransformInclC14N11GetKlass(void) {
  500|      1|    return(&xmlSecTransformInclC14N11Klass);
  501|      1|}
xmlSecTransformInclC14N11WithCommentsGetKlass:
  542|      1|xmlSecTransformInclC14N11WithCommentsGetKlass(void) {
  543|      1|    return(&xmlSecTransformInclC14N11WithCommentsKlass);
  544|      1|}
xmlSecTransformExclC14NGetKlass:
  587|      1|xmlSecTransformExclC14NGetKlass(void) {
  588|      1|    return(&xmlSecTransformExclC14NKlass);
  589|      1|}
xmlSecTransformExclC14NWithCommentsGetKlass:
  631|      1|xmlSecTransformExclC14NWithCommentsGetKlass(void) {
  632|      1|    return(&xmlSecTransformExclC14NWithCommentsKlass);
  633|      1|}

xmlSecCryptoDLFunctionsRegisterKeyDataAndTransforms:
  659|      1|xmlSecCryptoDLFunctionsRegisterKeyDataAndTransforms(struct _xmlSecCryptoDLFunctions* functions) {
  660|      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]
  |  |  ------------------
  ------------------
  661|       |
  662|       |    /******************************************************************************
  663|       |     *
  664|       |     * Register keys
  665|       |     *
  666|       |     *****************************************************************************/
  667|       |
  668|       |    /* raw key values should not be used in production w/o understanding of the security risks */
  669|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Aes);                         /* keyDataAesGetKlass */
  ------------------
  |  |  640|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (640:8): [True: 1, False: 0]
  |  |  |  Branch (640:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  641|      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|        )
  |  |  ------------------
  |  |  642|      0|        return(-1);                                                                                                                       \
  |  |  643|      0|    }                                                                                                                                     \
  ------------------
  670|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Camellia);                    /* keyDataCamelliaGetKlass */
  ------------------
  |  |  640|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (640:8): [True: 1, False: 0]
  |  |  |  Branch (640:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  641|      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|        )
  |  |  ------------------
  |  |  642|      0|        return(-1);                                                                                                                       \
  |  |  643|      0|    }                                                                                                                                     \
  ------------------
  671|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(ChaCha20);                    /* keyDataChaCha20GetKlass */
  ------------------
  |  |  640|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (640:8): [True: 1, False: 0]
  |  |  |  Branch (640:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  641|      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|        )
  |  |  ------------------
  |  |  642|      0|        return(-1);                                                                                                                       \
  |  |  643|      0|    }                                                                                                                                     \
  ------------------
  672|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(ConcatKdf);                   /* keyDataConcatKdfGetKlass */
  ------------------
  |  |  640|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (640:8): [True: 1, False: 0]
  |  |  |  Branch (640:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  641|      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|        )
  |  |  ------------------
  |  |  642|      0|        return(-1);                                                                                                                       \
  |  |  643|      0|    }                                                                                                                                     \
  ------------------
  673|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Des);                         /* keyDataDesGetKlass */
  ------------------
  |  |  640|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (640:8): [True: 1, False: 0]
  |  |  |  Branch (640:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  641|      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|        )
  |  |  ------------------
  |  |  642|      0|        return(-1);                                                                                                                       \
  |  |  643|      0|    }                                                                                                                                     \
  ------------------
  674|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Dh);                          /* keyDataDhGetKlass */
  ------------------
  |  |  640|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (640:8): [True: 1, False: 0]
  |  |  |  Branch (640:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  641|      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|        )
  |  |  ------------------
  |  |  642|      0|        return(-1);                                                                                                                       \
  |  |  643|      0|    }                                                                                                                                     \
  ------------------
  675|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Dsa);                         /* keyDataDsaGetKlass */
  ------------------
  |  |  640|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (640:8): [True: 1, False: 0]
  |  |  |  Branch (640:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  641|      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|        )
  |  |  ------------------
  |  |  642|      0|        return(-1);                                                                                                                       \
  |  |  643|      0|    }                                                                                                                                     \
  ------------------
  676|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Ec);                          /* keyDataEcGetKlass */
  ------------------
  |  |  640|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (640:8): [True: 1, False: 0]
  |  |  |  Branch (640:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  641|      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|        )
  |  |  ------------------
  |  |  642|      0|        return(-1);                                                                                                                       \
  |  |  643|      0|    }                                                                                                                                     \
  ------------------
  677|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Gost2001);                    /* keyDataGost2001GetKlass */
  ------------------
  |  |  640|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (640:8): [True: 0, False: 1]
  |  |  |  Branch (640:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  641|      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|        )
  |  |  ------------------
  |  |  642|      0|        return(-1);                                                                                                                       \
  |  |  643|      0|    }                                                                                                                                     \
  ------------------
  678|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(GostR3410_2012_256);          /* keyDataGostR3410_2012_256GetKlass */
  ------------------
  |  |  640|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (640:8): [True: 0, False: 1]
  |  |  |  Branch (640:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  641|      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|        )
  |  |  ------------------
  |  |  642|      0|        return(-1);                                                                                                                       \
  |  |  643|      0|    }                                                                                                                                     \
  ------------------
  679|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(GostR3410_2012_512);          /* keyDataGostR3410_2012_512GetKlass */
  ------------------
  |  |  640|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (640:8): [True: 0, False: 1]
  |  |  |  Branch (640:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  641|      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|        )
  |  |  ------------------
  |  |  642|      0|        return(-1);                                                                                                                       \
  |  |  643|      0|    }                                                                                                                                     \
  ------------------
  680|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Hmac);                        /* keyDataHmacGetKlass */
  ------------------
  |  |  640|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (640:8): [True: 1, False: 0]
  |  |  |  Branch (640:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  641|      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|        )
  |  |  ------------------
  |  |  642|      0|        return(-1);                                                                                                                       \
  |  |  643|      0|    }                                                                                                                                     \
  ------------------
  681|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Hkdf);                        /* keyDataHkdfGetKlass */
  ------------------
  |  |  640|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (640:8): [True: 1, False: 0]
  |  |  |  Branch (640:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  641|      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|        )
  |  |  ------------------
  |  |  642|      0|        return(-1);                                                                                                                       \
  |  |  643|      0|    }                                                                                                                                     \
  ------------------
  682|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(MLDSA);                       /* keyDataMLDSAGetKlass */
  ------------------
  |  |  640|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (640:8): [True: 0, False: 1]
  |  |  |  Branch (640:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  641|      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|        )
  |  |  ------------------
  |  |  642|      0|        return(-1);                                                                                                                       \
  |  |  643|      0|    }                                                                                                                                     \
  ------------------
  683|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(MLKEM);                       /* keyDataMLKEMGetKlass */
  ------------------
  |  |  640|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (640:8): [True: 0, False: 1]
  |  |  |  Branch (640:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  641|      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|        )
  |  |  ------------------
  |  |  642|      0|        return(-1);                                                                                                                       \
  |  |  643|      0|    }                                                                                                                                     \
  ------------------
  684|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Pbkdf2);                      /* keyDataPbkdf2GetKlass */
  ------------------
  |  |  640|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (640:8): [True: 1, False: 0]
  |  |  |  Branch (640:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  641|      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|        )
  |  |  ------------------
  |  |  642|      0|        return(-1);                                                                                                                       \
  |  |  643|      0|    }                                                                                                                                     \
  ------------------
  685|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Rsa);                         /* keyDataRsaGetKlass */
  ------------------
  |  |  640|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (640:8): [True: 1, False: 0]
  |  |  |  Branch (640:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  641|      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|        )
  |  |  ------------------
  |  |  642|      0|        return(-1);                                                                                                                       \
  |  |  643|      0|    }                                                                                                                                     \
  ------------------
  686|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(SLHDSA);                      /* keyDataSLHDSAGetKlass */
  ------------------
  |  |  640|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (640:8): [True: 0, False: 1]
  |  |  |  Branch (640:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  641|      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|        )
  |  |  ------------------
  |  |  642|      0|        return(-1);                                                                                                                       \
  |  |  643|      0|    }                                                                                                                                     \
  ------------------
  687|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(EdDSA);                       /* keyDataEdDSAGetKlass */
  ------------------
  |  |  640|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (640:8): [True: 0, False: 1]
  |  |  |  Branch (640:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  641|      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|        )
  |  |  ------------------
  |  |  642|      0|        return(-1);                                                                                                                       \
  |  |  643|      0|    }                                                                                                                                     \
  ------------------
  688|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Xdh);                         /* keyDataXdhGetKlass */
  ------------------
  |  |  640|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (640:8): [True: 1, False: 0]
  |  |  |  Branch (640:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  641|      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|        )
  |  |  ------------------
  |  |  642|      0|        return(-1);                                                                                                                       \
  |  |  643|      0|    }                                                                                                                                     \
  ------------------
  689|       |
  690|       |    /* DEREncodedKeyValue key data should not be used in production w/o understanding of the security risks */
  691|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(DEREncodedKeyValue);          /* keyDataDEREncodedKeyValueGetKlass */
  ------------------
  |  |  640|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (640:8): [True: 1, False: 0]
  |  |  |  Branch (640:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  641|      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|        )
  |  |  ------------------
  |  |  642|      0|        return(-1);                                                                                                                       \
  |  |  643|      0|    }                                                                                                                                     \
  ------------------
  692|       |
  693|      1|    XMLSEC_REGISTER_KEY_DATA(X509);                                 /* keyDataX509GetKlass */
  ------------------
  |  |  634|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegister(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (634:8): [True: 1, False: 0]
  |  |  |  Branch (634:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  635|      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|        )
  |  |  ------------------
  |  |  636|      0|        return(-1);                                                                                                                       \
  |  |  637|      0|    }                                                                                                                                     \
  ------------------
  694|      1|    XMLSEC_REGISTER_KEY_DATA(RawX509Cert);                          /* keyDataRawX509CertGetKlass */
  ------------------
  |  |  634|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegister(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (634:8): [True: 1, False: 0]
  |  |  |  Branch (634:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  635|      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|        )
  |  |  ------------------
  |  |  636|      0|        return(-1);                                                                                                                       \
  |  |  637|      0|    }                                                                                                                                     \
  ------------------
  695|       |
  696|       |
  697|       |    /******************************************************************************
  698|       |     *
  699|       |     * Register transforms
  700|       |     *
  701|       |     *****************************************************************************/
  702|      1|    XMLSEC_REGISTER_TRANSFORM(Aes128Cbc);                           /* transformAes128CbcGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  703|      1|    XMLSEC_REGISTER_TRANSFORM(Aes192Cbc);                           /* transformAes192CbcGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  704|      1|    XMLSEC_REGISTER_TRANSFORM(Aes256Cbc);                           /* transformAes256CbcGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  705|       |
  706|      1|    XMLSEC_REGISTER_TRANSFORM(Aes128Gcm);                           /* transformAes128GcmGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  707|      1|    XMLSEC_REGISTER_TRANSFORM(Aes192Gcm);                           /* transformAes192GcmGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  708|      1|    XMLSEC_REGISTER_TRANSFORM(Aes256Gcm);                           /* transformAes256GcmGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  709|       |
  710|      1|    XMLSEC_REGISTER_TRANSFORM(ConcatKdf);                           /* transformConcatKdfGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  711|       |
  712|      1|    XMLSEC_REGISTER_TRANSFORM(KWAes128);                            /* transformKWAes128GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  713|      1|    XMLSEC_REGISTER_TRANSFORM(KWAes192);                            /* transformKWAes192GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  714|      1|    XMLSEC_REGISTER_TRANSFORM(KWAes256);                            /* transformKWAes256GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  715|       |
  716|      1|    XMLSEC_REGISTER_TRANSFORM(Camellia128Cbc);                      /* transformCamellia128CbcGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  717|      1|    XMLSEC_REGISTER_TRANSFORM(Camellia192Cbc);                      /* transformCamellia192CbcGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  718|      1|    XMLSEC_REGISTER_TRANSFORM(Camellia256Cbc);                      /* transformCamellia256CbcGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  719|       |
  720|      1|    XMLSEC_REGISTER_TRANSFORM(KWCamellia128);                       /* transformKWCamellia128GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  721|      1|    XMLSEC_REGISTER_TRANSFORM(KWCamellia192);                       /* transformKWCamellia192GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  722|      1|    XMLSEC_REGISTER_TRANSFORM(KWCamellia256);                       /* transformKWCamellia256GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  723|       |
  724|      1|    XMLSEC_REGISTER_TRANSFORM(ChaCha20);                            /* transformChaCha20GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  725|      1|    XMLSEC_REGISTER_TRANSFORM(ChaCha20Poly1305);                    /* transformChaCha20Poly1305GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  726|       |
  727|      1|    XMLSEC_REGISTER_TRANSFORM(Des3Cbc);                             /* transformDes3CbcGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  728|       |
  729|      1|    XMLSEC_REGISTER_TRANSFORM(KWDes3);                              /* transformKWDes3GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  730|       |
  731|      1|    XMLSEC_REGISTER_TRANSFORM(Gost2001GostR3411_94);                /* transformGost2001GostR3411_94GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  732|      1|    XMLSEC_REGISTER_TRANSFORM(GostR3410_2012GostR3411_2012_256);    /* transformGostR3410_2012GostR3411_2012_256GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  733|      1|    XMLSEC_REGISTER_TRANSFORM(GostR3410_2012GostR3411_2012_512);    /* transformGostR3410_2012GostR3411_2012_512GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  734|       |
  735|      1|    XMLSEC_REGISTER_TRANSFORM(GostR3411_94);                        /* transformGostR3411_94GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  736|      1|    XMLSEC_REGISTER_TRANSFORM(GostR3411_2012_256);                  /* transformGostR3411_2012_256GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  737|      1|    XMLSEC_REGISTER_TRANSFORM(GostR3411_2012_512);                  /* transformGostR3411_2012_512GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  738|       |
  739|       |
  740|      1|    XMLSEC_REGISTER_TRANSFORM(DhEs);                                /* transformDhEsGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  741|       |
  742|      1|    XMLSEC_REGISTER_TRANSFORM(DsaSha1);                             /* transformDsaSha1GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  743|      1|    XMLSEC_REGISTER_TRANSFORM(DsaSha256);                           /* transformDsaSha256GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  744|       |
  745|      1|    XMLSEC_REGISTER_TRANSFORM(Ecdh);                                /* transformEcdhGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  746|       |
  747|      1|    XMLSEC_REGISTER_TRANSFORM(X25519);                              /* transformX25519GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  748|      1|    XMLSEC_REGISTER_TRANSFORM(X448);                                /* transformX448GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  749|       |
  750|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaRipemd160);                      /* transformEcdsaRipemd160GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  751|       |
  752|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha1);                           /* transformEcdsaSha1GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  753|       |
  754|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha224);                         /* transformEcdsaSha224GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  755|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha256);                         /* transformEcdsaSha256GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  756|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha384);                         /* transformEcdsaSha384GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  757|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha512);                         /* transformEcdsaSha512GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  758|       |
  759|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha3_224);                       /* transformEcdsaSha3_224GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  760|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha3_256);                       /* transformEcdsaSha3_256GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  761|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha3_384);                       /* transformEcdsaSha3_384GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  762|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha3_512);                       /* transformEcdsaSha3_512GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  763|       |
  764|      1|    XMLSEC_REGISTER_TRANSFORM(HmacMd5);                             /* transformHmacMd5GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  765|       |
  766|      1|    XMLSEC_REGISTER_TRANSFORM(HmacRipemd160);                       /* transformHmacRipemd160GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  767|       |
  768|      1|    XMLSEC_REGISTER_TRANSFORM(HmacSha1);                            /* transformHmacSha1GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  769|       |
  770|      1|    XMLSEC_REGISTER_TRANSFORM(HmacSha224);                          /* transformHmacSha224GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  771|      1|    XMLSEC_REGISTER_TRANSFORM(HmacSha256);                          /* transformHmacSha256GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  772|      1|    XMLSEC_REGISTER_TRANSFORM(HmacSha384);                          /* transformHmacSha384GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  773|      1|    XMLSEC_REGISTER_TRANSFORM(HmacSha512);                          /* transformHmacSha512GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  774|       |
  775|      1|    XMLSEC_REGISTER_TRANSFORM(Md5);                                 /* transformMd5GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  776|       |
  777|      1|    XMLSEC_REGISTER_TRANSFORM(MLDSA44);                             /* transformMLDSA44GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  778|      1|    XMLSEC_REGISTER_TRANSFORM(MLDSA65);                             /* transformMLDSA65GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  779|      1|    XMLSEC_REGISTER_TRANSFORM(MLDSA87);                             /* transformMLDSA87GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  780|       |
  781|      1|    XMLSEC_REGISTER_TRANSFORM(MLKEM512);                            /* transformMLKEM512GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  782|      1|    XMLSEC_REGISTER_TRANSFORM(MLKEM768);                            /* transformMLKEM768GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  783|      1|    XMLSEC_REGISTER_TRANSFORM(MLKEM1024);                           /* transformMLKEM1024GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  784|       |
  785|      1|    XMLSEC_REGISTER_TRANSFORM(Hkdf);                                /* transformHkdfGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  786|      1|    XMLSEC_REGISTER_TRANSFORM(Pbkdf2);                              /* transformPbkdf2GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  787|       |
  788|      1|    XMLSEC_REGISTER_TRANSFORM(Ripemd160);                           /* transformRipemd160GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  789|       |
  790|      1|    XMLSEC_REGISTER_TRANSFORM(RsaMd5);                              /* transformRsaMd5GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  791|       |
  792|      1|    XMLSEC_REGISTER_TRANSFORM(RsaRipemd160);                        /* transformRsaRipemd160GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  793|       |
  794|      1|    XMLSEC_REGISTER_TRANSFORM(RsaSha1);                             /* transformRsaSha1GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  795|       |
  796|      1|    XMLSEC_REGISTER_TRANSFORM(RsaSha224);                           /* transformRsaSha224GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  797|      1|    XMLSEC_REGISTER_TRANSFORM(RsaSha256);                           /* transformRsaSha256GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  798|      1|    XMLSEC_REGISTER_TRANSFORM(RsaSha384);                           /* transformRsaSha384GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  799|      1|    XMLSEC_REGISTER_TRANSFORM(RsaSha512);                           /* transformRsaSha512GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  800|       |
  801|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha1);                          /* transformRsaPssSha1GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  802|       |
  803|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha224);                        /* transformRsaPssSha224GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  804|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha256);                        /* transformRsaPssSha256GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  805|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha384);                        /* transformRsaPssSha384GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  806|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha512);                        /* transformRsaPssSha512GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  807|       |
  808|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha3_224);                      /* transformRsaPssSha3_224GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  809|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha3_256);                      /* transformRsaPssSha3_256GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  810|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha3_384);                      /* transformRsaPssSha3_384GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  811|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha3_512);                      /* transformRsaPssSha3_512GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  812|       |
  813|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPkcs1);                            /* transformRsaPkcs1GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  814|       |
  815|      1|    XMLSEC_REGISTER_TRANSFORM(RsaOaep);                             /* transformRsaOaepGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  816|      1|    XMLSEC_REGISTER_TRANSFORM(RsaOaepEnc11);                        /* transformRsaOaepEnc11GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  817|       |
  818|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_128f);                    /* transformSLHDSA_SHA2_128fGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  819|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_128s);                    /* transformSLHDSA_SHA2_128sGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  820|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_192f);                    /* transformSLHDSA_SHA2_192fGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  821|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_192s);                    /* transformSLHDSA_SHA2_192sGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  822|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_256f);                    /* transformSLHDSA_SHA2_256fGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  823|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_256s);                    /* transformSLHDSA_SHA2_256sGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  824|       |
  825|      1|    XMLSEC_REGISTER_TRANSFORM(EdDSAEd25519);                        /* transformEdDSAEd25519GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  826|      1|    XMLSEC_REGISTER_TRANSFORM(EdDSAEd25519ctx);                     /* transformEdDSAEd25519ctxGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  827|      1|    XMLSEC_REGISTER_TRANSFORM(EdDSAEd25519ph);                      /* transformEdDSAEd25519phGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  828|      1|    XMLSEC_REGISTER_TRANSFORM(EdDSAEd448);                          /* transformEdDSAEd448GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  829|      1|    XMLSEC_REGISTER_TRANSFORM(EdDSAEd448ph);                        /* transformEdDSAEd448phGetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 0, False: 1]
  |  |  |  Branch (646:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  830|       |
  831|      1|    XMLSEC_REGISTER_TRANSFORM(Sha1);                                /* transformSha1GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  832|       |
  833|      1|    XMLSEC_REGISTER_TRANSFORM(Sha224);                              /* transformSha224GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  834|      1|    XMLSEC_REGISTER_TRANSFORM(Sha256);                              /* transformSha256GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  835|      1|    XMLSEC_REGISTER_TRANSFORM(Sha384);                              /* transformSha384GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  836|      1|    XMLSEC_REGISTER_TRANSFORM(Sha512);                              /* transformSha512GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  837|       |
  838|      1|    XMLSEC_REGISTER_TRANSFORM(Sha3_224);                            /* transformSha3_224GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  839|      1|    XMLSEC_REGISTER_TRANSFORM(Sha3_256);                            /* transformSha3_256GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  840|      1|    XMLSEC_REGISTER_TRANSFORM(Sha3_384);                            /* transformSha3_384GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  841|      1|    XMLSEC_REGISTER_TRANSFORM(Sha3_512);                            /* transformSha3_512GetKlass */
  ------------------
  |  |  646|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (646:8): [True: 1, False: 0]
  |  |  |  Branch (646:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  647|      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|        )
  |  |  ------------------
  |  |  648|      0|        return(-1);                                                                                                                          \
  |  |  649|      0|    }                                                                                                                                        \
  ------------------
  842|       |
  843|       |    /* done */
  844|      1|    return(0);
  845|      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:
  160|      1|xmlSecErrorsSetSystemCallback(xmlSecErrorsCallback callback) {
  161|      1|    xmlSecErrorsSystemClbk = callback;
  162|      1|}
xmlSecError:
  263|  3.31k|) {
  264|  3.31k|    xmlSecErrorsCallback callback = (xmlSecErrorsClbkIsSetByUser != 0) ? xmlSecErrorsUserClbk : xmlSecErrorsSystemClbk;
  ------------------
  |  Branch (264:37): [True: 3.31k, False: 0]
  ------------------
  265|  3.31k|    if(callback != NULL) {
  ------------------
  |  Branch (265:8): [True: 3.31k, False: 0]
  ------------------
  266|  3.31k|        xmlChar error_msg[XMLSEC_ERRORS_BUFFER_SIZE];
  267|  3.31k|        int ret;
  268|       |
  269|  3.31k|        if(msg != NULL) {
  ------------------
  |  Branch (269:12): [True: 3.31k, False: 0]
  ------------------
  270|       |            /* Make coverity + C23 happy */
  271|  3.31k|#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
  272|  3.31k|            va_list va = {0};
  273|       |#else /* defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L */
  274|       |            va_list va;
  275|       |#endif /* defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L */
  276|       |
  277|  3.31k|            va_start(va, msg);
  278|  3.31k|            ret = xmlStrVPrintf(error_msg, sizeof(error_msg), msg, va);
  279|  3.31k|            if((ret < 0) || (ret >= (int)sizeof(error_msg))) {
  ------------------
  |  Branch (279:16): [True: 0, False: 3.31k]
  |  Branch (279:29): [True: 0, False: 3.31k]
  ------------------
  280|       |                /* Can't really report an error from an error callback */
  281|      0|                memcpy(error_msg, fatal_error, sizeof(fatal_error));
  282|      0|            }
  283|  3.31k|            error_msg[sizeof(error_msg) - 1] = '\0'; /* just in case */
  284|  3.31k|            va_end(va);
  285|  3.31k|        } else {
  286|      0|            error_msg[0] = '\0';
  287|      0|        }
  288|  3.31k|        callback(file, line, func, errorObject, errorSubject, reason, (char*)error_msg);
  289|  3.31k|    }
  290|  3.31k|}

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:
  225|      1|        xmlInputCloseCallback closeFunc) {
  226|      1|    xmlSecIOCallbackPtr callbacks;
  227|      1|    int ret;
  228|       |
  229|      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]
  |  |  ------------------
  ------------------
  230|       |
  231|      1|    callbacks = xmlSecIOCallbackCreate(matchFunc, openFunc, readFunc, closeFunc);
  232|      1|    if(callbacks == NULL) {
  ------------------
  |  Branch (232:8): [True: 0, False: 1]
  ------------------
  233|      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|        )
  ------------------
  234|      0|        return(-1);
  235|      0|    }
  236|       |
  237|      1|    ret = xmlSecPtrListAdd(&xmlSecAllIOCallbacks, callbacks);
  238|      1|    if(ret < 0) {
  ------------------
  |  Branch (238:8): [True: 0, False: 1]
  ------------------
  239|      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|        )
  ------------------
  240|      0|        xmlSecIOCallbackDestroy(callbacks);
  241|      0|        return(-1);
  242|      0|    }
  243|      1|    return(0);
  244|      1|}
xmlSecIORegisterDefaultCallbacks:
  405|      1|xmlSecIORegisterDefaultCallbacks(void) {
  406|      1|    int ret;
  407|       |
  408|      1|#ifndef XMLSEC_NO_FILES
  409|       |    /* Callbacks added later are picked up first */
  410|      1|    ret = xmlSecIORegisterCallbacks(
  411|      1|        xmlSecIOFileMatch,
  412|      1|        xmlSecIOFileOpen,
  413|      1|        xmlSecIOFileRead,
  414|      1|        xmlSecIOFileClose
  415|      1|    );
  416|      1|    if(ret < 0) {
  ------------------
  |  Branch (416:8): [True: 0, False: 1]
  ------------------
  417|      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|        )
  ------------------
  418|      0|        return(-1);
  419|      0|    }
  420|      1|#endif /* XMLSEC_NO_FILES */
  421|       |
  422|       |#ifndef XMLSEC_NO_HTTP
  423|       |    ret = xmlSecIORegisterCallbacks(xmlIOHTTPMatch, xmlIOHTTPOpen,
  424|       |                              xmlIOHTTPRead, xmlIOHTTPClose);
  425|       |    if(ret < 0) {
  426|       |        xmlSecInternalError("xmlSecIORegisterCallbacks(http)", NULL);
  427|       |        return(-1);
  428|       |    }
  429|       |#endif /* XMLSEC_NO_HTTP */
  430|       |
  431|       |#ifndef XMLSEC_NO_FTP
  432|       |    ret = xmlSecIORegisterCallbacks(xmlIOFTPMatch, xmlIOFTPOpen,
  433|       |                              xmlIOFTPRead, xmlIOFTPClose);
  434|       |    if(ret < 0) {
  435|       |        xmlSecInternalError("xmlSecIORegisterCallbacks(ftp)", NULL);
  436|       |        return(-1);
  437|       |    }
  438|       |#endif /* XMLSEC_NO_FTP */
  439|       |
  440|      1|    XMLSEC_UNREFERENCED(ret);
  ------------------
  |  |  564|      1|#define XMLSEC_UNREFERENCED(param)   ((void)(param))
  ------------------
  441|       |
  442|       |    /* done */
  443|      1|    return(0);
  444|      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:
  667|      1|xmlSecKeyDataNameGetKlass(void) {
  668|      1|    return(&xmlSecKeyDataNameKlass);
  669|      1|}
xmlSecKeyDataValueGetKlass:
  848|      1|xmlSecKeyDataValueGetKlass(void) {
  849|      1|    return(&xmlSecKeyDataValueKlass);
  850|      1|}
xmlSecKeyDataRetrievalMethodGetKlass:
 1058|      1|xmlSecKeyDataRetrievalMethodGetKlass(void) {
 1059|      1|    return(&xmlSecKeyDataRetrievalMethodKlass);
 1060|      1|}
xmlSecKeyDataKeyInfoReferenceGetKlass:
 1364|      1|xmlSecKeyDataKeyInfoReferenceGetKlass(void) {
 1365|      1|    return(&xmlSecKeyDataKeyInfoReferenceKlass);
 1366|      1|}
xmlSecKeyDataEncryptedKeyGetKlass:
 1582|      1|xmlSecKeyDataEncryptedKeyGetKlass(void) {
 1583|      1|    return(&xmlSecKeyDataEncryptedKeyKlass);
 1584|      1|}
xmlSecKeyDataDerivedKeyGetKlass:
 1807|      1|xmlSecKeyDataDerivedKeyGetKlass(void) {
 1808|      1|    return(&xmlSecKeyDataDerivedKeyKlass);
 1809|      1|}
xmlSecKeyDataAgreementMethodGetKlass:
 1966|      1|xmlSecKeyDataAgreementMethodGetKlass(void) {
 1967|      1|    return(&xmlSecKeyDataAgreementMethodKlass);
 1968|      1|}

xmlSecKeyCreate:
  496|     38|xmlSecKeyCreate(void)  {
  497|     38|    xmlSecKeyPtr key;
  498|       |
  499|       |    /* Allocate a new xmlSecKey and fill the fields. */
  500|     38|    key = (xmlSecKeyPtr)xmlMalloc(sizeof(xmlSecKey));
  501|     38|    if(key == NULL) {
  ------------------
  |  Branch (501:8): [True: 0, False: 38]
  ------------------
  502|      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|        )
  ------------------
  503|      0|        return(NULL);
  504|      0|    }
  505|     38|    memset(key, 0, sizeof(xmlSecKey));
  506|     38|    key->usage = xmlSecKeyUsageAny;
  ------------------
  |  |   84|     38|#define xmlSecKeyUsageAny               0xFFFFFFFF
  ------------------
  507|     38|    return(key);
  508|     38|}
xmlSecKeyEmpty:
  515|     38|xmlSecKeyEmpty(xmlSecKeyPtr key) {
  516|     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]
  |  |  ------------------
  ------------------
  517|       |
  518|     38|    if(key->value != NULL) {
  ------------------
  |  Branch (518:8): [True: 38, False: 0]
  ------------------
  519|     38|        xmlSecKeyDataDestroy(key->value);
  520|     38|    }
  521|     38|    if(key->name != NULL) {
  ------------------
  |  Branch (521:8): [True: 0, False: 38]
  ------------------
  522|      0|        xmlFree(key->name);
  523|      0|    }
  524|     38|    if(key->dataList != NULL) {
  ------------------
  |  Branch (524:8): [True: 0, False: 38]
  ------------------
  525|      0|        xmlSecPtrListDestroy(key->dataList);
  526|      0|    }
  527|       |
  528|     38|    memset(key, 0, sizeof(xmlSecKey));
  529|     38|}
xmlSecKeyDestroy:
  537|     38|xmlSecKeyDestroy(xmlSecKeyPtr key) {
  538|     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]
  |  |  ------------------
  ------------------
  539|       |
  540|     38|    xmlSecKeyEmpty(key);
  541|     38|    xmlFree(key);
  542|     38|}
xmlSecKeySetValue:
  789|     38|xmlSecKeySetValue(xmlSecKeyPtr key, xmlSecKeyDataPtr value) {
  790|     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]
  |  |  ------------------
  ------------------
  791|     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]
  |  |  ------------------
  ------------------
  792|       |
  793|       |    /* do nothing if the same value is set again */
  794|     38|    if(value == key->value) {
  ------------------
  |  Branch (794:8): [True: 0, False: 38]
  ------------------
  795|      0|        return(0);
  796|      0|    }
  797|       |
  798|     38|    if(key->value != NULL) {
  ------------------
  |  Branch (798:8): [True: 0, False: 38]
  ------------------
  799|      0|        xmlSecKeyDataDestroy(key->value);
  800|      0|        key->value = NULL;
  801|      0|    }
  802|     38|    key->value = value;
  803|       |
  804|     38|    return(0);
  805|     38|}

xmlSecKeyDataIdsInit:
   73|      1|xmlSecKeyDataIdsInit(void) {
   74|      1|    int ret;
   75|       |
   76|      1|    ret = xmlSecPtrListInitialize(&xmlSecAllKeyDataIds, xmlSecKeyDataIdListId);
  ------------------
  |  |  542|      1|#define xmlSecKeyDataIdListId   xmlSecKeyDataIdListGetKlass()
  ------------------
   77|      1|    if(ret < 0) {
  ------------------
  |  Branch (77:8): [True: 0, False: 1]
  ------------------
   78|      0|        xmlSecInternalError("xmlSecPtrListInitialize(xmlSecKeyDataIdListId)", 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|        )
  ------------------
   79|      0|        return(-1);
   80|      0|    }
   81|       |
   82|      1|    ret = xmlSecPtrListInitialize(&xmlSecEnabledKeyDataIds, xmlSecKeyDataIdListId);
  ------------------
  |  |  542|      1|#define xmlSecKeyDataIdListId   xmlSecKeyDataIdListGetKlass()
  ------------------
   83|      1|    if(ret < 0) {
  ------------------
  |  Branch (83:8): [True: 0, False: 1]
  ------------------
   84|      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|        )
  ------------------
   85|      0|        return(-1);
   86|      0|    }
   87|       |
   88|      1|    ret = xmlSecKeyDataIdsRegisterDefault();
   89|      1|    if(ret < 0) {
  ------------------
  |  Branch (89:8): [True: 0, False: 1]
  ------------------
   90|      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|        )
  ------------------
   91|      0|        return(-1);
   92|      0|    }
   93|       |
   94|      1|    return(0);
   95|      1|}
xmlSecKeyDataIdsRegister:
  120|      8|xmlSecKeyDataIdsRegister(xmlSecKeyDataId id) {
  121|      8|    int ret;
  122|       |
  123|      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]
  |  |  ------------------
  ------------------
  124|       |
  125|      8|    ret = xmlSecPtrListAdd(&xmlSecAllKeyDataIds, (xmlSecPtr)id);
  126|      8|    if(ret < 0) {
  ------------------
  |  Branch (126:8): [True: 0, False: 8]
  ------------------
  127|      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|        )
  ------------------
  128|      0|        return(-1);
  129|      0|    }
  130|       |
  131|      8|    ret = xmlSecPtrListAdd(&xmlSecEnabledKeyDataIds, (xmlSecPtr)id);
  132|      8|    if(ret < 0) {
  ------------------
  |  Branch (132:8): [True: 0, False: 8]
  ------------------
  133|      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|        )
  ------------------
  134|      0|        return(-1);
  135|      0|    }
  136|       |
  137|      8|    return(0);
  138|      8|}
xmlSecKeyDataIdsRegisterDisabled:
  148|     15|xmlSecKeyDataIdsRegisterDisabled(xmlSecKeyDataId id) {
  149|     15|    int ret;
  150|       |
  151|     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]
  |  |  ------------------
  ------------------
  152|       |
  153|     15|    ret = xmlSecPtrListAdd(&xmlSecAllKeyDataIds, (xmlSecPtr)id);
  154|     15|    if(ret < 0) {
  ------------------
  |  Branch (154:8): [True: 0, False: 15]
  ------------------
  155|      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|        )
  ------------------
  156|      0|        return(-1);
  157|      0|    }
  158|       |
  159|     15|    return(0);
  160|     15|}
xmlSecKeyDataIdsRegisterDefault:
  171|      1|xmlSecKeyDataIdsRegisterDefault(void) {
  172|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataNameId) < 0) {
  ------------------
  |  |  238|      1|#define xmlSecKeyDataNameId             xmlSecKeyDataNameGetKlass()
  ------------------
  |  Branch (172:8): [True: 0, False: 1]
  ------------------
  173|      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|        )
  ------------------
  174|      0|        return(-1);
  175|      0|    }
  176|       |
  177|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataRetrievalMethodId) < 0) {
  ------------------
  |  |  250|      1|#define xmlSecKeyDataRetrievalMethodId  xmlSecKeyDataRetrievalMethodGetKlass()
  ------------------
  |  Branch (177:8): [True: 0, False: 1]
  ------------------
  178|      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|        )
  ------------------
  179|      0|        return(-1);
  180|      0|    }
  181|       |
  182|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataKeyInfoReferenceId) < 0) {
  ------------------
  |  |  256|      1|#define xmlSecKeyDataKeyInfoReferenceId xmlSecKeyDataKeyInfoReferenceGetKlass()
  ------------------
  |  Branch (182:8): [True: 0, False: 1]
  ------------------
  183|      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|        )
  ------------------
  184|      0|        return(-1);
  185|      0|    }
  186|       |
  187|      1|#ifndef XMLSEC_NO_XMLENC
  188|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataEncryptedKeyId) < 0) {
  ------------------
  |  |  263|      1|#define xmlSecKeyDataEncryptedKeyId     xmlSecKeyDataEncryptedKeyGetKlass()
  ------------------
  |  Branch (188:8): [True: 0, False: 1]
  ------------------
  189|      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|        )
  ------------------
  190|      0|        return(-1);
  191|      0|    }
  192|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataAgreementMethodId) < 0) {
  ------------------
  |  |  269|      1|#define xmlSecKeyDataAgreementMethodId  xmlSecKeyDataAgreementMethodGetKlass()
  ------------------
  |  Branch (192:8): [True: 0, False: 1]
  ------------------
  193|      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|        )
  ------------------
  194|      0|        return(-1);
  195|      0|    }
  196|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataDerivedKeyId) < 0) {
  ------------------
  |  |  275|      1|#define xmlSecKeyDataDerivedKeyId       xmlSecKeyDataDerivedKeyGetKlass()
  ------------------
  |  Branch (196:8): [True: 0, False: 1]
  ------------------
  197|      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|        )
  ------------------
  198|      0|        return(-1);
  199|      0|    }
  200|       |    /* EXPERIMENTAL and should NOT be used in production */
  201|       |#ifndef XMLSEC_NO_MLKEM
  202|       |    if(xmlSecKeyDataIdsRegisterDisabled(xmlSecKeyDataEncapsulationMechanismId) < 0) {
  203|       |        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled(xmlSecKeyDataEncapsulationMechanismId)", NULL);
  204|       |        return(-1);
  205|       |    }
  206|       |#endif /* XMLSEC_NO_MLKEM */
  207|       |
  208|      1|#endif /* XMLSEC_NO_XMLENC */
  209|       |
  210|       |    /* KeyValue key data should not be used in production w/o understanding of the security risks */
  211|      1|    if(xmlSecKeyDataIdsRegisterDisabled(xmlSecKeyDataValueId) < 0) {
  ------------------
  |  |  244|      1|#define xmlSecKeyDataValueId            xmlSecKeyDataValueGetKlass()
  ------------------
  |  Branch (211:8): [True: 0, False: 1]
  ------------------
  212|      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|        )
  ------------------
  213|      0|        return(-1);
  214|      0|    }
  215|       |
  216|      1|    return(0);
  217|      1|}
xmlSecKeyDataCreate:
  235|     38|xmlSecKeyDataCreate(xmlSecKeyDataId id)  {
  236|     38|    xmlSecKeyDataPtr data;
  237|     38|    int ret;
  238|       |
  239|     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]
  |  |  ------------------
  ------------------
  240|     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]
  |  |  ------------------
  ------------------
  241|     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]
  |  |  ------------------
  ------------------
  242|     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]
  |  |  ------------------
  ------------------
  243|       |
  244|       |    /* Allocate a new xmlSecKeyData and fill the fields. */
  245|     38|    data = (xmlSecKeyDataPtr)xmlMalloc(id->objSize);
  246|     38|    if(data == NULL) {
  ------------------
  |  Branch (246:8): [True: 0, False: 38]
  ------------------
  247|      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|        )
  ------------------
  248|      0|                          xmlSecKeyDataKlassGetName(id));
  249|      0|        return(NULL);
  250|      0|    }
  251|     38|    memset(data, 0, id->objSize);
  252|     38|    data->id = id;
  253|       |
  254|     38|    if(id->initialize != NULL) {
  ------------------
  |  Branch (254:8): [True: 38, False: 0]
  ------------------
  255|     38|        ret = (id->initialize)(data);
  256|     38|        if(ret < 0) {
  ------------------
  |  Branch (256:12): [True: 0, False: 38]
  ------------------
  257|      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|        )
  ------------------
  258|      0|                                xmlSecKeyDataKlassGetName(id));
  259|      0|            xmlSecKeyDataDestroy(data);
  260|      0|            return(NULL);
  261|      0|        }
  262|     38|    }
  263|       |
  264|     38|    return(data);
  265|     38|}
xmlSecKeyDataDestroy:
  307|     38|xmlSecKeyDataDestroy(xmlSecKeyDataPtr data) {
  308|     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]
  |  |  ------------------
  ------------------
  309|     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]
  |  |  ------------------
  ------------------
  310|       |
  311|     38|    if(data->id->finalize != NULL) {
  ------------------
  |  Branch (311:8): [True: 38, False: 0]
  ------------------
  312|     38|        (data->id->finalize)(data);
  313|     38|    }
  314|     38|    xmlSecMemCleanse(data, data->id->objSize);
  315|     38|    xmlFree(data);
  316|     38|}
xmlSecKeyDataIdListGetKlass:
  541|      2|xmlSecKeyDataIdListGetKlass(void) {
  542|      2|    return(&xmlSecKeyDataIdListKlass);
  543|      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:
  306|    120|xmlSecPtrListAdd(xmlSecPtrListPtr list, xmlSecPtr item) {
  307|    120|    int ret;
  308|       |
  309|    120|    xmlSecAssert2(xmlSecPtrListIsValid(list), -1);
  ------------------
  |  |  461|    120|        do { \
  |  |  462|    240|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:19): [True: 120, False: 0]
  |  |  |  Branch (462:19): [True: 120, 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|    120|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 120]
  |  |  ------------------
  ------------------
  310|       |
  311|    120|    ret = xmlSecPtrListEnsureSize(list, list->use + 1);
  312|    120|    if(ret < 0) {
  ------------------
  |  Branch (312:8): [True: 0, False: 120]
  ------------------
  313|      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|        )
  ------------------
  314|      0|            "size=" XMLSEC_SIZE_FMT, list->use + 1);
  315|      0|        return(-1);
  316|      0|    }
  317|       |
  318|    120|    list->data[list->use++] = item;
  319|    120|    return(0);
  320|    120|}
list.c:xmlSecPtrListEnsureSize:
  586|    120|xmlSecPtrListEnsureSize(xmlSecPtrListPtr list, xmlSecSize size) {
  587|    120|    xmlSecPtr* newData;
  588|    120|    xmlSecSize newSize = 0;
  589|       |
  590|    120|    xmlSecAssert2(xmlSecPtrListIsValid(list), -1);
  ------------------
  |  |  461|    120|        do { \
  |  |  462|    240|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:19): [True: 120, False: 0]
  |  |  |  Branch (462:19): [True: 120, 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|    120|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 120]
  |  |  ------------------
  ------------------
  591|       |
  592|    120|    if(size <= list->max) {
  ------------------
  |  Branch (592:8): [True: 115, False: 5]
  ------------------
  593|    115|        return(0);
  594|    115|    }
  595|       |
  596|      5|    switch(list->allocMode) {
  597|      0|        case xmlSecAllocModeExact:
  ------------------
  |  Branch (597:9): [True: 0, False: 5]
  ------------------
  598|      0|            if(size > (XMLSEC_SIZE_MAX - 8)) {
  ------------------
  |  |   90|      0|#define XMLSEC_SIZE_MAX                         SIZE_MAX
  ------------------
  |  Branch (598:16): [True: 0, False: 0]
  ------------------
  599|      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|        )
  ------------------
  600|      0|                return(-1);
  601|      0|            }
  602|      0|            newSize = size + 8;
  603|      0|            break;
  604|      5|        case xmlSecAllocModeDouble:
  ------------------
  |  Branch (604:9): [True: 5, False: 0]
  ------------------
  605|      5|            if(size > ((XMLSEC_SIZE_MAX - 32) / 2)) {
  ------------------
  |  |   90|      5|#define XMLSEC_SIZE_MAX                         SIZE_MAX
  ------------------
  |  Branch (605:16): [True: 0, False: 5]
  ------------------
  606|      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|        )
  ------------------
  607|      0|                return(-1);
  608|      0|            }
  609|      5|            newSize = 2 * size + 32;
  610|      5|            break;
  611|      0|        default:
  ------------------
  |  Branch (611:9): [True: 0, False: 5]
  ------------------
  612|       |            /* an invalid/corrupted allocation mode must not silently fall through
  613|       |             * to a clamped (and possibly insufficient) capacity */
  614|      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|        )
  ------------------
  615|      0|            return(-1);
  616|      5|    }
  617|       |
  618|      5|    if(newSize < gInitialSize) {
  ------------------
  |  Branch (618:8): [True: 4, False: 1]
  ------------------
  619|      4|        newSize = gInitialSize;
  620|      4|    }
  621|       |
  622|       |    /* guard against sizeof(xmlSecPtr) * newSize overflowing xmlSecSize */
  623|      5|    if(newSize > (XMLSEC_SIZE_MAX / sizeof(xmlSecPtr))) {
  ------------------
  |  |   90|      5|#define XMLSEC_SIZE_MAX                         SIZE_MAX
  ------------------
  |  Branch (623:8): [True: 0, False: 5]
  ------------------
  624|      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|        )
  ------------------
  625|      0|        return(-1);
  626|      0|    }
  627|       |
  628|      5|    if(list->data != NULL) {
  ------------------
  |  Branch (628:8): [True: 1, False: 4]
  ------------------
  629|      1|        newData = (xmlSecPtr*)xmlRealloc(list->data, sizeof(xmlSecPtr) * newSize);
  630|      4|    } else {
  631|      4|        newData = (xmlSecPtr*)xmlMalloc(sizeof(xmlSecPtr) * newSize);
  632|      4|    }
  633|      5|    if(newData == NULL) {
  ------------------
  |  Branch (633:8): [True: 0, False: 5]
  ------------------
  634|      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|        )
  ------------------
  635|      0|                          xmlSecPtrListGetName(list));
  636|      0|        return(-1);
  637|      0|    }
  638|       |
  639|      5|    list->data = newData;
  640|      5|    list->max = newSize;
  641|       |
  642|      5|    return(0);
  643|      5|}

xmlSecOpenSSLAppInit:
  123|      1|xmlSecOpenSSLAppInit(const char* config) {
  124|      1|#ifdef XMLSEC_OPENSSL_API_300
  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 /* XMLSEC_OPENSSL_API_300 */
  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(OPENSSL_IS_BORINGSSL) && !defined(OPENSSL_IS_AWSLC)
  147|      1|    opts |= OPENSSL_INIT_ASYNC;
  148|      1|#endif /* !defined(OPENSSL_IS_BORINGSSL) && !defined(OPENSSL_IS_AWSLC) */
  149|       |
  150|       |#if !defined(OPENSSL_IS_BORINGSSL) && !defined(XMLSEC_OPENSSL_API_300) && !defined(OPENSSL_IS_AWSLC)
  151|       |    opts |= OPENSSL_INIT_ENGINE_ALL_BUILTIN;
  152|       |#endif /* !defined(OPENSSL_IS_BORINGSSL) && !defined(XMLSEC_OPENSSL_API_300) && !defined(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);
  ------------------
  |  |   59|      0|    do {                                                    \
  |  |   60|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   61|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   62|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   63|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   64|      0|                    (const char*)(errorObject),             \
  |  |   65|      0|                    (errorFunction),                        \
  |  |   66|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   67|      0|                    "openssl error: %s",                    \
  |  |   68|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   69|      0|        );                                                  \
  |  |   70|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (70: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.41k|) {
  388|  1.41k|    BIO* bio;
  389|  1.41k|    xmlSecKeyPtr key;
  390|       |
  391|  1.41k|    xmlSecAssert2(data != NULL, NULL);
  ------------------
  |  |  461|  1.41k|        do { \
  |  |  462|  1.41k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 1.41k]
  |  |  ------------------
  |  |  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.41k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 1.41k]
  |  |  ------------------
  ------------------
  392|  1.41k|    xmlSecAssert2(dataSize > 0, NULL);
  ------------------
  |  |  461|  1.41k|        do { \
  |  |  462|  1.41k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 1.41k]
  |  |  ------------------
  |  |  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.41k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 1.41k]
  |  |  ------------------
  ------------------
  393|  1.41k|    xmlSecAssert2(format != xmlSecKeyDataFormatUnknown, NULL);
  ------------------
  |  |  461|  1.41k|        do { \
  |  |  462|  1.41k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 1.41k]
  |  |  ------------------
  |  |  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.41k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 1.41k]
  |  |  ------------------
  ------------------
  394|       |
  395|       |    /* this would be a read only BIO, cast from const is ok */
  396|  1.41k|    bio = xmlSecOpenSSLCreateMemBufBio((void*)data, dataSize);
  397|  1.41k|    if(bio == NULL) {
  ------------------
  |  Branch (397:8): [True: 0, False: 1.41k]
  ------------------
  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.41k|    key = xmlSecOpenSSLAppKeyLoadBIO(bio, format, pwd, pwdCallback, pwdCallbackCtx);
  403|  1.41k|    if(key == NULL) {
  ------------------
  |  Branch (403:8): [True: 1.37k, False: 38]
  ------------------
  404|  1.37k|        xmlSecInternalError("xmlSecOpenSSLAppKeyLoadBIO", NULL);
  ------------------
  |  |   51|  1.37k|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|  1.37k|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|  1.37k|                    (const char*)(errorObject),             \
  |  |   53|  1.37k|                    (errorFunction),                        \
  |  |   54|  1.37k|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|  1.37k|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|  1.37k|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|  1.37k|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|  1.37k|        )
  ------------------
  405|  1.37k|        BIO_free_all(bio);
  406|  1.37k|        return(NULL);
  407|  1.37k|    }
  408|       |
  409|       |    /* check if any bytes remaining */
  410|     38|    if(xmlSecOpenSSLAppCheckMemoryBioConsumed(bio, format) != 1) {
  ------------------
  |  Branch (410:8): [True: 18, False: 20]
  ------------------
  411|     18|        xmlSecInternalError("xmlSecOpenSSLAppCheckMemoryBioConsumed", NULL);
  ------------------
  |  |   51|     18|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|     18|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|     18|                    (const char*)(errorObject),             \
  |  |   53|     18|                    (errorFunction),                        \
  |  |   54|     18|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|     18|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|     18|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|     18|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|     18|        )
  ------------------
  412|     18|        xmlSecKeyDestroy(key);
  413|     18|        BIO_free_all(bio);
  414|     18|        return(NULL);
  415|     18|    }
  416|       |
  417|       |    /* success */
  418|     20|    BIO_free_all(bio);
  419|     20|    return(key);
  420|     38|}
xmlSecOpenSSLAppKeyLoadBIO:
  436|  1.41k|) {
  437|       |
  438|  1.41k|    xmlSecKeyPtr key = NULL;
  439|  1.41k|    xmlSecKeyDataPtr data;
  440|  1.41k|    EVP_PKEY* pKey = NULL;
  441|  1.41k|    pem_password_cb* pwdCb = NULL;
  442|  1.41k|    void* pwdCbCtx = NULL;
  443|  1.41k|    int ret;
  444|       |
  445|  1.41k|    xmlSecAssert2(bio != NULL, NULL);
  ------------------
  |  |  461|  1.41k|        do { \
  |  |  462|  1.41k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 1.41k]
  |  |  ------------------
  |  |  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.41k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 1.41k]
  |  |  ------------------
  ------------------
  446|  1.41k|    xmlSecAssert2(format != xmlSecKeyDataFormatUnknown, NULL);
  ------------------
  |  |  461|  1.41k|        do { \
  |  |  462|  1.41k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 1.41k]
  |  |  ------------------
  |  |  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.41k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 1.41k]
  |  |  ------------------
  ------------------
  447|       |
  448|       |    /* prep pwd callbacks */
  449|  1.41k|    if(pwd != NULL) {
  ------------------
  |  Branch (449:8): [True: 1.41k, False: 0]
  ------------------
  450|  1.41k|        pwdCb = xmlSecOpenSSLDummyPasswordCallback;
  451|  1.41k|        pwdCbCtx = (void*)pwd;
  452|  1.41k|     } 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.41k|    switch(format) {
  458|    802|    case xmlSecKeyDataFormatPem:
  ------------------
  |  Branch (458:5): [True: 802, False: 611]
  ------------------
  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|    802|        pKey = PEM_read_bio_PrivateKey_ex(bio, NULL, pwdCb, pwdCbCtx, xmlSecOpenSSLGetLibCtx(), NULL);
  462|    802|        if(pKey == NULL) {
  ------------------
  |  Branch (462:12): [True: 801, False: 1]
  ------------------
  463|    801|            (void)BIO_reset(bio);
  464|    801|            pKey = PEM_read_bio_PUBKEY_ex(bio, NULL, pwdCb, pwdCbCtx, xmlSecOpenSSLGetLibCtx(), NULL);
  465|    801|        }
  466|       |
  467|    802|        if(pKey == NULL) {
  ------------------
  |  Branch (467:12): [True: 789, False: 13]
  ------------------
  468|    789|            xmlSecOpenSSLError("PEM_read_bio_PrivateKey and PEM_read_bio_PUBKEY", NULL);
  ------------------
  |  |   59|    789|    do {                                                    \
  |  |   60|    789|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   61|    789|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   62|    789|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   63|    789|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|    789|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   64|    789|                    (const char*)(errorObject),             \
  |  |   65|    789|                    (errorFunction),                        \
  |  |   66|    789|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|    789|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   67|    789|                    "openssl error: %s",                    \
  |  |   68|    789|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|    789|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 789, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   69|    789|        );                                                  \
  |  |   70|    789|    } while(0)
  |  |  ------------------
  |  |  |  Branch (70:13): [Folded, False: 789]
  |  |  ------------------
  ------------------
  469|    789|            return(NULL);
  470|    789|        }
  471|     13|        break;
  472|    153|    case xmlSecKeyDataFormatDer:
  ------------------
  |  Branch (472:5): [True: 153, False: 1.26k]
  ------------------
  473|       |        /* try to read private key first; if can't read private key then
  474|       |         reset bio to the start of the file and try to read public key. */
  475|    153|        pKey = d2i_PrivateKey_ex_bio(bio, NULL, xmlSecOpenSSLGetLibCtx(), NULL);
  476|    153|        if(pKey == NULL) {
  ------------------
  |  Branch (476:12): [True: 133, False: 20]
  ------------------
  477|    133|            (void)BIO_reset(bio);
  478|       |
  479|    133|            XMLSEC_OPENSSL_PUSH_LIB_CTX(return(NULL));
  ------------------
  |  |   92|    133|    {                                              \
  |  |   93|    133|        OSSL_LIB_CTX* savedDefaultLibCtx = NULL;   \
  |  |   94|    133|        savedDefaultLibCtx = OSSL_LIB_CTX_set0_default(xmlSecOpenSSLGetLibCtx()); \
  |  |   95|    133|        if(savedDefaultLibCtx == NULL) {           \
  |  |  ------------------
  |  |  |  Branch (95:12): [True: 0, False: 133]
  |  |  ------------------
  |  |   96|      0|            xmlSecOpenSSLError("OSSL_LIB_CTX_set0_default", NULL);  \
  |  |  ------------------
  |  |  |  |   59|      0|    do {                                                    \
  |  |  |  |   60|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |  |  |   61|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |  |  |   62|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |  |  |   63|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   64|      0|                    (const char*)(errorObject),             \
  |  |  |  |   65|      0|                    (errorFunction),                        \
  |  |  |  |   66|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  |  |  ------------------
  |  |  |  |   67|      0|                    "openssl error: %s",                    \
  |  |  |  |   68|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   69|      0|        );                                                  \
  |  |  |  |   70|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   97|      0|            on_error;                              \
  |  |   98|      0|        }
  ------------------
  480|    133|            pKey = d2i_PUBKEY_bio(bio, NULL);
  481|    133|            XMLSEC_OPENSSL_POP_LIB_CTX();
  ------------------
  |  |  101|    133|        if(savedDefaultLibCtx != NULL) {           \
  |  |  ------------------
  |  |  |  Branch (101:12): [True: 133, False: 0]
  |  |  ------------------
  |  |  102|    133|            OSSL_LIB_CTX_set0_default(savedDefaultLibCtx); \
  |  |  103|    133|        }                                          \
  |  |  104|    133|    }
  ------------------
  482|    133|        }
  483|    153|        if(pKey == NULL) {
  ------------------
  |  Branch (483:12): [True: 130, False: 23]
  ------------------
  484|    130|            xmlSecOpenSSLError("d2i_PrivateKey_ex_bio and d2i_PUBKEY_bio", NULL);
  ------------------
  |  |   59|    130|    do {                                                    \
  |  |   60|    130|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   61|    130|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   62|    130|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   63|    130|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|    130|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   64|    130|                    (const char*)(errorObject),             \
  |  |   65|    130|                    (errorFunction),                        \
  |  |   66|    130|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|    130|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   67|    130|                    "openssl error: %s",                    \
  |  |   68|    130|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|    130|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 130, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   69|    130|        );                                                  \
  |  |   70|    130|    } while(0)
  |  |  ------------------
  |  |  |  Branch (70:13): [Folded, False: 130]
  |  |  ------------------
  ------------------
  485|    130|            return(NULL);
  486|    130|        }
  487|     23|        break;
  488|    209|    case xmlSecKeyDataFormatPkcs8Pem:
  ------------------
  |  Branch (488:5): [True: 209, False: 1.20k]
  ------------------
  489|       |        /* read private key */
  490|    209|        pKey = PEM_read_bio_PrivateKey_ex(bio, NULL, pwdCb, pwdCbCtx, xmlSecOpenSSLGetLibCtx(), NULL);
  491|    209|        if(pKey == NULL) {
  ------------------
  |  Branch (491:12): [True: 205, False: 4]
  ------------------
  492|    205|            xmlSecOpenSSLError("PEM_read_bio_PrivateKey", NULL);
  ------------------
  |  |   59|    205|    do {                                                    \
  |  |   60|    205|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   61|    205|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   62|    205|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   63|    205|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|    205|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   64|    205|                    (const char*)(errorObject),             \
  |  |   65|    205|                    (errorFunction),                        \
  |  |   66|    205|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|    205|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   67|    205|                    "openssl error: %s",                    \
  |  |   68|    205|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|    205|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 205, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   69|    205|        );                                                  \
  |  |   70|    205|    } while(0)
  |  |  ------------------
  |  |  |  Branch (70:13): [Folded, False: 205]
  |  |  ------------------
  ------------------
  493|    205|            return(NULL);
  494|    205|        }
  495|      4|        break;
  496|      4|    case xmlSecKeyDataFormatPkcs8Der:
  ------------------
  |  Branch (496:5): [True: 3, False: 1.41k]
  ------------------
  497|       |        /* read private key */
  498|      3|        XMLSEC_OPENSSL_PUSH_LIB_CTX(return(NULL));
  ------------------
  |  |   92|      3|    {                                              \
  |  |   93|      3|        OSSL_LIB_CTX* savedDefaultLibCtx = NULL;   \
  |  |   94|      3|        savedDefaultLibCtx = OSSL_LIB_CTX_set0_default(xmlSecOpenSSLGetLibCtx()); \
  |  |   95|      3|        if(savedDefaultLibCtx == NULL) {           \
  |  |  ------------------
  |  |  |  Branch (95:12): [True: 0, False: 3]
  |  |  ------------------
  |  |   96|      0|            xmlSecOpenSSLError("OSSL_LIB_CTX_set0_default", NULL);  \
  |  |  ------------------
  |  |  |  |   59|      0|    do {                                                    \
  |  |  |  |   60|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |  |  |   61|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |  |  |   62|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |  |  |   63|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   64|      0|                    (const char*)(errorObject),             \
  |  |  |  |   65|      0|                    (errorFunction),                        \
  |  |  |  |   66|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  |  |  ------------------
  |  |  |  |   67|      0|                    "openssl error: %s",                    \
  |  |  |  |   68|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   69|      0|        );                                                  \
  |  |  |  |   70|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   97|      0|            on_error;                              \
  |  |   98|      0|        }
  ------------------
  499|      3|        pKey = d2i_PKCS8PrivateKey_bio(bio, NULL, pwdCb, pwdCbCtx);
  500|      3|        XMLSEC_OPENSSL_POP_LIB_CTX();
  ------------------
  |  |  101|      3|        if(savedDefaultLibCtx != NULL) {           \
  |  |  ------------------
  |  |  |  Branch (101:12): [True: 3, False: 0]
  |  |  ------------------
  |  |  102|      3|            OSSL_LIB_CTX_set0_default(savedDefaultLibCtx); \
  |  |  103|      3|        }                                          \
  |  |  104|      3|    }
  ------------------
  501|      3|        if(pKey == NULL) {
  ------------------
  |  Branch (501:12): [True: 2, False: 1]
  ------------------
  502|      2|            xmlSecOpenSSLError("d2i_PKCS8PrivateKey_bio", NULL);
  ------------------
  |  |   59|      2|    do {                                                    \
  |  |   60|      2|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   61|      2|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   62|      2|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   63|      2|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      2|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   64|      2|                    (const char*)(errorObject),             \
  |  |   65|      2|                    (errorFunction),                        \
  |  |   66|      2|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      2|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   67|      2|                    "openssl error: %s",                    \
  |  |   68|      2|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|      2|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 2, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   69|      2|        );                                                  \
  |  |   70|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (70:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  503|      2|            return(NULL);
  504|      2|        }
  505|      1|        break;
  506|      1|#ifndef XMLSEC_NO_X509
  507|      2|    case xmlSecKeyDataFormatPkcs12:
  ------------------
  |  Branch (507:5): [True: 2, False: 1.41k]
  ------------------
  508|      2|        key = xmlSecOpenSSLAppPkcs12LoadBIO(bio, pwd, pwdCallback, pwdCallbackCtx);
  509|      2|        if(key == NULL) {
  ------------------
  |  Branch (509:12): [True: 2, False: 0]
  ------------------
  510|      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|        )
  ------------------
  511|      2|            return(NULL);
  512|      2|        }
  513|      0|        return(key);
  514|       |
  515|    241|    case xmlSecKeyDataFormatCertPem:
  ------------------
  |  Branch (515:5): [True: 241, False: 1.17k]
  ------------------
  516|    244|    case xmlSecKeyDataFormatCertDer:
  ------------------
  |  Branch (516:5): [True: 3, False: 1.41k]
  ------------------
  517|    244|        key = xmlSecOpenSSLAppKeyFromCertLoadBIO(bio, format);
  518|    244|        if(key == NULL) {
  ------------------
  |  Branch (518:12): [True: 244, False: 0]
  ------------------
  519|    244|            xmlSecInternalError("xmlSecOpenSSLAppKeyFromCertLoadBIO", NULL);
  ------------------
  |  |   51|    244|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|    244|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|    244|                    (const char*)(errorObject),             \
  |  |   53|    244|                    (errorFunction),                        \
  |  |   54|    244|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|    244|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|    244|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|    244|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|    244|        )
  ------------------
  520|    244|            return(NULL);
  521|    244|        }
  522|      0|        return(key);
  523|      0|#endif /* XMLSEC_NO_X509 */
  524|       |
  525|      0|    default:
  ------------------
  |  Branch (525:5): [True: 0, False: 1.41k]
  ------------------
  526|      0|        xmlSecOtherError2(XMLSEC_ERRORS_R_INVALID_FORMAT, NULL,
  ------------------
  |  |  943|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  944|      0|                    (const char*)(errorObject),             \
  |  |  945|      0|                    NULL,                                   \
  |  |  946|      0|                    (code),                                 \
  |  |  947|      0|                    (msg), (param)                          \
  |  |  948|      0|        )
  ------------------
  527|      0|            "format=" XMLSEC_ENUM_FMT, XMLSEC_ENUM_CAST(format));
  528|      0|        return(NULL);
  529|  1.41k|    }
  530|       |
  531|     41|    data = xmlSecOpenSSLEvpKeyAdopt(pKey);
  532|     41|    if(data == NULL) {
  ------------------
  |  Branch (532:8): [True: 3, False: 38]
  ------------------
  533|      3|        xmlSecInternalError("xmlSecOpenSSLEvpKeyAdopt", NULL);
  ------------------
  |  |   51|      3|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      3|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      3|                    (const char*)(errorObject),             \
  |  |   53|      3|                    (errorFunction),                        \
  |  |   54|      3|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      3|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      3|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|      3|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      3|        )
  ------------------
  534|      3|        EVP_PKEY_free(pKey);
  535|      3|        return(NULL);
  536|      3|    }
  537|       |
  538|     38|    key = xmlSecKeyCreate();
  539|     38|    if(key == NULL) {
  ------------------
  |  Branch (539:8): [True: 0, False: 38]
  ------------------
  540|      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|        )
  ------------------
  541|      0|                            xmlSecKeyDataGetName(data));
  542|      0|        xmlSecKeyDataDestroy(data);
  543|      0|        return(NULL);
  544|      0|    }
  545|       |
  546|     38|    ret = xmlSecKeySetValue(key, data);
  547|     38|    if(ret < 0) {
  ------------------
  |  Branch (547:8): [True: 0, False: 38]
  ------------------
  548|      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|        )
  ------------------
  549|      0|                            xmlSecKeyDataGetName(data));
  550|      0|        xmlSecKeyDestroy(key);
  551|      0|        xmlSecKeyDataDestroy(data);
  552|      0|        return(NULL);
  553|      0|    }
  554|       |
  555|     38|    return(key);
  556|     38|}
xmlSecOpenSSLAppKeyCertLoadMemory:
 1235|     20|) {
 1236|     20|    xmlSecKeyDataFormat certFormat;
 1237|     20|    BIO* bio;
 1238|     20|    X509 *cert = NULL;
 1239|     20|    int ret;
 1240|       |
 1241|     20|    xmlSecAssert2(key != NULL, -1);
  ------------------
  |  |  461|     20|        do { \
  |  |  462|     20|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 20]
  |  |  ------------------
  |  |  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|     20|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 20]
  |  |  ------------------
  ------------------
 1242|     20|    xmlSecAssert2(data != NULL, -1);
  ------------------
  |  |  461|     20|        do { \
  |  |  462|     20|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 20]
  |  |  ------------------
  |  |  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|     20|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 20]
  |  |  ------------------
  ------------------
 1243|     20|    xmlSecAssert2(dataSize > 0, -1);
  ------------------
  |  |  461|     20|        do { \
  |  |  462|     20|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 20]
  |  |  ------------------
  |  |  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|     20|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 20]
  |  |  ------------------
  ------------------
 1244|     20|    xmlSecAssert2(format != xmlSecKeyDataFormatUnknown, -1);
  ------------------
  |  |  461|     20|        do { \
  |  |  462|     20|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 20]
  |  |  ------------------
  |  |  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|     20|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 20]
  |  |  ------------------
  ------------------
 1245|       |
 1246|       |    /* adjust cert format if needed */
 1247|     20|    switch(format) {
 1248|      3|    case xmlSecKeyDataFormatPkcs8Pem:
  ------------------
  |  Branch (1248:5): [True: 3, False: 17]
  ------------------
 1249|      3|        certFormat = xmlSecKeyDataFormatPem;
 1250|      3|        break;
 1251|      1|    case xmlSecKeyDataFormatPkcs8Der:
  ------------------
  |  Branch (1251:5): [True: 1, False: 19]
  ------------------
 1252|      1|        certFormat = xmlSecKeyDataFormatDer;
 1253|      1|        break;
 1254|     16|    default:
  ------------------
  |  Branch (1254:5): [True: 16, False: 4]
  ------------------
 1255|     16|        certFormat = format;
 1256|     20|    }
 1257|       |
 1258|       |    /* this would be a read only BIO, cast from const is ok */
 1259|     20|    bio = xmlSecOpenSSLCreateMemBufBio((void*)data, dataSize);
 1260|     20|    if(bio == NULL) {
  ------------------
  |  Branch (1260:8): [True: 0, False: 20]
  ------------------
 1261|      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|        )
  ------------------
 1262|      0|        return(-1);
 1263|      0|    }
 1264|       |
 1265|       |    /* read cert */
 1266|     20|    cert = xmlSecOpenSSLX509CertLoadBIO(bio, certFormat);
 1267|     20|    if(cert == NULL) {
  ------------------
  |  Branch (1267:8): [True: 20, False: 0]
  ------------------
 1268|     20|        xmlSecInternalError2("xmlSecOpenSSLX509CertLoadBIO", NULL, "dataSize=" XMLSEC_SIZE_FMT,  dataSize);
  ------------------
  |  |   67|     20|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|     20|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   68|     20|                    (const char*)(errorObject),             \
  |  |   69|     20|                    (errorFunction),                        \
  |  |   70|     20|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|     20|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   71|     20|                    (msg), (param)                          \
  |  |   72|     20|        )
  ------------------
 1269|     20|        BIO_free_all(bio);
 1270|     20|        return(-1);
 1271|     20|    }
 1272|       |
 1273|       |    /* check if any bytes remaining before adopting the cert into the key */
 1274|      0|    if(xmlSecOpenSSLAppCheckMemoryBioConsumed(bio, format) != 1) {
  ------------------
  |  Branch (1274:8): [True: 0, False: 0]
  ------------------
 1275|      0|        X509_free(cert);
 1276|      0|        BIO_free_all(bio);
 1277|      0|        return(-1);
 1278|      0|    }
 1279|       |
 1280|       |    /* add cert to key */
 1281|      0|    ret = xmlSecOpenSSLAppKeyCertAdopt(key, cert);
 1282|      0|    if(ret < 0) {
  ------------------
  |  Branch (1282:8): [True: 0, False: 0]
  ------------------
 1283|      0|        X509_free(cert);
 1284|      0|        BIO_free_all(bio);
 1285|      0|        return(-1);
 1286|      0|    }
 1287|       |
 1288|       |    /* success */
 1289|      0|    BIO_free_all(bio);
 1290|      0|    return(0);
 1291|      0|}
xmlSecOpenSSLAppPkcs12LoadBIO:
 1454|      2|) {
 1455|      2|    PKCS12 *p12 = NULL;
 1456|      2|    EVP_PKEY * pKey = NULL;
 1457|      2|    X509 * keyCert = NULL;
 1458|      2|    STACK_OF(X509) * chain = NULL;
 1459|      2|    xmlSecKeyPtr res = NULL;
 1460|      2|    pem_password_cb* pwdCb = NULL;
 1461|      2|    char pwdBuf[2048];
 1462|      2|    size_t pwdSize;
 1463|      2|    int pwdLen;
 1464|      2|    int ret;
 1465|       |
 1466|      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]
  |  |  ------------------
  ------------------
 1467|       |
 1468|      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);  \
  |  |  ------------------
  |  |  |  |   59|      0|    do {                                                    \
  |  |  |  |   60|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |  |  |   61|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |  |  |   62|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |  |  |   63|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   64|      0|                    (const char*)(errorObject),             \
  |  |  |  |   65|      0|                    (errorFunction),                        \
  |  |  |  |   66|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  |  |  ------------------
  |  |  |  |   67|      0|                    "openssl error: %s",                    \
  |  |  |  |   68|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   69|      0|        );                                                  \
  |  |  |  |   70|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   97|      0|            on_error;                              \
  |  |   98|      0|        }
  ------------------
 1469|      2|    p12 = d2i_PKCS12_bio(bio, NULL);
 1470|      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|    }
  ------------------
 1471|      2|    if(p12 == NULL) {
  ------------------
  |  Branch (1471:8): [True: 1, False: 1]
  ------------------
 1472|      1|        xmlSecOpenSSLError("d2i_PKCS12_bio", NULL);
  ------------------
  |  |   59|      1|    do {                                                    \
  |  |   60|      1|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   61|      1|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   62|      1|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   63|      1|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      1|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   64|      1|                    (const char*)(errorObject),             \
  |  |   65|      1|                    (errorFunction),                        \
  |  |   66|      1|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      1|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   67|      1|                    "openssl error: %s",                    \
  |  |   68|      1|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|      1|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 1, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   69|      1|        );                                                  \
  |  |   70|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (70:13): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1473|      1|        goto done;
 1474|      1|    }
 1475|       |
 1476|       |    /*
 1477|       |     * If the password is not given explicitly, try to obtain it
 1478|       |     * from the password callback.
 1479|       |     */
 1480|      1|    if((pwd == NULL) && (pwdCallback != NULL)) {
  ------------------
  |  Branch (1480:8): [True: 0, False: 1]
  |  Branch (1480:25): [True: 0, False: 0]
  ------------------
 1481|      0|        pwdCb = XMLSEC_PTR_TO_FUNC(pem_password_cb, pwdCallback);
  ------------------
  |  |  620|      0|    xmlSecPtrToFunc_ ##func_type((ptr))
  ------------------
 1482|      0|        ret = pwdCb(pwdBuf, (int)sizeof(pwdBuf), 0, pwdCallbackCtx);
 1483|      0|        if((ret < 0) || (ret >= (int)sizeof(pwdBuf))) {
  ------------------
  |  Branch (1483:12): [True: 0, False: 0]
  |  Branch (1483:25): [True: 0, False: 0]
  ------------------
 1484|      0|            xmlSecOpenSSLError("pwdCallback", NULL);
  ------------------
  |  |   59|      0|    do {                                                    \
  |  |   60|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   61|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   62|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   63|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   64|      0|                    (const char*)(errorObject),             \
  |  |   65|      0|                    (errorFunction),                        \
  |  |   66|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   67|      0|                    "openssl error: %s",                    \
  |  |   68|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   69|      0|        );                                                  \
  |  |   70|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (70:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1485|      0|            goto done;
 1486|      0|        }
 1487|      0|        pwdBuf[ret] = '\0';
 1488|      0|        pwd = pwdBuf;
 1489|      0|    }
 1490|       |
 1491|      1|    pwdSize = (pwd != NULL) ? strlen(pwd) : 0;
  ------------------
  |  Branch (1491:15): [True: 1, False: 0]
  ------------------
 1492|      1|    XMLSEC_SAFE_CAST_SIZE_T_TO_INT(pwdSize, pwdLen, goto done, NULL);
  ------------------
  |  |  136|      1|    XMLSEC_SAFE_CAST_MAX_CHECK(size_t, (srcVal), XMLSEC_SIZE_T_FMT,             \
  |  |  ------------------
  |  |  |  |   45|      1|    do {                                                                        \
  |  |  |  |   46|      1|        if((srcVal) > (srcType)(dstMax)) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (46:12): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   47|      0|            xmlSecImpossibleCastError(srcType, (srcVal), srcFmt,               \
  |  |  |  |  ------------------
  |  |  |  |  |  |  908|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  909|      0|                    (const char*)(errorObject),             \
  |  |  |  |  |  |  910|      0|                    NULL,                                   \
  |  |  |  |  |  |  911|      0|                    XMLSEC_ERRORS_R_CAST_IMPOSSIBLE,        \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_CAST_IMPOSSIBLE                 101
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  912|      0|                    "src-type=" #srcType "; src-val=" srcFmt  \
  |  |  |  |  |  |  913|      0|                    "; dst-type=" #dstType "; dst-min=" dstFmt \
  |  |  |  |  |  |  914|      0|                    "; dst-max=" dstFmt,                    \
  |  |  |  |  |  |  915|      0|                    (srcVal), (dstMinVal), (dstMaxVal)      \
  |  |  |  |  |  |  916|      0|        )
  |  |  |  |  ------------------
  |  |  |  |   48|      0|                dstType, dstMin, dstMax, dstFmt, (errorObject));               \
  |  |  |  |   49|      0|            errorAction;                                                       \
  |  |  |  |   50|      0|        }                                                                      \
  |  |  |  |   51|      1|        (dstVal) = (dstType)(srcVal);                                          \
  |  |  |  |   52|      1|    } while(0)                                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  137|      1|        int, (dstVal), "%d", INT_MIN, INT_MAX,                                  \
  |  |  138|      1|        errorAction, (errorObject))
  ------------------
 1493|       |
 1494|      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);  \
  |  |  ------------------
  |  |  |  |   59|      0|    do {                                                    \
  |  |  |  |   60|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |  |  |   61|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |  |  |   62|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |  |  |   63|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   64|      0|                    (const char*)(errorObject),             \
  |  |  |  |   65|      0|                    (errorFunction),                        \
  |  |  |  |   66|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  |  |  ------------------
  |  |  |  |   67|      0|                    "openssl error: %s",                    \
  |  |  |  |   68|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   69|      0|        );                                                  \
  |  |  |  |   70|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   97|      0|            on_error;                              \
  |  |   98|      0|        }
  ------------------
 1495|      1|    ret = PKCS12_verify_mac(p12, pwd, ((pwd != NULL) ? pwdLen : 0));
  ------------------
  |  Branch (1495:40): [True: 1, False: 0]
  ------------------
 1496|      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|    }
  ------------------
 1497|      1|    if(ret != 1) {
  ------------------
  |  Branch (1497:8): [True: 1, False: 0]
  ------------------
 1498|      1|        xmlSecOpenSSLError("PKCS12_verify_mac", NULL);
  ------------------
  |  |   59|      1|    do {                                                    \
  |  |   60|      1|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   61|      1|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   62|      1|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   63|      1|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      1|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   64|      1|                    (const char*)(errorObject),             \
  |  |   65|      1|                    (errorFunction),                        \
  |  |   66|      1|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      1|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   67|      1|                    "openssl error: %s",                    \
  |  |   68|      1|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|      1|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 1, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   69|      1|        );                                                  \
  |  |   70|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (70:13): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1499|      1|        goto done;
 1500|      1|    }
 1501|       |
 1502|      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);  \
  |  |  ------------------
  |  |  |  |   59|      0|    do {                                                    \
  |  |  |  |   60|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |  |  |   61|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |  |  |   62|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |  |  |   63|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   64|      0|                    (const char*)(errorObject),             \
  |  |  |  |   65|      0|                    (errorFunction),                        \
  |  |  |  |   66|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  |  |  ------------------
  |  |  |  |   67|      0|                    "openssl error: %s",                    \
  |  |  |  |   68|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   69|      0|        );                                                  \
  |  |  |  |   70|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   97|      0|            on_error;                              \
  |  |   98|      0|        }
  ------------------
 1503|      0|    ret = PKCS12_parse(p12, pwd, &pKey, &keyCert, &chain);
 1504|      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|    }
  ------------------
 1505|      0|    if((ret != 1) || (pKey == NULL)) {
  ------------------
  |  Branch (1505:8): [True: 0, False: 0]
  |  Branch (1505:22): [True: 0, False: 0]
  ------------------
 1506|      0|        xmlSecOpenSSLError("PKCS12_parse", NULL);
  ------------------
  |  |   59|      0|    do {                                                    \
  |  |   60|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   61|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   62|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   63|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   64|      0|                    (const char*)(errorObject),             \
  |  |   65|      0|                    (errorFunction),                        \
  |  |   66|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   67|      0|                    "openssl error: %s",                    \
  |  |   68|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   69|      0|        );                                                  \
  |  |   70|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (70:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1507|      0|        goto done;
 1508|      0|    }
 1509|       |
 1510|       |    /*
 1511|       |     * The documentation states (http://www.openssl.org/docs/crypto/PKCS12_parse.html):
 1512|       |     *
 1513|       |     * If successful the private key will be written to "*pkey", the
 1514|       |     * corresponding certificate to "*cert" and any additional certificates
 1515|       |     * to "*ca".
 1516|       |     *
 1517|       |     * In reality, the function sometimes returns in the "ca" the certificates
 1518|       |     * including the one it is already returned in "cert". We will sort this out
 1519|       |     * in the xmlSecOpenSSLKeyDataX509AdoptKeyCert() and xmlSecOpenSSLKeyDataX509AdoptCert()
 1520|       |     * functions.
 1521|       |     */
 1522|       |
 1523|       |    /* finally create a key, xmlSecOpenSSLCreateKey will set values to NULL as it uses them */
 1524|      0|    res = xmlSecOpenSSLCreateKey(&pKey, &keyCert, &chain);
 1525|      0|    if(res == NULL) {
  ------------------
  |  Branch (1525:8): [True: 0, False: 0]
  ------------------
 1526|      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|        )
  ------------------
 1527|      0|        goto done;
 1528|      0|    }
 1529|       |
 1530|       |    /* success! */
 1531|       |
 1532|      2|done:
 1533|      2|    OPENSSL_cleanse(pwdBuf, sizeof(pwdBuf));
 1534|      2|    if(chain != NULL) {
  ------------------
  |  Branch (1534:8): [True: 0, False: 2]
  ------------------
 1535|      0|        sk_X509_pop_free(chain, X509_free);
 1536|      0|    }
 1537|      2|    if(keyCert != NULL) {
  ------------------
  |  Branch (1537:8): [True: 0, False: 2]
  ------------------
 1538|      0|        X509_free(keyCert);
 1539|      0|    }
 1540|      2|    if(pKey != NULL) {
  ------------------
  |  Branch (1540:8): [True: 0, False: 2]
  ------------------
 1541|      0|        EVP_PKEY_free(pKey);
 1542|      0|    }
 1543|      2|    if(p12 != NULL) {
  ------------------
  |  Branch (1543:8): [True: 1, False: 1]
  ------------------
 1544|      1|        PKCS12_free(p12);
 1545|      1|    }
 1546|      2|    return(res);
 1547|      0|}
xmlSecOpenSSLAppKeyFromCertLoadBIO:
 1556|    244|xmlSecOpenSSLAppKeyFromCertLoadBIO(BIO* bio, xmlSecKeyDataFormat format) {
 1557|    244|    xmlSecKeyPtr key = NULL;
 1558|    244|    xmlSecKeyDataPtr keyData = NULL;
 1559|    244|    xmlSecKeyDataPtr certData;
 1560|    244|    X509 * cert = NULL;
 1561|    244|    int ret;
 1562|    244|    xmlSecKeyPtr res = NULL;
 1563|       |
 1564|    244|    xmlSecAssert2(bio != NULL, NULL);
  ------------------
  |  |  461|    244|        do { \
  |  |  462|    244|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 244]
  |  |  ------------------
  |  |  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|    244|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 244]
  |  |  ------------------
  ------------------
 1565|    244|    xmlSecAssert2(format != xmlSecKeyDataFormatUnknown, NULL);
  ------------------
  |  |  461|    244|        do { \
  |  |  462|    244|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 244]
  |  |  ------------------
  |  |  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|    244|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 244]
  |  |  ------------------
  ------------------
 1566|       |
 1567|       |    /* load cert */
 1568|    244|    cert = xmlSecOpenSSLX509CertLoadBIO(bio, format);
 1569|    244|    if(cert == NULL) {
  ------------------
  |  Branch (1569:8): [True: 244, False: 0]
  ------------------
 1570|    244|        xmlSecInternalError("xmlSecOpenSSLX509CertLoadBIO", NULL);
  ------------------
  |  |   51|    244|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|    244|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|    244|                    (const char*)(errorObject),             \
  |  |   53|    244|                    (errorFunction),                        \
  |  |   54|    244|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|    244|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|    244|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  423|    244|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|    244|        )
  ------------------
 1571|    244|        goto done;
 1572|    244|    }
 1573|       |
 1574|       |    /* create key */
 1575|      0|    key = xmlSecKeyCreate();
 1576|      0|    if(key == NULL) {
  ------------------
  |  Branch (1576:8): [True: 0, False: 0]
  ------------------
 1577|      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|        )
  ------------------
 1578|      0|        goto done;
 1579|      0|    }
 1580|       |
 1581|       |    /* set key value */
 1582|      0|    keyData = xmlSecOpenSSLX509CertGetKey(cert);
 1583|      0|    if(keyData == NULL) {
  ------------------
  |  Branch (1583:8): [True: 0, False: 0]
  ------------------
 1584|      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|        )
  ------------------
 1585|      0|        goto done;
 1586|      0|    }
 1587|      0|    ret = xmlSecKeySetValue(key, keyData);
 1588|      0|    if(ret < 0) {
  ------------------
  |  Branch (1588:8): [True: 0, False: 0]
  ------------------
 1589|      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|        )
  ------------------
 1590|      0|        goto done;
 1591|      0|    }
 1592|      0|    keyData = NULL; /* owned by key now */
 1593|       |
 1594|       |    /* put cert as the key's cert in the x509 data */
 1595|      0|    certData = xmlSecKeyEnsureData(key, xmlSecOpenSSLKeyDataX509Id);
  ------------------
  |  |   46|      0|        xmlSecOpenSSLKeyDataX509GetKlass()
  ------------------
 1596|      0|    if(certData == NULL) {
  ------------------
  |  Branch (1596:8): [True: 0, False: 0]
  ------------------
 1597|      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|        )
  ------------------
 1598|      0|        goto done;
 1599|      0|    }
 1600|      0|    ret = xmlSecOpenSSLKeyDataX509AdoptKeyCert(certData, cert);
 1601|      0|    if(ret < 0) {
  ------------------
  |  Branch (1601:8): [True: 0, False: 0]
  ------------------
 1602|      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|        )
  ------------------
 1603|      0|        goto done;
 1604|      0|    }
 1605|      0|    cert = NULL; /* owned by certData now */
 1606|       |
 1607|       |    /* success */
 1608|      0|    res = key;
 1609|      0|    key = NULL;
 1610|       |
 1611|    244|done:
 1612|    244|    if(key != NULL) {
  ------------------
  |  Branch (1612:8): [True: 0, False: 244]
  ------------------
 1613|      0|        xmlSecKeyDestroy(key);
 1614|      0|    }
 1615|    244|    if(keyData != NULL) {
  ------------------
  |  Branch (1615:8): [True: 0, False: 244]
  ------------------
 1616|      0|        xmlSecKeyDataDestroy(keyData);
 1617|      0|    }
 1618|    244|    if(cert != NULL) {
  ------------------
  |  Branch (1618:8): [True: 0, False: 244]
  ------------------
 1619|      0|        X509_free(cert);
 1620|      0|    }
 1621|    244|    return(res);
 1622|      0|}
xmlSecOpenSSLAppGetDefaultPwdCallback:
 2315|      1|xmlSecOpenSSLAppGetDefaultPwdCallback(void) {
 2316|      1|    return XMLSEC_FUNC_TO_PTR(pem_password_cb, xmlSecOpenSSLDefaultPasswordCallback);
  ------------------
  |  |  646|      1|    xmlSecFuncToPtr_ ##func_type((func))
  ------------------
 2317|      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|     12|    case xmlSecKeyDataFormatPem:
  ------------------
  |  Branch (204:5): [True: 12, False: 26]
  ------------------
  205|     15|    case xmlSecKeyDataFormatPkcs8Pem:
  ------------------
  |  Branch (205:5): [True: 3, False: 35]
  ------------------
  206|     15|    case xmlSecKeyDataFormatCertPem:
  ------------------
  |  Branch (206:5): [True: 0, False: 38]
  ------------------
  207|       |        /* PEM formats have "end marker" and might contain more data */
  208|     15|        return(1);
  209|     22|    case xmlSecKeyDataFormatDer:
  ------------------
  |  Branch (209:5): [True: 22, False: 16]
  ------------------
  210|     23|    case xmlSecKeyDataFormatPkcs8Der:
  ------------------
  |  Branch (210:5): [True: 1, False: 37]
  ------------------
  211|     23|    case xmlSecKeyDataFormatPkcs12:
  ------------------
  |  Branch (211:5): [True: 0, False: 38]
  ------------------
  212|     23|    case xmlSecKeyDataFormatCertDer:
  ------------------
  |  Branch (212:5): [True: 0, False: 38]
  ------------------
  213|       |        /* DER formats are binary and should consume all data */
  214|     23|        if(BIO_ctrl_pending(bio) > 0) {
  ------------------
  |  Branch (214:12): [True: 18, False: 5]
  ------------------
  215|     18|            xmlSecInvalidSizeDataError("Remaining in buffer bytes", BIO_ctrl_pending(bio), "0 bytes", NULL);
  ------------------
  |  |  497|     18|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|     18|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  498|     18|                    (const char*)(errorObject),             \
  |  |  499|     18|                    NULL,                                   \
  |  |  500|     18|                    XMLSEC_ERRORS_R_INVALID_DATA,           \
  |  |  ------------------
  |  |  |  |   89|     18|#define XMLSEC_ERRORS_R_INVALID_DATA                    12
  |  |  ------------------
  |  |  501|     18|                    "invalid data for '%s': actual=" XMLSEC_SIZE_FMT " and expected %s", \
  |  |  502|     18|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  418|     18|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 18, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  503|     18|                    (actual),                               \
  |  |  504|     18|                    (expected)                              \
  |  |  505|     18|        )
  ------------------
  216|     18|            return (0);
  217|     18|        }
  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));
  ------------------
  |  |  943|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  944|      0|                    (const char*)(errorObject),             \
  |  |  945|      0|                    NULL,                                   \
  |  |  946|      0|                    (code),                                 \
  |  |  947|      0|                    (msg), (param)                          \
  |  |  948|      0|        )
  ------------------
  222|      0|        return(-1);
  223|     38|    }
  224|     38|}
app.c:xmlSecOpenSSLDummyPasswordCallback:
 2404|      2|                                   void *userdata) {
 2405|      2|    xmlSecSize bufSize;
 2406|      2|    char* password;
 2407|      2|    size_t passwordSize;
 2408|      2|    int passwordLen;
 2409|      2|    XMLSEC_UNREFERENCED(verify);
  ------------------
  |  |  564|      2|#define XMLSEC_UNREFERENCED(param)   ((void)(param))
  ------------------
 2410|       |
 2411|      2|    xmlSecAssert2(buf != NULL, -1);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2412|      2|    xmlSecAssert2(buflen > 1, -1);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2413|       |
 2414|      2|    password = (char*)userdata;
 2415|      2|    if(password == NULL) {
  ------------------
  |  Branch (2415:8): [True: 0, False: 2]
  ------------------
 2416|      0|        return(-1);
 2417|      0|    }
 2418|       |
 2419|      2|    passwordSize = strlen(password);
 2420|      2|    XMLSEC_SAFE_CAST_SIZE_T_TO_INT(passwordSize, passwordLen, return(-1), NULL);
  ------------------
  |  |  136|      2|    XMLSEC_SAFE_CAST_MAX_CHECK(size_t, (srcVal), XMLSEC_SIZE_T_FMT,             \
  |  |  ------------------
  |  |  |  |   45|      2|    do {                                                                        \
  |  |  |  |   46|      2|        if((srcVal) > (srcType)(dstMax)) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (46:12): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   47|      0|            xmlSecImpossibleCastError(srcType, (srcVal), srcFmt,               \
  |  |  |  |  ------------------
  |  |  |  |  |  |  908|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  909|      0|                    (const char*)(errorObject),             \
  |  |  |  |  |  |  910|      0|                    NULL,                                   \
  |  |  |  |  |  |  911|      0|                    XMLSEC_ERRORS_R_CAST_IMPOSSIBLE,        \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_CAST_IMPOSSIBLE                 101
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  912|      0|                    "src-type=" #srcType "; src-val=" srcFmt  \
  |  |  |  |  |  |  913|      0|                    "; dst-type=" #dstType "; dst-min=" dstFmt \
  |  |  |  |  |  |  914|      0|                    "; dst-max=" dstFmt,                    \
  |  |  |  |  |  |  915|      0|                    (srcVal), (dstMinVal), (dstMaxVal)      \
  |  |  |  |  |  |  916|      0|        )
  |  |  |  |  ------------------
  |  |  |  |   48|      0|                dstType, dstMin, dstMax, dstFmt, (errorObject));               \
  |  |  |  |   49|      0|            errorAction;                                                       \
  |  |  |  |   50|      0|        }                                                                      \
  |  |  |  |   51|      2|        (dstVal) = (dstType)(srcVal);                                          \
  |  |  |  |   52|      2|    } while(0)                                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  137|      2|        int, (dstVal), "%d", INT_MIN, INT_MAX,                                  \
  |  |  138|      2|        errorAction, (errorObject))
  ------------------
 2421|      2|    if(passwordLen + 1 > buflen) {
  ------------------
  |  Branch (2421:8): [True: 0, False: 2]
  ------------------
 2422|      0|        return(-1);
 2423|      0|    }
 2424|       |
 2425|      2|    XMLSEC_SAFE_CAST_INT_TO_SIZE(buflen, bufSize, return(-1), NULL);
  ------------------
  |  |  358|      2|    XMLSEC_SAFE_CAST_MIN_CHECK(int, (srcVal), "%d",                              \
  |  |  ------------------
  |  |  |  |   57|      2|    do {                                                                        \
  |  |  |  |   58|      2|        if((srcVal) < (srcType)(dstMin)) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (58:12): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   59|      0|            xmlSecImpossibleCastError(srcType, (srcVal), srcFmt,               \
  |  |  |  |  ------------------
  |  |  |  |  |  |  908|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  909|      0|                    (const char*)(errorObject),             \
  |  |  |  |  |  |  910|      0|                    NULL,                                   \
  |  |  |  |  |  |  911|      0|                    XMLSEC_ERRORS_R_CAST_IMPOSSIBLE,        \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_CAST_IMPOSSIBLE                 101
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  912|      0|                    "src-type=" #srcType "; src-val=" srcFmt  \
  |  |  |  |  |  |  913|      0|                    "; dst-type=" #dstType "; dst-min=" dstFmt \
  |  |  |  |  |  |  914|      0|                    "; dst-max=" dstFmt,                    \
  |  |  |  |  |  |  915|      0|                    (srcVal), (dstMinVal), (dstMaxVal)      \
  |  |  |  |  |  |  916|      0|        )
  |  |  |  |  ------------------
  |  |  |  |   60|      0|                dstType, dstMin, dstMax, dstFmt, (errorObject));               \
  |  |  |  |   61|      0|            errorAction;                                                       \
  |  |  |  |   62|      0|        }                                                                      \
  |  |  |  |   63|      2|        (dstVal) = (dstType)(srcVal);                                          \
  |  |  |  |   64|      2|    } while(0)                                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:13): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      2|        xmlSecSize, (dstVal), XMLSEC_SIZE_FMT, XMLSEC_SIZE_MIN, XMLSEC_SIZE_MAX, \
  |  |  360|      2|        errorAction, (errorObject))
  ------------------
 2426|       |#if defined(_MSC_VER)
 2427|       |    strcpy_s(buf, bufSize, password);
 2428|       |#else  /* defined(_MSC_VER) */
 2429|      2|    strncpy(buf, password, bufSize);
 2430|      2|    buf[buflen - 1] = '\0'; /* ensure \0 terminated */
 2431|      2|#endif /* defined(_MSC_VER) */
 2432|       |
 2433|      2|    return (passwordLen);
 2434|      2|}

xmlSecOpenSSLTransformAes128CbcGetKlass:
 1110|      1|xmlSecOpenSSLTransformAes128CbcGetKlass(void) {
 1111|      1|    return(&xmlSecOpenSSLAes128CbcKlass);
 1112|      1|}
xmlSecOpenSSLTransformAes192CbcGetKlass:
 1122|      1|xmlSecOpenSSLTransformAes192CbcGetKlass(void) {
 1123|      1|    return(&xmlSecOpenSSLAes192CbcKlass);
 1124|      1|}
xmlSecOpenSSLTransformAes256CbcGetKlass:
 1134|      1|xmlSecOpenSSLTransformAes256CbcGetKlass(void) {
 1135|      1|    return(&xmlSecOpenSSLAes256CbcKlass);
 1136|      1|}
xmlSecOpenSSLTransformAes128GcmGetKlass:
 1147|      1|{
 1148|      1|    return(&xmlSecOpenSSLAes128GcmKlass);
 1149|      1|}
xmlSecOpenSSLTransformAes192GcmGetKlass:
 1160|      1|{
 1161|      1|    return(&xmlSecOpenSSLAes192GcmKlass);
 1162|      1|}
xmlSecOpenSSLTransformAes256GcmGetKlass:
 1173|      1|{
 1174|      1|    return(&xmlSecOpenSSLAes256GcmKlass);
 1175|      1|}
xmlSecOpenSSLTransformCamellia128CbcGetKlass:
 1193|      1|xmlSecOpenSSLTransformCamellia128CbcGetKlass(void) {
 1194|      1|    return(&xmlSecOpenSSLCamellia128CbcKlass);
 1195|      1|}
xmlSecOpenSSLTransformCamellia192CbcGetKlass:
 1205|      1|xmlSecOpenSSLTransformCamellia192CbcGetKlass(void) {
 1206|      1|    return(&xmlSecOpenSSLCamellia192CbcKlass);
 1207|      1|}
xmlSecOpenSSLTransformCamellia256CbcGetKlass:
 1217|      1|xmlSecOpenSSLTransformCamellia256CbcGetKlass(void) {
 1218|      1|    return(&xmlSecOpenSSLCamellia256CbcKlass);
 1219|      1|}
xmlSecOpenSSLTransformDes3CbcGetKlass:
 1232|      1|xmlSecOpenSSLTransformDes3CbcGetKlass(void) {
 1233|      1|    return(&xmlSecOpenSSLDes3CbcKlass);
 1234|      1|}
xmlSecOpenSSLTransformChaCha20GetKlass:
 1317|      1|xmlSecOpenSSLTransformChaCha20GetKlass(void) {
 1318|      1|    return(&xmlSecOpenSSLChaCha20Klass);
 1319|      1|}
xmlSecOpenSSLTransformChaCha20Poly1305GetKlass:
 1392|      1|xmlSecOpenSSLTransformChaCha20Poly1305GetKlass(void) {
 1393|      1|    return(&xmlSecOpenSSLChaCha20Poly1305Klass);
 1394|      1|}

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

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

xmlSecOpenSSLTransformMd5GetKlass:
  523|      1|xmlSecOpenSSLTransformMd5GetKlass(void) {
  524|      1|    return(&xmlSecOpenSSLMd5Klass);
  525|      1|}
xmlSecOpenSSLTransformRipemd160GetKlass:
  542|      1|xmlSecOpenSSLTransformRipemd160GetKlass(void) {
  543|      1|    return(&xmlSecOpenSSLRipemd160Klass);
  544|      1|}
xmlSecOpenSSLTransformSha1GetKlass:
  562|      1|xmlSecOpenSSLTransformSha1GetKlass(void) {
  563|      1|    return(&xmlSecOpenSSLSha1Klass);
  564|      1|}
xmlSecOpenSSLTransformSha224GetKlass:
  581|      1|xmlSecOpenSSLTransformSha224GetKlass(void) {
  582|      1|    return(&xmlSecOpenSSLSha224Klass);
  583|      1|}
xmlSecOpenSSLTransformSha256GetKlass:
  600|      1|xmlSecOpenSSLTransformSha256GetKlass(void) {
  601|      1|    return(&xmlSecOpenSSLSha256Klass);
  602|      1|}
xmlSecOpenSSLTransformSha384GetKlass:
  619|      1|xmlSecOpenSSLTransformSha384GetKlass(void) {
  620|      1|    return(&xmlSecOpenSSLSha384Klass);
  621|      1|}
xmlSecOpenSSLTransformSha512GetKlass:
  638|      1|xmlSecOpenSSLTransformSha512GetKlass(void) {
  639|      1|    return(&xmlSecOpenSSLSha512Klass);
  640|      1|}
xmlSecOpenSSLTransformSha3_224GetKlass:
  658|      1|xmlSecOpenSSLTransformSha3_224GetKlass(void) {
  659|      1|    return(&xmlSecOpenSSLSha3_224Klass);
  660|      1|}
xmlSecOpenSSLTransformSha3_256GetKlass:
  675|      1|xmlSecOpenSSLTransformSha3_256GetKlass(void) {
  676|      1|    return(&xmlSecOpenSSLSha3_256Klass);
  677|      1|}
xmlSecOpenSSLTransformSha3_384GetKlass:
  692|      1|xmlSecOpenSSLTransformSha3_384GetKlass(void) {
  693|      1|    return(&xmlSecOpenSSLSha3_384Klass);
  694|      1|}
xmlSecOpenSSLTransformSha3_512GetKlass:
  709|      1|xmlSecOpenSSLTransformSha3_512GetKlass(void) {
  710|      1|    return(&xmlSecOpenSSLSha3_512Klass);
  711|      1|}

xmlSecOpenSSLEvpKeyDataAdoptEvp:
  155|     38|xmlSecOpenSSLEvpKeyDataAdoptEvp(xmlSecKeyDataPtr data, EVP_PKEY* pKey) {
  156|     38|    xmlSecOpenSSLEvpKeyDataCtxPtr ctx;
  157|       |
  158|     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]
  |  |  ------------------
  ------------------
  159|     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]
  |  |  ------------------
  ------------------
  160|     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]
  |  |  ------------------
  ------------------
  161|       |
  162|     38|    ctx = xmlSecOpenSSLEvpKeyDataGetCtx(data);
  163|     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]
  |  |  ------------------
  ------------------
  164|       |
  165|     38|    if(ctx->pKey != NULL) {
  ------------------
  |  Branch (165:8): [True: 0, False: 38]
  ------------------
  166|      0|        EVP_PKEY_free(ctx->pKey);
  167|      0|    }
  168|     38|    ctx->pKey = pKey;
  169|     38|    return(0);
  170|     38|}
xmlSecOpenSSLEvpKeyAdopt:
  888|     41|xmlSecOpenSSLEvpKeyAdopt(EVP_PKEY *pKey) {
  889|     41|    xmlSecKeyDataPtr data = NULL;
  890|     41|    xmlSecKeyDataId id;
  891|     41|    int ret;
  892|       |
  893|     41|    xmlSecAssert2(pKey != NULL, NULL);
  ------------------
  |  |  461|     41|        do { \
  |  |  462|     41|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 41]
  |  |  ------------------
  |  |  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|     41|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 41]
  |  |  ------------------
  ------------------
  894|       |
  895|     41|    id = xmlSecOpenSSLEvpKeyGetKeyDataId(pKey);
  896|     41|    if(id == NULL) {
  ------------------
  |  Branch (896:8): [True: 3, False: 38]
  ------------------
  897|      3|        xmlSecInvalidIntegerTypeError("evp key type", EVP_PKEY_base_id(pKey), "unsupported evp key type", NULL);
  ------------------
  |  |  573|      3|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      3|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  574|      3|                    (const char*)(errorObject),             \
  |  |  575|      3|                    NULL,                                   \
  |  |  576|      3|                    XMLSEC_ERRORS_R_INVALID_TYPE,           \
  |  |  ------------------
  |  |  |  |   99|      3|#define XMLSEC_ERRORS_R_INVALID_TYPE                    14
  |  |  ------------------
  |  |  577|      3|                    "invalid type for '%s': actual=%d and expected %s", \
  |  |  578|      3|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  418|      3|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 3, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  579|      3|                    (actual),                               \
  |  |  580|      3|                    (expected)                              \
  |  |  581|      3|        )
  ------------------
  898|      3|        return(NULL);
  899|      3|    }
  900|       |
  901|     38|    data = xmlSecKeyDataCreate(id);
  902|     38|    if(data == NULL) {
  ------------------
  |  Branch (902:8): [True: 0, False: 38]
  ------------------
  903|      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|        )
  ------------------
  904|      0|        return(NULL);
  905|      0|    }
  906|       |
  907|     38|    ret = xmlSecOpenSSLEvpKeyDataAdoptEvp(data, pKey);
  908|     38|    if(ret < 0) {
  ------------------
  |  Branch (908:8): [True: 0, False: 38]
  ------------------
  909|      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|        )
  ------------------
  910|      0|        xmlSecKeyDataDestroy(data);
  911|      0|        return(NULL);
  912|      0|    }
  913|     38|    pKey = NULL;
  914|       |
  915|     38|    return(data);
  916|     38|}
xmlSecOpenSSLKeyDataDsaGetKlass:
 1117|     20|xmlSecOpenSSLKeyDataDsaGetKlass(void) {
 1118|     20|    return(&xmlSecOpenSSLKeyDataDsaKlass);
 1119|     20|}
xmlSecOpenSSLKeyDataDhGetKlass:
 1888|      1|xmlSecOpenSSLKeyDataDhGetKlass(void) {
 1889|      1|    return(&xmlSecOpenSSLKeyDataDhKlass);
 1890|      1|}
xmlSecOpenSSLKeyDataEcGetKlass:
 2687|      1|xmlSecOpenSSLKeyDataEcGetKlass(void) {
 2688|      1|    return(&xmlSecOpenSSLKeyDataEcKlass);
 2689|      1|}
xmlSecOpenSSLKeyDataRsaGetKlass:
 3364|      2|xmlSecOpenSSLKeyDataRsaGetKlass(void) {
 3365|      2|    return(&xmlSecOpenSSLKeyDataRsaKlass);
 3366|      2|}
xmlSecOpenSSLKeyDataXdhGetKlass:
 4376|     19|xmlSecOpenSSLKeyDataXdhGetKlass(void) {
 4377|     19|    return(&xmlSecOpenSSLKeyDataXdhKlass);
 4378|     19|}
evp.c:xmlSecOpenSSLEvpKeyGetKeyDataId:
  799|     41|xmlSecOpenSSLEvpKeyGetKeyDataId(EVP_PKEY *pKey) {
  800|       |
  801|     41|    xmlSecAssert2(pKey != NULL, NULL);
  ------------------
  |  |  461|     41|        do { \
  |  |  462|     41|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 41]
  |  |  ------------------
  |  |  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|     41|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 41]
  |  |  ------------------
  ------------------
  802|       |
  803|     41|    switch(xmlSecOpenSSLEvpKeyGetId(pKey)) {
  ------------------
  |  Branch (803:12): [True: 38, False: 3]
  ------------------
  804|      0|#ifndef XMLSEC_NO_DH
  805|      0|    case EVP_PKEY_DH:
  ------------------
  |  Branch (805:5): [True: 0, False: 41]
  ------------------
  806|      0|    case EVP_PKEY_DHX:
  ------------------
  |  Branch (806:5): [True: 0, False: 41]
  ------------------
  807|      0|        return (xmlSecOpenSSLKeyDataDhId);
  ------------------
  |  |  576|      0|        xmlSecOpenSSLKeyDataDhGetKlass()
  ------------------
  808|      0|#endif /* XMLSEC_NO_DH */
  809|       |
  810|      0|#ifndef XMLSEC_NO_DSA
  811|     19|    case EVP_PKEY_DSA:
  ------------------
  |  Branch (811:5): [True: 19, False: 22]
  ------------------
  812|     19|        return (xmlSecOpenSSLKeyDataDsaId);
  ------------------
  |  |  537|     19|        xmlSecOpenSSLKeyDataDsaGetKlass()
  ------------------
  813|      0|#endif /* XMLSEC_NO_DSA */
  814|       |
  815|      0|#ifndef XMLSEC_NO_EC
  816|      0|    case EVP_PKEY_EC:
  ------------------
  |  Branch (816:5): [True: 0, False: 41]
  ------------------
  817|      0|        return (xmlSecOpenSSLKeyDataEcId);
  ------------------
  |  |  618|      0|        xmlSecOpenSSLKeyDataEcGetKlass()
  ------------------
  818|      0|#endif /* XMLSEC_NO_EC */
  819|       |
  820|       |#ifndef XMLSEC_NO_GOST
  821|       |    case NID_id_GostR3410_2001:
  822|       |        return (xmlSecOpenSSLKeyDataGost2001Id);
  823|       |#endif /* XMLSEC_NO_GOST */
  824|       |
  825|       |#ifndef XMLSEC_NO_GOST2012
  826|       |    case NID_id_GostR3410_2012_256:
  827|       |        return (xmlSecOpenSSLKeyDataGostR3410_2012_256Id);
  828|       |
  829|       |    case NID_id_GostR3410_2012_512:
  830|       |        return (xmlSecOpenSSLKeyDataGostR3410_2012_512Id);
  831|       |#endif /* XMLSEC_NO_GOST2012 */
  832|       |
  833|       |#ifndef XMLSEC_NO_MLDSA
  834|       |    case EVP_PKEY_ML_DSA_44:
  835|       |    case EVP_PKEY_ML_DSA_65:
  836|       |    case EVP_PKEY_ML_DSA_87:
  837|       |        return (xmlSecOpenSSLKeyDataMLDSAId);
  838|       |#endif /* XMLSEC_NO_MLDSA */
  839|       |
  840|       |#ifndef XMLSEC_NO_MLKEM
  841|       |    case NID_ML_KEM_512:
  842|       |    case NID_ML_KEM_768:
  843|       |    case NID_ML_KEM_1024:
  844|       |        return (xmlSecOpenSSLKeyDataMLKEMId);
  845|       |#endif /* XMLSEC_NO_MLKEM */
  846|       |
  847|       |#ifndef XMLSEC_NO_SLHDSA
  848|       |    case EVP_PKEY_SLH_DSA_SHA2_128F:
  849|       |    case EVP_PKEY_SLH_DSA_SHA2_128S:
  850|       |    case EVP_PKEY_SLH_DSA_SHA2_192F:
  851|       |    case EVP_PKEY_SLH_DSA_SHA2_192S:
  852|       |    case EVP_PKEY_SLH_DSA_SHA2_256F:
  853|       |    case EVP_PKEY_SLH_DSA_SHA2_256S:
  854|       |        return (xmlSecOpenSSLKeyDataSLHDSAId);
  855|       |#endif /* XMLSEC_NO_SLHDSA */
  856|       |
  857|       |#ifndef XMLSEC_NO_EDDSA
  858|       |    case EVP_PKEY_ED25519:
  859|       |    case EVP_PKEY_ED448:
  860|       |        return (xmlSecOpenSSLKeyDataEdDSAId);
  861|       |#endif /* XMLSEC_NO_EDDSA */
  862|       |
  863|      0|#ifndef XMLSEC_NO_XDH
  864|     17|    case EVP_PKEY_X25519:
  ------------------
  |  Branch (864:5): [True: 17, False: 24]
  ------------------
  865|     18|    case EVP_PKEY_X448:
  ------------------
  |  Branch (865:5): [True: 1, False: 40]
  ------------------
  866|     18|        return (xmlSecOpenSSLKeyDataXdhId);
  ------------------
  |  | 1383|     18|        xmlSecOpenSSLKeyDataXdhGetKlass()
  ------------------
  867|      0|#endif /* XMLSEC_NO_XDH */
  868|       |
  869|      0|#ifndef XMLSEC_NO_RSA
  870|      1|    case EVP_PKEY_RSA:
  ------------------
  |  Branch (870:5): [True: 1, False: 40]
  ------------------
  871|      1|    case EVP_PKEY_RSA2:
  ------------------
  |  Branch (871:5): [True: 0, False: 41]
  ------------------
  872|      1|    case EVP_PKEY_RSA_PSS:
  ------------------
  |  Branch (872:5): [True: 0, False: 41]
  ------------------
  873|      1|        return (xmlSecOpenSSLKeyDataRsaId);
  ------------------
  |  |  987|      1|        xmlSecOpenSSLKeyDataRsaGetKlass()
  ------------------
  874|     41|#endif /* XMLSEC_NO_RSA */
  875|     41|    }
  876|       |
  877|       |    /* no luck */
  878|      3|    return(NULL);
  879|     41|}
evp.c:xmlSecOpenSSLEvpKeyGetId:
  737|     41|xmlSecOpenSSLEvpKeyGetId(EVP_PKEY *pKey) {
  738|     41|    const char * typeName;
  739|     41|    int id;
  740|       |
  741|     41|    xmlSecAssert2(pKey != NULL, EVP_PKEY_NONE);
  ------------------
  |  |  461|     41|        do { \
  |  |  462|     41|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 41]
  |  |  ------------------
  |  |  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|     41|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 41]
  |  |  ------------------
  ------------------
  742|       |
  743|     41|    id = EVP_PKEY_base_id(pKey);
  744|     41|    if(id != EVP_PKEY_NONE) {
  ------------------
  |  Branch (744:8): [True: 41, False: 0]
  ------------------
  745|     41|        return(id);
  746|     41|    }
  747|      0|    typeName = EVP_PKEY_get0_type_name(pKey);
  748|      0|    if(typeName != NULL) {
  ------------------
  |  Branch (748:8): [True: 0, False: 0]
  ------------------
  749|       |#ifndef XMLSEC_NO_MLDSA
  750|       |        if(strcmp(LN_ML_DSA_44, typeName) == 0) {
  751|       |            return (EVP_PKEY_ML_DSA_44);
  752|       |        } else if(strcmp(LN_ML_DSA_65, typeName) == 0) {
  753|       |            return (EVP_PKEY_ML_DSA_65);
  754|       |        } else if(strcmp(LN_ML_DSA_87, typeName) == 0) {
  755|       |            return (EVP_PKEY_ML_DSA_87);
  756|       |        }
  757|       |#endif /* XMLSEC_NO_MLDSA */
  758|       |
  759|       |#ifndef XMLSEC_NO_MLKEM
  760|       |        if(strcmp(LN_ML_KEM_512, typeName) == 0) {
  761|       |            return (NID_ML_KEM_512);
  762|       |        } else if(strcmp(LN_ML_KEM_768, typeName) == 0) {
  763|       |            return (NID_ML_KEM_768);
  764|       |        } else if(strcmp(LN_ML_KEM_1024, typeName) == 0) {
  765|       |            return (NID_ML_KEM_1024);
  766|       |        }
  767|       |#endif /* XMLSEC_NO_MLKEM */
  768|       |
  769|       |#ifndef XMLSEC_NO_SLHDSA
  770|       |        if(strcmp(LN_SLH_DSA_SHA2_128f, typeName) == 0) {
  771|       |            return (EVP_PKEY_SLH_DSA_SHA2_128F);
  772|       |        } else if(strcmp(LN_SLH_DSA_SHA2_128s, typeName) == 0) {
  773|       |            return (EVP_PKEY_SLH_DSA_SHA2_128S);
  774|       |        } else if(strcmp(LN_SLH_DSA_SHA2_192f, typeName) == 0) {
  775|       |            return (EVP_PKEY_SLH_DSA_SHA2_192F);
  776|       |        } else if(strcmp(LN_SLH_DSA_SHA2_192s, typeName) == 0) {
  777|       |            return (EVP_PKEY_SLH_DSA_SHA2_192S);
  778|       |        } else if(strcmp(LN_SLH_DSA_SHA2_256f, typeName) == 0) {
  779|       |            return (EVP_PKEY_SLH_DSA_SHA2_256F);
  780|       |        } else if(strcmp(LN_SLH_DSA_SHA2_256s, typeName) == 0) {
  781|       |            return (EVP_PKEY_SLH_DSA_SHA2_256S);
  782|       |        }
  783|       |#endif /* XMLSEC_NO_SLHDSA */
  784|       |
  785|      0|    }
  786|       |
  787|       |    /* no luck */
  788|       |    return(EVP_PKEY_NONE);
  789|     41|}
evp.c:xmlSecOpenSSLEvpKeyDataInitialize:
  211|     38|xmlSecOpenSSLEvpKeyDataInitialize(xmlSecKeyDataPtr data) {
  212|     38|    xmlSecOpenSSLEvpKeyDataCtxPtr ctx;
  213|       |
  214|     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]
  |  |  ------------------
  ------------------
  215|     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]
  |  |  ------------------
  ------------------
  216|       |
  217|     38|    ctx = xmlSecOpenSSLEvpKeyDataGetCtx(data);
  218|     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]
  |  |  ------------------
  ------------------
  219|       |
  220|     38|    memset(ctx, 0, sizeof(xmlSecOpenSSLEvpKeyDataCtx));
  221|       |
  222|     38|    return(0);
  223|     38|}
evp.c:xmlSecOpenSSLEvpKeyDataFinalize:
  257|     38|xmlSecOpenSSLEvpKeyDataFinalize(xmlSecKeyDataPtr data) {
  258|     38|    xmlSecOpenSSLEvpKeyDataCtxPtr ctx;
  259|       |
  260|     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]
  |  |  ------------------
  ------------------
  261|     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]
  |  |  ------------------
  ------------------
  262|       |
  263|     38|    ctx = xmlSecOpenSSLEvpKeyDataGetCtx(data);
  264|     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]
  |  |  ------------------
  ------------------
  265|       |
  266|     38|    if(ctx->pKey != NULL) {
  ------------------
  |  Branch (266:8): [True: 38, False: 0]
  ------------------
  267|     38|        EVP_PKEY_free(ctx->pKey);
  268|     38|    }
  269|     38|    OPENSSL_cleanse(ctx, sizeof(xmlSecOpenSSLEvpKeyDataCtx));
  270|     38|}

xmlSecOpenSSLTransformHmacMd5GetKlass:
  633|      1|xmlSecOpenSSLTransformHmacMd5GetKlass(void) {
  634|      1|    return(&xmlSecOpenSSLHmacMd5Klass);
  635|      1|}
xmlSecOpenSSLTransformHmacRipemd160GetKlass:
  649|      1|xmlSecOpenSSLTransformHmacRipemd160GetKlass(void) {
  650|      1|    return(&xmlSecOpenSSLHmacRipemd160Klass);
  651|      1|}
xmlSecOpenSSLTransformHmacSha1GetKlass:
  663|      1|xmlSecOpenSSLTransformHmacSha1GetKlass(void) {
  664|      1|    return(&xmlSecOpenSSLHmacSha1Klass);
  665|      1|}
xmlSecOpenSSLTransformHmacSha224GetKlass:
  678|      1|xmlSecOpenSSLTransformHmacSha224GetKlass(void) {
  679|      1|    return(&xmlSecOpenSSLHmacSha224Klass);
  680|      1|}
xmlSecOpenSSLTransformHmacSha256GetKlass:
  693|      1|xmlSecOpenSSLTransformHmacSha256GetKlass(void) {
  694|      1|    return(&xmlSecOpenSSLHmacSha256Klass);
  695|      1|}
xmlSecOpenSSLTransformHmacSha384GetKlass:
  708|      1|xmlSecOpenSSLTransformHmacSha384GetKlass(void) {
  709|      1|    return(&xmlSecOpenSSLHmacSha384Klass);
  710|      1|}
xmlSecOpenSSLTransformHmacSha512GetKlass:
  723|      1|xmlSecOpenSSLTransformHmacSha512GetKlass(void) {
  724|      1|    return(&xmlSecOpenSSLHmacSha512Klass);
  725|      1|}

xmlSecOpenSSLTransformConcatKdfGetKlass:
  611|      1|xmlSecOpenSSLTransformConcatKdfGetKlass(void) {
  612|      1|    return(&xmlSecOpenSSLConcatKdfKlass);
  613|      1|}
xmlSecOpenSSLTransformPbkdf2GetKlass:
  824|      1|xmlSecOpenSSLTransformPbkdf2GetKlass(void) {
  825|      1|    return(&xmlSecOpenSSLPbkdf2Klass);
  826|      1|}
xmlSecOpenSSLTransformHkdfGetKlass:
 1037|      1|xmlSecOpenSSLTransformHkdfGetKlass(void) {
 1038|      1|    return(&xmlSecOpenSSLHkdfKlass);
 1039|      1|}

xmlSecOpenSSLTransformEcdhGetKlass:
  502|      1|xmlSecOpenSSLTransformEcdhGetKlass(void) {
  503|      1|    return(&xmlSecOpenSSLEcdhKlass);
  504|      1|}
xmlSecOpenSSLTransformDhEsGetKlass:
  531|      1|xmlSecOpenSSLTransformDhEsGetKlass(void) {
  532|      1|    return(&xmlSecOpenSSLDhKlass);
  533|      1|}
xmlSecOpenSSLTransformX25519GetKlass:
  554|      1|xmlSecOpenSSLTransformX25519GetKlass(void) {
  555|      1|    return(&xmlSecOpenSSLX25519Klass);
  556|      1|}
xmlSecOpenSSLTransformX448GetKlass:
  566|      1|xmlSecOpenSSLTransformX448GetKlass(void) {
  567|      1|    return(&xmlSecOpenSSLX448Klass);
  568|      1|}

xmlSecOpenSSLTransformRsaPkcs1GetKlass:
  116|      1|xmlSecOpenSSLTransformRsaPkcs1GetKlass(void) {
  117|      1|    return(&xmlSecOpenSSLRsaPkcs1Klass);
  118|      1|}
xmlSecOpenSSLTransformRsaOaepGetKlass:
  601|      1|xmlSecOpenSSLTransformRsaOaepGetKlass(void) {
  602|      1|    return(&xmlSecOpenSSLRsaOaepKlass);
  603|      1|}
xmlSecOpenSSLTransformRsaOaepEnc11GetKlass:
  638|      1|xmlSecOpenSSLTransformRsaOaepEnc11GetKlass(void) {
  639|      1|    return(&xmlSecOpenSSLRsaOaepEnc11Klass);
  640|      1|}

xmlSecOpenSSLTransformKWDes3GetKlass:
  154|      1|xmlSecOpenSSLTransformKWDes3GetKlass(void) {
  155|      1|    return(&xmlSecOpenSSLKWDes3Klass);
  156|      1|}

xmlSecOpenSSLTransformKWAes128GetKlass:
  665|      1|xmlSecOpenSSLTransformKWAes128GetKlass(void) {
  666|      1|    return(&xmlSecOpenSSLKWAes128Klass);
  667|      1|}
xmlSecOpenSSLTransformKWAes192GetKlass:
  677|      1|xmlSecOpenSSLTransformKWAes192GetKlass(void) {
  678|      1|    return(&xmlSecOpenSSLKWAes192Klass);
  679|      1|}
xmlSecOpenSSLTransformKWAes256GetKlass:
  688|      1|xmlSecOpenSSLTransformKWAes256GetKlass(void) {
  689|      1|    return(&xmlSecOpenSSLKWAes256Klass);
  690|      1|}
xmlSecOpenSSLTransformKWCamellia128GetKlass:
  756|      1|xmlSecOpenSSLTransformKWCamellia128GetKlass(void) {
  757|      1|    return(&xmlSecOpenSSLKWCamellia128Klass);
  758|      1|}
xmlSecOpenSSLTransformKWCamellia192GetKlass:
  767|      1|xmlSecOpenSSLTransformKWCamellia192GetKlass(void) {
  768|      1|    return(&xmlSecOpenSSLKWCamellia192Klass);
  769|      1|}
xmlSecOpenSSLTransformKWCamellia256GetKlass:
  778|      1|xmlSecOpenSSLTransformKWCamellia256GetKlass(void) {
  779|      1|    return(&xmlSecOpenSSLKWCamellia256Klass);
  780|      1|}

xmlSecOpenSSLTransformRsaMd5GetKlass:
 1617|      1|xmlSecOpenSSLTransformRsaMd5GetKlass(void) {
 1618|      1|    return(&xmlSecOpenSSLRsaMd5Klass);
 1619|      1|}
xmlSecOpenSSLTransformRsaRipemd160GetKlass:
 1632|      1|xmlSecOpenSSLTransformRsaRipemd160GetKlass(void) {
 1633|      1|    return(&xmlSecOpenSSLRsaRipemd160Klass);
 1634|      1|}
xmlSecOpenSSLTransformRsaSha1GetKlass:
 1647|      1|xmlSecOpenSSLTransformRsaSha1GetKlass(void) {
 1648|      1|    return(&xmlSecOpenSSLRsaSha1Klass);
 1649|      1|}
xmlSecOpenSSLTransformRsaSha224GetKlass:
 1662|      1|xmlSecOpenSSLTransformRsaSha224GetKlass(void) {
 1663|      1|    return(&xmlSecOpenSSLRsaSha224Klass);
 1664|      1|}
xmlSecOpenSSLTransformRsaSha256GetKlass:
 1677|      1|xmlSecOpenSSLTransformRsaSha256GetKlass(void) {
 1678|      1|    return(&xmlSecOpenSSLRsaSha256Klass);
 1679|      1|}
xmlSecOpenSSLTransformRsaSha384GetKlass:
 1692|      1|xmlSecOpenSSLTransformRsaSha384GetKlass(void) {
 1693|      1|    return(&xmlSecOpenSSLRsaSha384Klass);
 1694|      1|}
xmlSecOpenSSLTransformRsaSha512GetKlass:
 1707|      1|xmlSecOpenSSLTransformRsaSha512GetKlass(void) {
 1708|      1|    return(&xmlSecOpenSSLRsaSha512Klass);
 1709|      1|}
xmlSecOpenSSLTransformRsaPssSha1GetKlass:
 1722|      1|xmlSecOpenSSLTransformRsaPssSha1GetKlass(void) {
 1723|      1|    return(&xmlSecOpenSSLRsaPssSha1Klass);
 1724|      1|}
xmlSecOpenSSLTransformRsaPssSha224GetKlass:
 1738|      1|xmlSecOpenSSLTransformRsaPssSha224GetKlass(void) {
 1739|      1|    return(&xmlSecOpenSSLRsaPssSha224Klass);
 1740|      1|}
xmlSecOpenSSLTransformRsaPssSha256GetKlass:
 1753|      1|xmlSecOpenSSLTransformRsaPssSha256GetKlass(void) {
 1754|      1|    return(&xmlSecOpenSSLRsaPssSha256Klass);
 1755|      1|}
xmlSecOpenSSLTransformRsaPssSha384GetKlass:
 1768|      1|xmlSecOpenSSLTransformRsaPssSha384GetKlass(void) {
 1769|      1|    return(&xmlSecOpenSSLRsaPssSha384Klass);
 1770|      1|}
xmlSecOpenSSLTransformRsaPssSha512GetKlass:
 1783|      1|xmlSecOpenSSLTransformRsaPssSha512GetKlass(void) {
 1784|      1|    return(&xmlSecOpenSSLRsaPssSha512Klass);
 1785|      1|}
xmlSecOpenSSLTransformRsaPssSha3_224GetKlass:
 1800|      1|xmlSecOpenSSLTransformRsaPssSha3_224GetKlass(void) {
 1801|      1|    return(&xmlSecOpenSSLRsaPssSha3_224Klass);
 1802|      1|}
xmlSecOpenSSLTransformRsaPssSha3_256GetKlass:
 1812|      1|xmlSecOpenSSLTransformRsaPssSha3_256GetKlass(void) {
 1813|      1|    return(&xmlSecOpenSSLRsaPssSha3_256Klass);
 1814|      1|}
xmlSecOpenSSLTransformRsaPssSha3_384GetKlass:
 1824|      1|xmlSecOpenSSLTransformRsaPssSha3_384GetKlass(void) {
 1825|      1|    return(&xmlSecOpenSSLRsaPssSha3_384Klass);
 1826|      1|}
xmlSecOpenSSLTransformRsaPssSha3_512GetKlass:
 1836|      1|xmlSecOpenSSLTransformRsaPssSha3_512GetKlass(void) {
 1837|      1|    return(&xmlSecOpenSSLRsaPssSha3_512Klass);
 1838|      1|}
xmlSecOpenSSLTransformDsaSha1GetKlass:
 2103|      1|xmlSecOpenSSLTransformDsaSha1GetKlass(void) {
 2104|      1|    return(&xmlSecOpenSSLDsaSha1Klass);
 2105|      1|}
xmlSecOpenSSLTransformDsaSha256GetKlass:
 2118|      1|xmlSecOpenSSLTransformDsaSha256GetKlass(void) {
 2119|      1|    return(&xmlSecOpenSSLDsaSha256Klass);
 2120|      1|}
xmlSecOpenSSLTransformEcdsaRipemd160GetKlass:
 2437|      1|xmlSecOpenSSLTransformEcdsaRipemd160GetKlass(void) {
 2438|      1|    return(&xmlSecOpenSSLEcdsaRipemd160Klass);
 2439|      1|}
xmlSecOpenSSLTransformEcdsaSha1GetKlass:
 2452|      1|xmlSecOpenSSLTransformEcdsaSha1GetKlass(void) {
 2453|      1|    return(&xmlSecOpenSSLEcdsaSha1Klass);
 2454|      1|}
xmlSecOpenSSLTransformEcdsaSha224GetKlass:
 2467|      1|xmlSecOpenSSLTransformEcdsaSha224GetKlass(void) {
 2468|      1|    return(&xmlSecOpenSSLEcdsaSha224Klass);
 2469|      1|}
xmlSecOpenSSLTransformEcdsaSha256GetKlass:
 2482|      1|xmlSecOpenSSLTransformEcdsaSha256GetKlass(void) {
 2483|      1|    return(&xmlSecOpenSSLEcdsaSha256Klass);
 2484|      1|}
xmlSecOpenSSLTransformEcdsaSha384GetKlass:
 2497|      1|xmlSecOpenSSLTransformEcdsaSha384GetKlass(void) {
 2498|      1|    return(&xmlSecOpenSSLEcdsaSha384Klass);
 2499|      1|}
xmlSecOpenSSLTransformEcdsaSha512GetKlass:
 2512|      1|xmlSecOpenSSLTransformEcdsaSha512GetKlass(void) {
 2513|      1|    return(&xmlSecOpenSSLEcdsaSha512Klass);
 2514|      1|}
xmlSecOpenSSLTransformEcdsaSha3_224GetKlass:
 2528|      1|xmlSecOpenSSLTransformEcdsaSha3_224GetKlass(void) {
 2529|      1|    return(&xmlSecOpenSSLEcdsaSha3_224Klass);
 2530|      1|}
xmlSecOpenSSLTransformEcdsaSha3_256GetKlass:
 2540|      1|xmlSecOpenSSLTransformEcdsaSha3_256GetKlass(void) {
 2541|      1|    return(&xmlSecOpenSSLEcdsaSha3_256Klass);
 2542|      1|}
xmlSecOpenSSLTransformEcdsaSha3_384GetKlass:
 2552|      1|xmlSecOpenSSLTransformEcdsaSha3_384GetKlass(void) {
 2553|      1|    return(&xmlSecOpenSSLEcdsaSha3_384Klass);
 2554|      1|}
xmlSecOpenSSLTransformEcdsaSha3_512GetKlass:
 2565|      1|xmlSecOpenSSLTransformEcdsaSha3_512GetKlass(void) {
 2566|      1|    return(&xmlSecOpenSSLEcdsaSha3_512Klass);
 2567|      1|}

xmlSecOpenSSLKeyDataAesGetKlass:
  307|      1|xmlSecOpenSSLKeyDataAesGetKlass(void) {
  308|      1|    return(&xmlSecOpenSSLKeyDataAesKlass);
  309|      1|}
xmlSecOpenSSLKeyDataCamelliaGetKlass:
  346|      1|xmlSecOpenSSLKeyDataCamelliaGetKlass(void) {
  347|      1|    return(&xmlSecOpenSSLKeyDataCamelliaKlass);
  348|      1|}
xmlSecOpenSSLKeyDataChaCha20GetKlass:
  385|      1|xmlSecOpenSSLKeyDataChaCha20GetKlass(void) {
  386|      1|    return(&xmlSecOpenSSLKeyDataChaCha20Klass);
  387|      1|}
xmlSecOpenSSLKeyDataConcatKdfGetKlass:
  432|      1|xmlSecOpenSSLKeyDataConcatKdfGetKlass(void) {
  433|      1|    return(&xmlSecOpenSSLKeyDataConcatKdfKlass);
  434|      1|}
xmlSecOpenSSLKeyDataDesGetKlass:
  472|      1|xmlSecOpenSSLKeyDataDesGetKlass(void) {
  473|      1|    return(&xmlSecOpenSSLKeyDataDesKlass);
  474|      1|}
xmlSecOpenSSLKeyDataHmacGetKlass:
  512|      1|xmlSecOpenSSLKeyDataHmacGetKlass(void) {
  513|      1|    return(&xmlSecOpenSSLKeyDataHmacKlass);
  514|      1|}
xmlSecOpenSSLKeyDataPbkdf2GetKlass:
  559|      1|xmlSecOpenSSLKeyDataPbkdf2GetKlass(void) {
  560|      1|    return(&xmlSecOpenSSLKeyDataPbkdf2Klass);
  561|      1|}
xmlSecOpenSSLKeyDataHkdfGetKlass:
  605|      1|xmlSecOpenSSLKeyDataHkdfGetKlass(void) {
  606|      1|    return(&xmlSecOpenSSLKeyDataHkdfKlass);
  607|      1|}

xmlSecOpenSSLKeyDataX509GetKlass:
  173|      1|xmlSecOpenSSLKeyDataX509GetKlass(void) {
  174|      1|    return(&xmlSecOpenSSLKeyDataX509Klass);
  175|      1|}
xmlSecOpenSSLX509CertLoadBIO:
 1735|    264|xmlSecOpenSSLX509CertLoadBIO(BIO* bio, xmlSecKeyDataFormat format) {
 1736|    264|    X509* tmp = NULL;
 1737|    264|    X509* res = NULL;
 1738|       |
 1739|    264|    xmlSecAssert2(bio != NULL, NULL);
  ------------------
  |  |  461|    264|        do { \
  |  |  462|    264|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 264]
  |  |  ------------------
  |  |  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|    264|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 264]
  |  |  ------------------
  ------------------
 1740|    264|    xmlSecAssert2(format != xmlSecKeyDataFormatUnknown, NULL);
  ------------------
  |  |  461|    264|        do { \
  |  |  462|    264|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 264]
  |  |  ------------------
  |  |  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|    264|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 264]
  |  |  ------------------
  ------------------
 1741|       |
 1742|       |    /* create certificate object to hold the cert we are going to read */
 1743|    264|    tmp = X509_new_ex(xmlSecOpenSSLGetLibCtx(), NULL);
 1744|    264|    if(tmp == NULL) {
  ------------------
  |  Branch (1744:8): [True: 0, False: 264]
  ------------------
 1745|      0|        xmlSecOpenSSLError("X509_new_ex", NULL);
  ------------------
  |  |   59|      0|    do {                                                    \
  |  |   60|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   61|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   62|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   63|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   64|      0|                    (const char*)(errorObject),             \
  |  |   65|      0|                    (errorFunction),                        \
  |  |   66|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   67|      0|                    "openssl error: %s",                    \
  |  |   68|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   69|      0|        );                                                  \
  |  |   70|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (70:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1746|      0|        goto done;
 1747|      0|    }
 1748|       |
 1749|       |    /* read the cert */
 1750|    264|    switch(format) {
 1751|     15|    case xmlSecKeyDataFormatPem:
  ------------------
  |  Branch (1751:5): [True: 15, False: 249]
  ------------------
 1752|    256|    case xmlSecKeyDataFormatCertPem:
  ------------------
  |  Branch (1752:5): [True: 241, False: 23]
  ------------------
 1753|    256|        res = PEM_read_bio_X509_AUX(bio, &tmp, NULL, NULL);
 1754|    256|        if(res == NULL) {
  ------------------
  |  Branch (1754:12): [True: 256, False: 0]
  ------------------
 1755|    256|            xmlSecOpenSSLError("PEM_read_bio_X509_AUX", NULL);
  ------------------
  |  |   59|    256|    do {                                                    \
  |  |   60|    256|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   61|    256|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   62|    256|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   63|    256|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|    256|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   64|    256|                    (const char*)(errorObject),             \
  |  |   65|    256|                    (errorFunction),                        \
  |  |   66|    256|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|    256|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   67|    256|                    "openssl error: %s",                    \
  |  |   68|    256|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|    256|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 256, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   69|    256|        );                                                  \
  |  |   70|    256|    } while(0)
  |  |  ------------------
  |  |  |  Branch (70:13): [Folded, False: 256]
  |  |  ------------------
  ------------------
 1756|    256|            goto done;
 1757|    256|        }
 1758|      0|        tmp = NULL; /* now it's res */
 1759|      0|        break;
 1760|      5|    case xmlSecKeyDataFormatDer:
  ------------------
  |  Branch (1760:5): [True: 5, False: 259]
  ------------------
 1761|      8|    case xmlSecKeyDataFormatCertDer:
  ------------------
  |  Branch (1761:5): [True: 3, False: 261]
  ------------------
 1762|      8|        res = d2i_X509_bio(bio, &tmp);
 1763|      8|        if(res == NULL) {
  ------------------
  |  Branch (1763:12): [True: 8, False: 0]
  ------------------
 1764|      8|            xmlSecOpenSSLError("d2i_X509_bio", NULL);
  ------------------
  |  |   59|      8|    do {                                                    \
  |  |   60|      8|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   61|      8|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   62|      8|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   63|      8|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      8|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   64|      8|                    (const char*)(errorObject),             \
  |  |   65|      8|                    (errorFunction),                        \
  |  |   66|      8|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      8|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   67|      8|                    "openssl error: %s",                    \
  |  |   68|      8|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  418|      8|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (418:10): [True: 8, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   69|      8|        );                                                  \
  |  |   70|      8|    } while(0)
  |  |  ------------------
  |  |  |  Branch (70:13): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1765|      8|            goto done;
 1766|      8|        }
 1767|      0|        tmp = NULL; /* now it's res */
 1768|      0|        break;
 1769|      0|    default:
  ------------------
  |  Branch (1769:5): [True: 0, False: 264]
  ------------------
 1770|      0|        xmlSecOtherError2(XMLSEC_ERRORS_R_INVALID_FORMAT, NULL,
  ------------------
  |  |  943|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  944|      0|                    (const char*)(errorObject),             \
  |  |  945|      0|                    NULL,                                   \
  |  |  946|      0|                    (code),                                 \
  |  |  947|      0|                    (msg), (param)                          \
  |  |  948|      0|        )
  ------------------
 1771|      0|            "format=" XMLSEC_ENUM_FMT, XMLSEC_ENUM_CAST(format));
 1772|      0|        goto done;
 1773|    264|    }
 1774|       |
 1775|    264|done:
 1776|    264|    if(tmp != NULL) {
  ------------------
  |  Branch (1776:8): [True: 257, False: 7]
  ------------------
 1777|    257|        X509_free(tmp);
 1778|    257|    }
 1779|    264|    return(res);
 1780|    264|}
xmlSecOpenSSLKeyDataRawX509CertGetKlass:
 2080|      1|xmlSecOpenSSLKeyDataRawX509CertGetKlass(void) {
 2081|      1|    return(&xmlSecOpenSSLKeyDataRawX509CertKlass);
 2082|      1|}

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

xmlSecTransformIdsGet:
   84|     89|xmlSecTransformIdsGet(void) {
   85|     89|    return(&xmlSecAllTransformIds);
   86|     89|}
xmlSecTransformIdsInit:
   96|      1|xmlSecTransformIdsInit(void) {
   97|      1|    int ret;
   98|       |
   99|      1|    ret = xmlSecPtrListInitialize(xmlSecTransformIdsGet(), xmlSecTransformIdListId);
  ------------------
  |  |  753|      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|     88|xmlSecTransformIdsRegister(xmlSecTransformId id) {
  145|     88|    int ret;
  146|       |
  147|     88|    xmlSecAssert2(id != xmlSecTransformIdUnknown, -1);
  ------------------
  |  |  461|     88|        do { \
  |  |  462|     88|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (462:16): [True: 0, False: 88]
  |  |  ------------------
  |  |  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|     88|        } while(0)
  |  |  ------------------
  |  |  |  Branch (470:17): [Folded, False: 88]
  |  |  ------------------
  ------------------
  148|       |
  149|     88|    ret = xmlSecPtrListAdd(xmlSecTransformIdsGet(), (xmlSecPtr)id);
  150|     88|    if(ret < 0) {
  ------------------
  |  Branch (150:8): [True: 0, False: 88]
  ------------------
  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|     88|    return(0);
  157|     88|}
xmlSecTransformIdsRegisterDefault:
  167|      1|xmlSecTransformIdsRegisterDefault(void) {
  168|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformBase64Id) < 0) {
  ------------------
  |  |  783|      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) {
  ------------------
  |  |  833|      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) {
  ------------------
  |  |  791|      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) {
  ------------------
  |  |  798|      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) {
  ------------------
  |  |  805|      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) {
  ------------------
  |  |  812|      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) {
  ------------------
  |  |  819|      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) {
  ------------------
  |  |  826|      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) {
  ------------------
  |  |  840|      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) {
  ------------------
  |  |  847|      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) {
  ------------------
  |  |  854|      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|       |
  219|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformRelationshipId) < 0) {
  ------------------
  |  |  864|      1|        xmlSecTransformRelationshipGetKlass()
  ------------------
  |  Branch (219:8): [True: 0, False: 1]
  ------------------
  220|      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|        )
  ------------------
  221|      0|        return(-1);
  222|      0|    }
  223|       |
  224|      1|#ifndef XMLSEC_NO_XSLT
  225|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformXsltId) < 0) {
  ------------------
  |  |  873|      1|        xmlSecTransformXsltGetKlass()
  ------------------
  |  Branch (225:8): [True: 0, False: 1]
  ------------------
  226|      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|        )
  ------------------
  227|      0|        return(-1);
  228|      0|    }
  229|      1|#endif /* XMLSEC_NO_XSLT */
  230|       |
  231|      1|    return(0);
  232|      1|}
xmlSecTransformIdListGetKlass:
 2412|      1|xmlSecTransformIdListGetKlass(void) {
 2413|      1|    return(&xmlSecTransformIdListKlass);
 2414|      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:9): [True: 1, False: 0]
  ------------------
  124|      1|        xmlSecDefaultExternalEntityLoader = xmlGetExternalEntityLoader();
  125|      1|    }
  126|       |
  127|       |    /* new parser option XML_PARSE_NO_XXE available since 2.13.0 and is
  128|       |     * set as a default option for parsers */
  129|       |#if LIBXML_VERSION < 21300
  130|       |    xmlSetExternalEntityLoader(xmlSecNoXxeExternalEntityLoader);
  131|       |#endif /* LIBXML_VERSION < 21300 */
  132|       |
  133|       |    /* success */
  134|      1|    return(0);
  135|      1|}
xmlSecCheckVersionExt:
  201|      2|xmlSecCheckVersionExt(int major, int minor, int subminor, xmlSecCheckVersionMode mode) {
  202|       |    /* we always want to have a match for major version number */
  203|      2|    if(major != XMLSEC_VERSION_MAJOR) {
  ------------------
  |  |   23|      2|#define XMLSEC_VERSION_MAJOR    1
  ------------------
  |  Branch (203:8): [True: 0, False: 2]
  ------------------
  204|      0|        xmlSecOtherError3(XMLSEC_ERRORS_R_INVALID_VERSION, NULL,
  ------------------
  |  |  960|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  961|      0|                    (const char*)(errorObject),             \
  |  |  962|      0|                    NULL,                                   \
  |  |  963|      0|                    (code),                                 \
  |  |  964|      0|                    (msg), (param1), (param2)               \
  |  |  965|      0|        )
  ------------------
  205|      0|                "library major version=%d;required major version=%d",
  206|      0|                XMLSEC_VERSION_MAJOR, major);
  207|      0|        return(0);
  208|      0|    }
  209|       |
  210|      2|    switch(mode) {
  211|      1|    case xmlSecCheckVersionExactMatch:
  ------------------
  |  Branch (211:5): [True: 1, False: 1]
  ------------------
  212|      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 13
  ------------------
  |  Branch (212:12): [True: 0, False: 1]
  |  Branch (212:47): [True: 0, False: 1]
  ------------------
  213|      0|            xmlSecOtherError5(XMLSEC_ERRORS_R_INVALID_VERSION, NULL,
  ------------------
  |  |  997|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  998|      0|                    (const char*)(errorObject),             \
  |  |  999|      0|                    NULL,                                   \
  |  | 1000|      0|                    (code),                                 \
  |  | 1001|      0|                    (msg), (param1), (param2), (param3), (param4) \
  |  | 1002|      0|        )
  ------------------
  214|      0|                    "mode=exact;library minor version=%d;required minor version=%d;library subminor version=%d;required subminor version=%d",
  215|      0|                    XMLSEC_VERSION_MINOR, minor, XMLSEC_VERSION_SUBMINOR, subminor);
  216|      0|            return(0);
  217|      0|        }
  218|      1|        break;
  219|      1|    case xmlSecCheckVersionABICompatible:
  ------------------
  |  Branch (219:5): [True: 1, False: 1]
  ------------------
  220|      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 (220:12): [True: 0, False: 1]
  |  Branch (220:47): [True: 1, False: 0]
  ------------------
  221|      1|                (subminor > XMLSEC_VERSION_SUBMINOR))) {
  ------------------
  |  |   33|      1|#define XMLSEC_VERSION_SUBMINOR 13
  ------------------
  |  Branch (221:17): [True: 0, False: 1]
  ------------------
  222|      0|            xmlSecOtherError5(XMLSEC_ERRORS_R_INVALID_VERSION, NULL,
  ------------------
  |  |  997|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  402|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  998|      0|                    (const char*)(errorObject),             \
  |  |  999|      0|                    NULL,                                   \
  |  | 1000|      0|                    (code),                                 \
  |  | 1001|      0|                    (msg), (param1), (param2), (param3), (param4) \
  |  | 1002|      0|        )
  ------------------
  223|      0|                    "mode=abi compatible;library minor version=%d;required minor version=%d;library subminor version=%d;required subminor version=%d",
  224|      0|                    XMLSEC_VERSION_MINOR, minor, XMLSEC_VERSION_SUBMINOR, subminor);
  225|      0|            return(0);
  226|      0|        }
  227|      1|        break;
  228|      1|    default:
  ------------------
  |  Branch (228:5): [True: 0, False: 2]
  ------------------
  229|      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|        )
  ------------------
  230|      0|        return(0);
  231|      2|    }
  232|       |
  233|      2|    return(1);
  234|      2|}

xmlSecTransformXPathGetKlass:
  505|      1|xmlSecTransformXPathGetKlass(void) {
  506|      1|    return(&xmlSecTransformXPathKlass);
  507|      1|}
xmlSecTransformXPath2GetKlass:
  641|      1|xmlSecTransformXPath2GetKlass(void) {
  642|      1|    return(&xmlSecTransformXPath2Klass);
  643|      1|}
xmlSecTransformXPointerGetKlass:
  772|      1|xmlSecTransformXPointerGetKlass(void) {
  773|      1|    return(&xmlSecTransformXPointerKlass);
  774|      1|}

xmlSecTransformXsltInitialize:
  105|      1|int xmlSecTransformXsltInitialize(void) {
  106|      1|    xsltSecurityPrefsPtr sec;
  107|       |
  108|      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]
  |  |  ------------------
  ------------------
  109|       |
  110|      1|    sec = xsltNewSecurityPrefs();
  111|      1|    if(sec == NULL) {
  ------------------
  |  Branch (111:8): [True: 0, False: 1]
  ------------------
  112|      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]
  |  |  ------------------
  ------------------
  113|      0|        return(-1);
  114|      0|    }
  115|      1|    if((xsltSetSecurityPrefs(sec, XSLT_SECPREF_READ_FILE, xsltSecurityForbid) < 0) ||
  ------------------
  |  Branch (115:8): [True: 0, False: 1]
  ------------------
  116|      1|       (xsltSetSecurityPrefs(sec, XSLT_SECPREF_WRITE_FILE, xsltSecurityForbid) < 0) ||
  ------------------
  |  Branch (116:8): [True: 0, False: 1]
  ------------------
  117|      1|       (xsltSetSecurityPrefs(sec, XSLT_SECPREF_CREATE_DIRECTORY, xsltSecurityForbid) < 0) ||
  ------------------
  |  Branch (117:8): [True: 0, False: 1]
  ------------------
  118|      1|       (xsltSetSecurityPrefs(sec, XSLT_SECPREF_READ_NETWORK, xsltSecurityForbid) < 0) ||
  ------------------
  |  Branch (118:8): [True: 0, False: 1]
  ------------------
  119|      1|       (xsltSetSecurityPrefs(sec, XSLT_SECPREF_WRITE_NETWORK, xsltSecurityForbid) < 0)
  ------------------
  |  Branch (119:8): [True: 0, False: 1]
  ------------------
  120|      1|    ) {
  121|      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]
  |  |  ------------------
  ------------------
  122|      0|        xsltFreeSecurityPrefs(sec);
  123|      0|        return(-1);
  124|      0|    }
  125|       |
  126|      1|    g_xslt_default_security_prefs = sec;
  127|      1|    return(0);
  128|      1|}
xmlSecTransformXsltGetKlass:
  200|      1|xmlSecTransformXsltGetKlass(void) {
  201|      1|    return(&xmlSecXsltKlass);
  202|      1|}

