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

xmlStrndup:
   50|      5|xmlStrndup(const xmlChar *cur, int len) {
   51|      5|    xmlChar *ret;
   52|       |
   53|      5|    if ((cur == NULL) || (len < 0)) return(NULL);
  ------------------
  |  Branch (53:9): [True: 0, False: 5]
  |  Branch (53:26): [True: 0, False: 5]
  ------------------
   54|      5|    ret = xmlMalloc((size_t) len + 1);
   55|      5|    if (ret == NULL) {
  ------------------
  |  Branch (55:9): [True: 0, False: 5]
  ------------------
   56|      0|        return(NULL);
   57|      0|    }
   58|      5|    memcpy(ret, cur, len);
   59|      5|    ret[len] = 0;
   60|      5|    return(ret);
   61|      5|}
xmlStrVPrintf:
  549|  3.50k|xmlStrVPrintf(xmlChar *buf, int len, const char *msg, va_list ap) {
  550|  3.50k|    int ret;
  551|       |
  552|  3.50k|    if((buf == NULL) || (msg == NULL) || (len <= 0)) {
  ------------------
  |  Branch (552:8): [True: 0, False: 3.50k]
  |  Branch (552:25): [True: 0, False: 3.50k]
  |  Branch (552:42): [True: 0, False: 3.50k]
  ------------------
  553|      0|        return(-1);
  554|      0|    }
  555|       |
  556|  3.50k|    ret = vsnprintf((char *) buf, len, (const char *) msg, ap);
  557|  3.50k|    buf[len - 1] = 0; /* be safe ! */
  558|       |
  559|  3.50k|    return(ret);
  560|  3.50k|}

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

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

xmlSecTransformBase64GetKlass:
  829|      1|xmlSecTransformBase64GetKlass(void) {
  830|      1|    return(&xmlSecBase64Klass);
  831|      1|}

xmlSecMemCleanse:
  850|     34|xmlSecMemCleanse(void* data, size_t size) {
  851|     34|    if((data == NULL) || (size == 0)) {
  ------------------
  |  Branch (851:8): [True: 0, False: 34]
  |  Branch (851:26): [True: 0, False: 34]
  ------------------
  852|      0|        return;
  853|      0|    }
  854|       |
  855|       |#if defined(XMLSEC_WINDOWS)
  856|       |    SecureZeroMemory(data, size);
  857|       |#elif defined(HAVE_MEMSET_EXPLICIT) && defined(HAVE_DECL_MEMSET_EXPLICIT) && (HAVE_DECL_MEMSET_EXPLICIT == 1)
  858|       |    memset_explicit(data, 0, size);
  859|       |#elif defined(HAVE_EXPLICIT_BZERO) && defined(HAVE_DECL_EXPLICIT_BZERO) && (HAVE_DECL_EXPLICIT_BZERO == 1)
  860|     34|    explicit_bzero(data, size);
  861|       |#elif defined(HAVE_MEMSET_S) && defined(HAVE_DECL_MEMSET_S) && (HAVE_DECL_MEMSET_S == 1)
  862|       |    (void)memset_s(data, size, 0, size);
  863|       |#else
  864|       |    /* Fallback: zero through a volatile pointer so the compiler cannot
  865|       |     * optimize the write away. */
  866|       |    {
  867|       |        volatile unsigned char* p = (volatile unsigned char*)data;
  868|       |        while(size > 0) {
  869|       |            *p++ = 0;
  870|       |            size--;
  871|       |        }
  872|       |    }
  873|       |#endif
  874|     34|}

xmlSecTransformInclC14NGetKlass:
  381|      1|xmlSecTransformInclC14NGetKlass(void) {
  382|      1|    return(&xmlSecTransformInclC14NKlass);
  383|      1|}
xmlSecTransformInclC14NWithCommentsGetKlass:
  427|      1|xmlSecTransformInclC14NWithCommentsGetKlass(void) {
  428|      1|    return(&xmlSecTransformInclC14NWithCommentsKlass);
  429|      1|}
xmlSecTransformInclC14N11GetKlass:
  470|      1|xmlSecTransformInclC14N11GetKlass(void) {
  471|      1|    return(&xmlSecTransformInclC14N11Klass);
  472|      1|}
xmlSecTransformInclC14N11WithCommentsGetKlass:
  514|      1|xmlSecTransformInclC14N11WithCommentsGetKlass(void) {
  515|      1|    return(&xmlSecTransformInclC14N11WithCommentsKlass);
  516|      1|}
xmlSecTransformExclC14NGetKlass:
  559|      1|xmlSecTransformExclC14NGetKlass(void) {
  560|      1|    return(&xmlSecTransformExclC14NKlass);
  561|      1|}
xmlSecTransformExclC14NWithCommentsGetKlass:
  603|      1|xmlSecTransformExclC14NWithCommentsGetKlass(void) {
  604|      1|    return(&xmlSecTransformExclC14NWithCommentsKlass);
  605|      1|}

xmlSecCryptoDLFunctionsRegisterKeyDataAndTransforms:
  563|      1|xmlSecCryptoDLFunctionsRegisterKeyDataAndTransforms(struct _xmlSecCryptoDLFunctions* functions) {
  564|      1|    xmlSecAssert2(functions != NULL, -1);
  ------------------
  |  |  446|      1|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 1]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  565|       |
  566|       |    /******************************************************************************
  567|       |     *
  568|       |     * Register keys
  569|       |     *
  570|       |      *****************************************************************************/
  571|       |
  572|       |    /* raw key values should not be used in production w/o understanding of the security risks */
  573|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Aes);                  // keyDataAesGetKlass
  ------------------
  |  |  544|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (544:8): [True: 1, False: 0]
  |  |  |  Branch (544:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  545|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  546|      0|        return(-1);                                                                                                                       \
  |  |  547|      0|    }                                                                                                                                     \
  ------------------
  574|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Camellia);             // keyDataCamelliaGetKlass
  ------------------
  |  |  544|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (544:8): [True: 1, False: 0]
  |  |  |  Branch (544:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  545|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  546|      0|        return(-1);                                                                                                                       \
  |  |  547|      0|    }                                                                                                                                     \
  ------------------
  575|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(ChaCha20);             // keyDataChaCha20GetKlass
  ------------------
  |  |  544|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (544:8): [True: 1, False: 0]
  |  |  |  Branch (544:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  545|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  546|      0|        return(-1);                                                                                                                       \
  |  |  547|      0|    }                                                                                                                                     \
  ------------------
  576|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(ConcatKdf);            // keyDataConcatKdfGetKlass
  ------------------
  |  |  544|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (544:8): [True: 1, False: 0]
  |  |  |  Branch (544:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  545|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  546|      0|        return(-1);                                                                                                                       \
  |  |  547|      0|    }                                                                                                                                     \
  ------------------
  577|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Des);                  // keyDataDesGetKlass
  ------------------
  |  |  544|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (544:8): [True: 1, False: 0]
  |  |  |  Branch (544:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  545|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  546|      0|        return(-1);                                                                                                                       \
  |  |  547|      0|    }                                                                                                                                     \
  ------------------
  578|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Dh);                   // keyDataDhGetKlass
  ------------------
  |  |  544|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (544:8): [True: 1, False: 0]
  |  |  |  Branch (544:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  545|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  546|      0|        return(-1);                                                                                                                       \
  |  |  547|      0|    }                                                                                                                                     \
  ------------------
  579|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Dsa);                  // keyDataDsaGetKlass
  ------------------
  |  |  544|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (544:8): [True: 1, False: 0]
  |  |  |  Branch (544:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  545|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  546|      0|        return(-1);                                                                                                                       \
  |  |  547|      0|    }                                                                                                                                     \
  ------------------
  580|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Ec);                   // keyDataEcGetKlass
  ------------------
  |  |  544|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (544:8): [True: 1, False: 0]
  |  |  |  Branch (544:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  545|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  546|      0|        return(-1);                                                                                                                       \
  |  |  547|      0|    }                                                                                                                                     \
  ------------------
  581|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Gost2001);             // keyDataGost2001GetKlass
  ------------------
  |  |  544|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (544:8): [True: 0, False: 1]
  |  |  |  Branch (544:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  545|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  546|      0|        return(-1);                                                                                                                       \
  |  |  547|      0|    }                                                                                                                                     \
  ------------------
  582|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(GostR3410_2012_256);   // keyDataGostR3410_2012_256GetKlass
  ------------------
  |  |  544|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (544:8): [True: 0, False: 1]
  |  |  |  Branch (544:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  545|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  546|      0|        return(-1);                                                                                                                       \
  |  |  547|      0|    }                                                                                                                                     \
  ------------------
  583|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(GostR3410_2012_512);   // keyDataGostR3410_2012_512GetKlass
  ------------------
  |  |  544|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (544:8): [True: 0, False: 1]
  |  |  |  Branch (544:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  545|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  546|      0|        return(-1);                                                                                                                       \
  |  |  547|      0|    }                                                                                                                                     \
  ------------------
  584|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Hmac);                 // keyDataHmacGetKlass
  ------------------
  |  |  544|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (544:8): [True: 1, False: 0]
  |  |  |  Branch (544:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  545|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  546|      0|        return(-1);                                                                                                                       \
  |  |  547|      0|    }                                                                                                                                     \
  ------------------
  585|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Hkdf);                 // keyDataHkdfGetKlass
  ------------------
  |  |  544|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (544:8): [True: 1, False: 0]
  |  |  |  Branch (544:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  545|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  546|      0|        return(-1);                                                                                                                       \
  |  |  547|      0|    }                                                                                                                                     \
  ------------------
  586|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(MLDSA);                // keyDataMLDSAGetKlass
  ------------------
  |  |  544|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (544:8): [True: 0, False: 1]
  |  |  |  Branch (544:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  545|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  546|      0|        return(-1);                                                                                                                       \
  |  |  547|      0|    }                                                                                                                                     \
  ------------------
  587|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(MLKEM);                // keyDataMLKEMGetKlass
  ------------------
  |  |  544|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (544:8): [True: 0, False: 1]
  |  |  |  Branch (544:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  545|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  546|      0|        return(-1);                                                                                                                       \
  |  |  547|      0|    }                                                                                                                                     \
  ------------------
  588|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Pbkdf2);               // keyDataPbkdf2GetKlass
  ------------------
  |  |  544|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (544:8): [True: 1, False: 0]
  |  |  |  Branch (544:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  545|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  546|      0|        return(-1);                                                                                                                       \
  |  |  547|      0|    }                                                                                                                                     \
  ------------------
  589|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Rsa);                  // keyDataRsaGetKlass
  ------------------
  |  |  544|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (544:8): [True: 1, False: 0]
  |  |  |  Branch (544:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  545|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  546|      0|        return(-1);                                                                                                                       \
  |  |  547|      0|    }                                                                                                                                     \
  ------------------
  590|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(SLHDSA);               // keyDataSLHDSAGetKlass
  ------------------
  |  |  544|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (544:8): [True: 0, False: 1]
  |  |  |  Branch (544:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  545|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  546|      0|        return(-1);                                                                                                                       \
  |  |  547|      0|    }                                                                                                                                     \
  ------------------
  591|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(EdDSA);                // keyDataEdDSAGetKlass
  ------------------
  |  |  544|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (544:8): [True: 0, False: 1]
  |  |  |  Branch (544:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  545|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  546|      0|        return(-1);                                                                                                                       \
  |  |  547|      0|    }                                                                                                                                     \
  ------------------
  592|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Xdh);                  // keyDataXdhGetKlass
  ------------------
  |  |  544|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (544:8): [True: 1, False: 0]
  |  |  |  Branch (544:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  545|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  546|      0|        return(-1);                                                                                                                       \
  |  |  547|      0|    }                                                                                                                                     \
  ------------------
  593|       |
  594|       |     /* DEREncodedKeyValue key data should not be used in production w/o understanding of the security risks */
  595|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(DEREncodedKeyValue);   // keyDataDEREncodedKeyValueGetKlass
  ------------------
  |  |  544|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (544:8): [True: 1, False: 0]
  |  |  |  Branch (544:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  545|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  546|      0|        return(-1);                                                                                                                       \
  |  |  547|      0|    }                                                                                                                                     \
  ------------------
  596|       |
  597|      1|    XMLSEC_REGISTER_KEY_DATA(X509);                          // keyDataX509GetKlass
  ------------------
  |  |  538|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegister(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (538:8): [True: 1, False: 0]
  |  |  |  Branch (538:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  539|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  540|      0|        return(-1);                                                                                                                       \
  |  |  541|      0|    }                                                                                                                                     \
  ------------------
  598|      1|    XMLSEC_REGISTER_KEY_DATA(RawX509Cert);                   // keyDataRawX509CertGetKlass
  ------------------
  |  |  538|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegister(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (538:8): [True: 1, False: 0]
  |  |  |  Branch (538:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  539|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  540|      0|        return(-1);                                                                                                                       \
  |  |  541|      0|    }                                                                                                                                     \
  ------------------
  599|       |
  600|       |
  601|       |    /******************************************************************************
  602|       |     *
  603|       |     * Register transforms
  604|       |     *
  605|       |      *****************************************************************************/
  606|      1|    XMLSEC_REGISTER_TRANSFORM(Aes128Cbc);                           // transformAes128CbcGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  607|      1|    XMLSEC_REGISTER_TRANSFORM(Aes192Cbc);                           // transformAes192CbcGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  608|      1|    XMLSEC_REGISTER_TRANSFORM(Aes256Cbc);                           // transformAes256CbcGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  609|       |
  610|      1|    XMLSEC_REGISTER_TRANSFORM(Aes128Gcm);                           // transformAes128GcmGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  611|      1|    XMLSEC_REGISTER_TRANSFORM(Aes192Gcm);                           // transformAes192GcmGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  612|      1|    XMLSEC_REGISTER_TRANSFORM(Aes256Gcm);                           // transformAes256GcmGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  613|       |
  614|      1|    XMLSEC_REGISTER_TRANSFORM(ConcatKdf);                           // transformConcatKdfGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  615|       |
  616|      1|    XMLSEC_REGISTER_TRANSFORM(KWAes128);                            // transformKWAes128GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  617|      1|    XMLSEC_REGISTER_TRANSFORM(KWAes192);                            // transformKWAes192GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  618|      1|    XMLSEC_REGISTER_TRANSFORM(KWAes256);                            // transformKWAes256GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  619|       |
  620|      1|    XMLSEC_REGISTER_TRANSFORM(Camellia128Cbc);                      // transformCamellia128CbcGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  621|      1|    XMLSEC_REGISTER_TRANSFORM(Camellia192Cbc);                      // transformCamellia192CbcGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  622|      1|    XMLSEC_REGISTER_TRANSFORM(Camellia256Cbc);                      // transformCamellia256CbcGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  623|       |
  624|      1|    XMLSEC_REGISTER_TRANSFORM(KWCamellia128);                       // transformKWCamellia128GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  625|      1|    XMLSEC_REGISTER_TRANSFORM(KWCamellia192);                       // transformKWCamellia192GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  626|      1|    XMLSEC_REGISTER_TRANSFORM(KWCamellia256);                       // transformKWCamellia256GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  627|       |
  628|      1|    XMLSEC_REGISTER_TRANSFORM(ChaCha20);                            // transformChaCha20GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  629|      1|    XMLSEC_REGISTER_TRANSFORM(ChaCha20Poly1305);                    // transformChaCha20Poly1305GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  630|       |
  631|      1|    XMLSEC_REGISTER_TRANSFORM(Des3Cbc);                             // transformDes3CbcGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  632|       |
  633|      1|    XMLSEC_REGISTER_TRANSFORM(KWDes3);                              // transformKWDes3GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  634|       |
  635|      1|    XMLSEC_REGISTER_TRANSFORM(Gost2001GostR3411_94);                // transformGost2001GostR3411_94GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  636|      1|    XMLSEC_REGISTER_TRANSFORM(GostR3410_2012GostR3411_2012_256);    // transformGostR3410_2012GostR3411_2012_256GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  637|      1|    XMLSEC_REGISTER_TRANSFORM(GostR3410_2012GostR3411_2012_512);    // transformGostR3410_2012GostR3411_2012_512GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  638|       |
  639|      1|    XMLSEC_REGISTER_TRANSFORM(GostR3411_94);                        // transformGostR3411_94GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  640|      1|    XMLSEC_REGISTER_TRANSFORM(GostR3411_2012_256);                  // transformGostR3411_2012_256GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  641|      1|    XMLSEC_REGISTER_TRANSFORM(GostR3411_2012_512);                  // transformGostR3411_2012_512GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  642|       |
  643|       |
  644|      1|    XMLSEC_REGISTER_TRANSFORM(DhEs);                                // transformDhEsGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  645|       |
  646|      1|    XMLSEC_REGISTER_TRANSFORM(DsaSha1);                             // transformDsaSha1GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  647|      1|    XMLSEC_REGISTER_TRANSFORM(DsaSha256);                           // transformDsaSha256GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  648|       |
  649|      1|    XMLSEC_REGISTER_TRANSFORM(Ecdh);                                // transformEcdhGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  650|       |
  651|      1|    XMLSEC_REGISTER_TRANSFORM(X25519);                              // transformX25519GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  652|      1|    XMLSEC_REGISTER_TRANSFORM(X448);                                // transformX448GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  653|       |
  654|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaRipemd160);                      // transformEcdsaRipemd160GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  655|       |
  656|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha1);                           // transformEcdsaSha1GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  657|       |
  658|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha224);                         // transformEcdsaSha224GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  659|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha256);                         // transformEcdsaSha256GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  660|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha384);                         // transformEcdsaSha384GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  661|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha512);                         // transformEcdsaSha512GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  662|       |
  663|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha3_224);                       // transformEcdsaSha3_224GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  664|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha3_256);                       // transformEcdsaSha3_256GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  665|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha3_384);                       // transformEcdsaSha3_384GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  666|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha3_512);                       // transformEcdsaSha3_512GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  667|       |
  668|      1|    XMLSEC_REGISTER_TRANSFORM(HmacMd5);                             // transformHmacMd5GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  669|       |
  670|      1|    XMLSEC_REGISTER_TRANSFORM(HmacRipemd160);                       // transformHmacRipemd160GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  671|       |
  672|      1|    XMLSEC_REGISTER_TRANSFORM(HmacSha1);                            // transformHmacSha1GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  673|       |
  674|      1|    XMLSEC_REGISTER_TRANSFORM(HmacSha224);                          // transformHmacSha224GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  675|      1|    XMLSEC_REGISTER_TRANSFORM(HmacSha256);                          // transformHmacSha256GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  676|      1|    XMLSEC_REGISTER_TRANSFORM(HmacSha384);                          // transformHmacSha384GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  677|      1|    XMLSEC_REGISTER_TRANSFORM(HmacSha512);                          // transformHmacSha512GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  678|       |
  679|      1|    XMLSEC_REGISTER_TRANSFORM(Md5);                                 // transformMd5GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  680|       |
  681|      1|    XMLSEC_REGISTER_TRANSFORM(MLDSA44);                             // transformMLDSA44GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  682|      1|    XMLSEC_REGISTER_TRANSFORM(MLDSA65);                             // transformMLDSA65GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  683|      1|    XMLSEC_REGISTER_TRANSFORM(MLDSA87);                             // transformMLDSA87GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  684|       |
  685|      1|    XMLSEC_REGISTER_TRANSFORM(MLKEM512);                            // transformMLKEM512GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  686|      1|    XMLSEC_REGISTER_TRANSFORM(MLKEM768);                            // transformMLKEM768GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  687|      1|    XMLSEC_REGISTER_TRANSFORM(MLKEM1024);                           // transformMLKEM1024GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  688|       |
  689|      1|    XMLSEC_REGISTER_TRANSFORM(Hkdf);                               // transformHkdfGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  690|      1|    XMLSEC_REGISTER_TRANSFORM(Pbkdf2);                              // transformPbkdf2GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  691|       |
  692|      1|    XMLSEC_REGISTER_TRANSFORM(Ripemd160);                           // transformRipemd160GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  693|       |
  694|      1|    XMLSEC_REGISTER_TRANSFORM(RsaMd5);                              // transformRsaMd5GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  695|       |
  696|      1|    XMLSEC_REGISTER_TRANSFORM(RsaRipemd160);                        // transformRsaRipemd160GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  697|       |
  698|      1|    XMLSEC_REGISTER_TRANSFORM(RsaSha1);                             // transformRsaSha1GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  699|       |
  700|      1|    XMLSEC_REGISTER_TRANSFORM(RsaSha224);                           // transformRsaSha224GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  701|      1|    XMLSEC_REGISTER_TRANSFORM(RsaSha256);                           // transformRsaSha256GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  702|      1|    XMLSEC_REGISTER_TRANSFORM(RsaSha384);                           // transformRsaSha384GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  703|      1|    XMLSEC_REGISTER_TRANSFORM(RsaSha512);                           // transformRsaSha512GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  704|       |
  705|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha1);                          // transformRsaPssSha1GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  706|       |
  707|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha224);                        // transformRsaPssSha224GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  708|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha256);                        // transformRsaPssSha256GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  709|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha384);                        // transformRsaPssSha384GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  710|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha512);                        // transformRsaPssSha512GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  711|       |
  712|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha3_224);                      // transformRsaPssSha3_224GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  713|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha3_256);                      // transformRsaPssSha3_256GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  714|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha3_384);                      // transformRsaPssSha3_384GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  715|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha3_512);                      // transformRsaPssSha3_512GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  716|       |
  717|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPkcs1);                            // transformRsaPkcs1GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  718|       |
  719|      1|    XMLSEC_REGISTER_TRANSFORM(RsaOaep);                             // transformRsaOaepGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  720|      1|    XMLSEC_REGISTER_TRANSFORM(RsaOaepEnc11);                        // transformRsaOaepEnc11GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  721|       |
  722|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_128f);                     // transformSLHDSA_SHA2_128fGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  723|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_128s);                     // transformSLHDSA_SHA2_128sGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  724|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_192f);                     // transformSLHDSA_SHA2_192fGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  725|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_192s);                     // transformSLHDSA_SHA2_192sGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  726|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_256f);                     // transformSLHDSA_SHA2_256fGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  727|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_256s);                     // transformSLHDSA_SHA2_256sGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  728|       |
  729|      1|    XMLSEC_REGISTER_TRANSFORM(EdDSAEd25519);                        // transformEdDSAEd25519GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  730|      1|    XMLSEC_REGISTER_TRANSFORM(EdDSAEd25519ctx);                     // transformEdDSAEd25519ctxGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  731|      1|    XMLSEC_REGISTER_TRANSFORM(EdDSAEd25519ph);                      // transformEdDSAEd25519phGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  732|      1|    XMLSEC_REGISTER_TRANSFORM(EdDSAEd448);                          // transformEdDSAEd448GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  733|      1|    XMLSEC_REGISTER_TRANSFORM(EdDSAEd448ph);                        // transformEdDSAEd448phGetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 0, False: 1]
  |  |  |  Branch (550:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  734|       |
  735|      1|    XMLSEC_REGISTER_TRANSFORM(Sha1);                                // transformSha1GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  736|       |
  737|      1|    XMLSEC_REGISTER_TRANSFORM(Sha224);                              // transformSha224GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  738|      1|    XMLSEC_REGISTER_TRANSFORM(Sha256);                              // transformSha256GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  739|      1|    XMLSEC_REGISTER_TRANSFORM(Sha384);                              // transformSha384GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  740|      1|    XMLSEC_REGISTER_TRANSFORM(Sha512);                              // transformSha512GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  741|       |
  742|      1|    XMLSEC_REGISTER_TRANSFORM(Sha3_224);                            // transformSha3_224GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  743|      1|    XMLSEC_REGISTER_TRANSFORM(Sha3_256);                            // transformSha3_256GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  744|      1|    XMLSEC_REGISTER_TRANSFORM(Sha3_384);                            // transformSha3_384GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  745|      1|    XMLSEC_REGISTER_TRANSFORM(Sha3_512);                            // transformSha3_512GetKlass
  ------------------
  |  |  550|      1|    if((functions->transform ## name ## GetKlass != NULL) && xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (550:8): [True: 1, False: 0]
  |  |  |  Branch (550:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  551|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   41|      0|                    (errorFunction),                        \
  |  |  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   44|      0|        )
  |  |  ------------------
  |  |  552|      0|        return(-1);                                                                                                                          \
  |  |  553|      0|    }                                                                                                                                        \
  ------------------
  746|       |
  747|       |    /* done */
  748|      1|    return(0);
  749|      1|}

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

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

xmlSecIOInit:
  155|      1|xmlSecIOInit(void) {
  156|      1|    int ret;
  157|       |
  158|      1|    ret = xmlSecPtrListInitialize(&xmlSecAllIOCallbacks, xmlSecIOCallbackPtrListId);
  ------------------
  |  |  110|      1|#define xmlSecIOCallbackPtrListId       xmlSecIOCallbackPtrListGetKlass ()
  ------------------
  159|      1|    if(ret < 0) {
  ------------------
  |  Branch (159:8): [True: 0, False: 1]
  ------------------
  160|      0|        xmlSecInternalError("xmlSecPtrListInitialize", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  161|      0|        return(-1);
  162|      0|    }
  163|       |
  164|       |#ifndef XMLSEC_NO_FTP
  165|       |    xmlNanoFTPInit();
  166|       |#endif /* XMLSEC_NO_FTP */
  167|       |
  168|       |#ifndef XMLSEC_NO_HTTP
  169|       |    xmlNanoHTTPInit();
  170|       |#endif /* #ifndef XMLSEC_NO_HTTP
  171|       | */
  172|       |
  173|      1|    ret = xmlSecIORegisterDefaultCallbacks();
  174|      1|    if(ret < 0) {
  ------------------
  |  Branch (174:8): [True: 0, False: 1]
  ------------------
  175|      0|        xmlSecInternalError("xmlSecIORegisterDefaultCallbacks", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      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);
  ------------------
  |  |  446|      1|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 1]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  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);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      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);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  240|      0|        xmlSecIOCallbackDestroy(callbacks);
  241|      0|        return(-1);
  242|      0|    }
  243|      1|    return(0);
  244|      1|}
xmlSecIORegisterDefaultCallbacks:
  396|      1|xmlSecIORegisterDefaultCallbacks(void) {
  397|      1|    int ret;
  398|       |
  399|      1|#ifndef XMLSEC_NO_FILES
  400|       |    /* Callbacks added later are picked up first */
  401|      1|    ret = xmlSecIORegisterCallbacks(
  402|      1|        xmlSecIOFileMatch,
  403|      1|        xmlSecIOFileOpen,
  404|      1|        xmlSecIOFileRead,
  405|      1|        xmlSecIOFilClose
  406|      1|    );
  407|      1|    if(ret < 0) {
  ------------------
  |  Branch (407:8): [True: 0, False: 1]
  ------------------
  408|      0|        xmlSecInternalError("xmlSecIORegisterCallbacks(file)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  409|      0|        return(-1);
  410|      0|    }
  411|      1|#endif /* XMLSEC_NO_FILES */
  412|       |
  413|       |#ifndef XMLSEC_NO_HTTP
  414|       |    ret = xmlSecIORegisterCallbacks(xmlIOHTTPMatch, xmlIOHTTPOpen,
  415|       |                              xmlIOHTTPRead, xmlIOHTTPClose);
  416|       |    if(ret < 0) {
  417|       |        xmlSecInternalError("xmlSecIORegisterCallbacks(http)", NULL);
  418|       |        return(-1);
  419|       |    }
  420|       |#endif /* XMLSEC_NO_HTTP */
  421|       |
  422|       |#ifndef XMLSEC_NO_FTP
  423|       |    ret = xmlSecIORegisterCallbacks(xmlIOFTPMatch, xmlIOFTPOpen,
  424|       |                              xmlIOFTPRead, xmlIOFTPClose);
  425|       |    if(ret < 0) {
  426|       |        xmlSecInternalError("xmlSecIORegisterCallbacks(ftp)", NULL);
  427|       |        return(-1);
  428|       |    }
  429|       |#endif /* XMLSEC_NO_FTP */
  430|       |
  431|       |    /* done */
  432|      1|    return(0);
  433|      1|}
io.c:xmlSecIOCallbackPtrListGetKlass:
  120|      1|xmlSecIOCallbackPtrListGetKlass(void) {
  121|      1|    return(&xmlSecIOCallbackPtrListKlass);
  122|      1|}
io.c:xmlSecIOCallbackCreate:
   68|      1|                       xmlInputReadCallback readFunc, xmlInputCloseCallback closeFunc) {
   69|      1|    xmlSecIOCallbackPtr callbacks;
   70|       |
   71|      1|    xmlSecAssert2(matchFunc != NULL, NULL);
  ------------------
  |  |  446|      1|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 1]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
   72|       |
   73|       |    /* Allocate a new xmlSecIOCallback and fill the fields. */
   74|      1|    callbacks = (xmlSecIOCallbackPtr)xmlMalloc(sizeof(xmlSecIOCallback));
   75|      1|    if(callbacks == NULL) {
  ------------------
  |  Branch (75:8): [True: 0, False: 1]
  ------------------
   76|      0|        xmlSecMallocError(sizeof(xmlSecIOCallback), NULL);
  ------------------
  |  |  104|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  105|      0|                    (const char*)(errorObject),             \
  |  |  106|      0|                    "xmlMalloc",                            \
  |  |  107|      0|                    XMLSEC_ERRORS_R_MALLOC_FAILED,          \
  |  |  ------------------
  |  |  |  |   37|      0|#define XMLSEC_ERRORS_R_MALLOC_FAILED                   2
  |  |  ------------------
  |  |  108|      0|                    "size=" XMLSEC_SIZE_T_FMT, (size_t)(allocSize) \
  |  |  ------------------
  |  |  |  |   74|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  ------------------
  |  |  109|      0|        )
  ------------------
   77|      0|        return(NULL);
   78|      0|    }
   79|      1|    memset(callbacks, 0, sizeof(xmlSecIOCallback));
   80|       |
   81|      1|    callbacks->matchcallback = matchFunc;
   82|      1|    callbacks->opencallback  = openFunc;
   83|      1|    callbacks->readcallback  = readFunc;
   84|      1|    callbacks->closecallback = closeFunc;
   85|       |
   86|      1|    return(callbacks);
   87|      1|}

xmlSecKeyDataNameGetKlass:
  640|      1|xmlSecKeyDataNameGetKlass(void) {
  641|      1|    return(&xmlSecKeyDataNameKlass);
  642|      1|}
xmlSecKeyDataValueGetKlass:
  818|     11|xmlSecKeyDataValueGetKlass(void) {
  819|     11|    return(&xmlSecKeyDataValueKlass);
  820|     11|}
xmlSecKeyDataRetrievalMethodGetKlass:
 1027|      1|xmlSecKeyDataRetrievalMethodGetKlass(void) {
 1028|      1|    return(&xmlSecKeyDataRetrievalMethodKlass);
 1029|      1|}
xmlSecKeyDataKeyInfoReferenceGetKlass:
 1336|      1|xmlSecKeyDataKeyInfoReferenceGetKlass(void) {
 1337|      1|    return(&xmlSecKeyDataKeyInfoReferenceKlass);
 1338|      1|}
xmlSecKeyDataEncryptedKeyGetKlass:
 1554|      1|xmlSecKeyDataEncryptedKeyGetKlass(void) {
 1555|      1|    return(&xmlSecKeyDataEncryptedKeyKlass);
 1556|      1|}
xmlSecKeyDataDerivedKeyGetKlass:
 1757|      1|xmlSecKeyDataDerivedKeyGetKlass(void) {
 1758|      1|    return(&xmlSecKeyDataDerivedKeyKlass);
 1759|      1|}
xmlSecKeyDataAgreementMethodGetKlass:
 1913|      1|xmlSecKeyDataAgreementMethodGetKlass(void) {
 1914|      1|    return(&xmlSecKeyDataAgreementMethodKlass);
 1915|      1|}

xmlSecKeyCreate:
  484|     30|xmlSecKeyCreate(void)  {
  485|     30|    xmlSecKeyPtr key;
  486|       |
  487|       |    /* Allocate a new xmlSecKey and fill the fields. */
  488|     30|    key = (xmlSecKeyPtr)xmlMalloc(sizeof(xmlSecKey));
  489|     30|    if(key == NULL) {
  ------------------
  |  Branch (489:8): [True: 0, False: 30]
  ------------------
  490|      0|        xmlSecMallocError(sizeof(xmlSecKey), NULL);
  ------------------
  |  |  104|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  105|      0|                    (const char*)(errorObject),             \
  |  |  106|      0|                    "xmlMalloc",                            \
  |  |  107|      0|                    XMLSEC_ERRORS_R_MALLOC_FAILED,          \
  |  |  ------------------
  |  |  |  |   37|      0|#define XMLSEC_ERRORS_R_MALLOC_FAILED                   2
  |  |  ------------------
  |  |  108|      0|                    "size=" XMLSEC_SIZE_T_FMT, (size_t)(allocSize) \
  |  |  ------------------
  |  |  |  |   74|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  ------------------
  |  |  109|      0|        )
  ------------------
  491|      0|        return(NULL);
  492|      0|    }
  493|     30|    memset(key, 0, sizeof(xmlSecKey));
  494|     30|    key->usage = xmlSecKeyUsageAny;
  ------------------
  |  |   77|     30|#define xmlSecKeyUsageAny               0xFFFFFFFF
  ------------------
  495|     30|    return(key);
  496|     30|}
xmlSecKeyEmpty:
  503|     30|xmlSecKeyEmpty(xmlSecKeyPtr key) {
  504|     30|    xmlSecAssert(key != NULL);
  ------------------
  |  |  431|     30|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (431:12): [True: 0, False: 30]
  |  |  ------------------
  |  |  432|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  433|      0|                        NULL, \
  |  |  434|      0|                        #p, \
  |  |  435|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  436|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  437|      0|            return; \
  |  |  438|      0|        }
  ------------------
  505|       |
  506|     30|    if(key->value != NULL) {
  ------------------
  |  Branch (506:8): [True: 29, False: 1]
  ------------------
  507|     29|        xmlSecKeyDataDestroy(key->value);
  508|     29|    }
  509|     30|    if(key->name != NULL) {
  ------------------
  |  Branch (509:8): [True: 5, False: 25]
  ------------------
  510|      5|        xmlFree(key->name);
  511|      5|    }
  512|     30|    if(key->dataList != NULL) {
  ------------------
  |  Branch (512:8): [True: 5, False: 25]
  ------------------
  513|      5|        xmlSecPtrListDestroy(key->dataList);
  514|      5|    }
  515|       |
  516|     30|    memset(key, 0, sizeof(xmlSecKey));
  517|     30|}
xmlSecKeyDestroy:
  525|     30|xmlSecKeyDestroy(xmlSecKeyPtr key) {
  526|     30|    xmlSecAssert(key != NULL);
  ------------------
  |  |  431|     30|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (431:12): [True: 0, False: 30]
  |  |  ------------------
  |  |  432|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  433|      0|                        NULL, \
  |  |  434|      0|                        #p, \
  |  |  435|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  436|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  437|      0|            return; \
  |  |  438|      0|        }
  ------------------
  527|       |
  528|     30|    xmlSecKeyEmpty(key);
  529|     30|    xmlFree(key);
  530|     30|}
xmlSecKeySetNameEx:
  732|      5|xmlSecKeySetNameEx(xmlSecKeyPtr key, const xmlChar* name, xmlSecSize nameSize) {
  733|      5|    xmlSecAssert2(key != NULL, -1);
  ------------------
  |  |  446|      5|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 5]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  734|       |
  735|      5|    if(key->name != NULL) {
  ------------------
  |  Branch (735:8): [True: 0, False: 5]
  ------------------
  736|      0|        xmlFree(key->name);
  737|      0|        key->name = NULL;
  738|      0|    }
  739|       |
  740|      5|    if((name != NULL) && (nameSize > 0)) {
  ------------------
  |  Branch (740:8): [True: 5, False: 0]
  |  Branch (740:26): [True: 5, False: 0]
  ------------------
  741|      5|        int nameLen;
  742|       |
  743|      5|        XMLSEC_SAFE_CAST_SIZE_TO_INT(nameSize, nameLen, return(-1), NULL);
  ------------------
  |  |  130|      5|    XMLSEC_SAFE_CAST_MAX_CHECK(xmlSecSize, (srcVal), XMLSEC_SIZE_FMT,          \
  |  |  ------------------
  |  |  |  |   45|      5|    if((srcVal) > (srcType)(dstMax)) {                                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (45:8): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   46|      0|        xmlSecImpossibleCastError(srcType, (srcVal), srcFmt,                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |  879|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  880|      0|                    (const char*)(errorObject),             \
  |  |  |  |  |  |  881|      0|                    NULL,                                   \
  |  |  |  |  |  |  882|      0|                    XMLSEC_ERRORS_R_CAST_IMPOSSIBLE,        \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  305|      0|#define XMLSEC_ERRORS_R_CAST_IMPOSSIBLE                 101
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  883|      0|                    "src-type=" #srcType "; src-val=" srcFmt  \
  |  |  |  |  |  |  884|      0|                    ";dst-type=" #dstType "; dst-min=" dstFmt \
  |  |  |  |  |  |  885|      0|                    ";dst-max=" dstFmt "",                  \
  |  |  |  |  |  |  886|      0|                    (srcVal), (dstMinVal), (dstMaxVal)      \
  |  |  |  |  |  |  887|      0|        )
  |  |  |  |  ------------------
  |  |  |  |   47|      0|            dstType, dstMin, dstMax, dstFmt, (errorObject));                   \
  |  |  |  |   48|      0|        errorAction;                                                           \
  |  |  |  |   49|      0|    }                                                                          \
  |  |  |  |   50|      5|    (dstVal) = (dstType)(srcVal);                                              \
  |  |  ------------------
  |  |  131|      5|        int, (dstVal), "%d", INT_MIN, INT_MAX,                                 \
  |  |  132|      5|        errorAction, (errorObject))
  ------------------
  744|      5|        key->name = xmlStrndup(name, nameLen);
  745|      5|        if(key->name == NULL) {
  ------------------
  |  Branch (745:12): [True: 0, False: 5]
  ------------------
  746|      0|            xmlSecStrdupError(name, NULL);
  ------------------
  |  |  118|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  119|      0|                    (const char*)(errorObject),             \
  |  |  120|      0|                    "xmlStrdup",                            \
  |  |  121|      0|                    XMLSEC_ERRORS_R_STRDUP_FAILED,          \
  |  |  ------------------
  |  |  |  |   42|      0|#define XMLSEC_ERRORS_R_STRDUP_FAILED                   3
  |  |  ------------------
  |  |  122|      0|                    "size=%d", xmlStrlen(str)               \
  |  |  123|      0|        )
  ------------------
  747|      0|            return(-1);
  748|      0|        }
  749|      5|    }
  750|       |
  751|      5|    return(0);
  752|      5|}
xmlSecKeySetValue:
  777|     29|xmlSecKeySetValue(xmlSecKeyPtr key, xmlSecKeyDataPtr value) {
  778|     29|    xmlSecAssert2(key != NULL, -1);
  ------------------
  |  |  446|     29|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 29]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  779|       |
  780|     29|    if(key->value != NULL) {
  ------------------
  |  Branch (780:8): [True: 0, False: 29]
  ------------------
  781|      0|        xmlSecKeyDataDestroy(key->value);
  782|      0|        key->value = NULL;
  783|      0|    }
  784|     29|    key->value = value;
  785|       |
  786|     29|    return(0);
  787|     29|}
xmlSecKeyGetData:
  815|      5|xmlSecKeyGetData(xmlSecKeyPtr key, xmlSecKeyDataId dataId) {
  816|       |
  817|      5|    xmlSecAssert2(key != NULL, NULL);
  ------------------
  |  |  446|      5|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 5]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  818|      5|    xmlSecAssert2(dataId != xmlSecKeyDataIdUnknown, NULL);
  ------------------
  |  |  446|      5|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 5]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  819|       |
  820|       |    /* special cases */
  821|      5|    if(dataId == xmlSecKeyDataValueId) {
  ------------------
  |  |  237|      5|#define xmlSecKeyDataValueId            xmlSecKeyDataValueGetKlass()
  ------------------
  |  Branch (821:8): [True: 0, False: 5]
  ------------------
  822|      0|        return(key->value);
  823|      5|    } else if(key->dataList != NULL) {
  ------------------
  |  Branch (823:15): [True: 0, False: 5]
  ------------------
  824|      0|        xmlSecKeyDataPtr tmp;
  825|      0|        xmlSecSize pos, size;
  826|       |
  827|      0|        size = xmlSecPtrListGetSize(key->dataList);
  828|      0|        for(pos = 0; pos < size; ++pos) {
  ------------------
  |  Branch (828:22): [True: 0, False: 0]
  ------------------
  829|      0|            tmp = (xmlSecKeyDataPtr)xmlSecPtrListGetItem(key->dataList, pos);
  830|      0|            if((tmp != NULL) && (tmp->id == dataId)) {
  ------------------
  |  Branch (830:16): [True: 0, False: 0]
  |  Branch (830:33): [True: 0, False: 0]
  ------------------
  831|      0|                return(tmp);
  832|      0|            }
  833|      0|        }
  834|      0|    }
  835|      5|    return(NULL);
  836|      5|}
xmlSecKeyEnsureData:
  847|      5|xmlSecKeyEnsureData(xmlSecKeyPtr key, xmlSecKeyDataId dataId) {
  848|      5|    xmlSecKeyDataPtr data;
  849|      5|    int ret;
  850|       |
  851|      5|    xmlSecAssert2(key != NULL, NULL);
  ------------------
  |  |  446|      5|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 5]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  852|      5|    xmlSecAssert2(dataId != xmlSecKeyDataIdUnknown, NULL);
  ------------------
  |  |  446|      5|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 5]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  853|       |
  854|      5|    data = xmlSecKeyGetData(key, dataId);
  855|      5|    if(data != NULL) {
  ------------------
  |  Branch (855:8): [True: 0, False: 5]
  ------------------
  856|      0|        return(data);
  857|      0|    }
  858|       |
  859|      5|    data = xmlSecKeyDataCreate(dataId);
  860|      5|    if(data == NULL) {
  ------------------
  |  Branch (860:8): [True: 0, False: 5]
  ------------------
  861|      0|        xmlSecInternalError2("xmlSecKeyDataCreate", NULL,
  ------------------
  |  |   55|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   56|      0|                    (const char*)(errorObject),             \
  |  |   57|      0|                    (errorFunction),                        \
  |  |   58|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   59|      0|                    (msg), (param)                          \
  |  |  ------------------
  |  |  |  Branch (59:29): [True: 0, False: 0]
  |  |  |  Branch (59:29): [True: 0, False: 0]
  |  |  |  Branch (59:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|        )
  ------------------
  862|      0|                             "dataId=%s",
  863|      0|                             xmlSecErrorsSafeString(xmlSecKeyDataKlassGetName(dataId)));
  864|      0|        return(NULL);
  865|      0|    }
  866|       |
  867|      5|    ret = xmlSecKeyAdoptData(key, data);
  868|      5|    if(ret < 0) {
  ------------------
  |  Branch (868:8): [True: 0, False: 5]
  ------------------
  869|      0|        xmlSecInternalError2("xmlSecKeyAdoptData", NULL,
  ------------------
  |  |   55|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   56|      0|                    (const char*)(errorObject),             \
  |  |   57|      0|                    (errorFunction),                        \
  |  |   58|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   59|      0|                    (msg), (param)                          \
  |  |  ------------------
  |  |  |  Branch (59:29): [True: 0, False: 0]
  |  |  |  Branch (59:29): [True: 0, False: 0]
  |  |  |  Branch (59:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|        )
  ------------------
  870|      0|                             "dataId=%s",
  871|      0|                             xmlSecErrorsSafeString(xmlSecKeyDataKlassGetName(dataId)));
  872|      0|        xmlSecKeyDataDestroy(data);
  873|      0|        return(NULL);
  874|      0|    }
  875|       |
  876|      5|    return(data);
  877|      5|}
xmlSecKeyAdoptData:
  889|      5|xmlSecKeyAdoptData(xmlSecKeyPtr key, xmlSecKeyDataPtr data) {
  890|      5|    xmlSecKeyDataPtr tmp;
  891|      5|    xmlSecSize pos, size;
  892|       |
  893|      5|    xmlSecAssert2(key != NULL, -1);
  ------------------
  |  |  446|      5|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 5]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  894|      5|    xmlSecAssert2(xmlSecKeyDataIsValid(data), -1);
  ------------------
  |  |  446|     40|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:15): [True: 5, False: 0]
  |  |  |  Branch (446:15): [True: 5, False: 0]
  |  |  |  Branch (446:15): [True: 5, False: 0]
  |  |  |  Branch (446:15): [True: 5, False: 0]
  |  |  |  Branch (446:15): [True: 5, False: 0]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  895|       |
  896|       |    /* special cases */
  897|      5|    if(data->id == xmlSecKeyDataValueId) {
  ------------------
  |  |  237|      5|#define xmlSecKeyDataValueId            xmlSecKeyDataValueGetKlass()
  ------------------
  |  Branch (897:8): [True: 0, False: 5]
  ------------------
  898|      0|        if(key->value != NULL) {
  ------------------
  |  Branch (898:12): [True: 0, False: 0]
  ------------------
  899|      0|            xmlSecKeyDataDestroy(key->value);
  900|      0|        }
  901|      0|        key->value = data;
  902|      0|        return(0);
  903|      0|    }
  904|       |
  905|      5|    if(key->dataList == NULL) {
  ------------------
  |  Branch (905:8): [True: 5, False: 0]
  ------------------
  906|      5|        key->dataList = xmlSecPtrListCreate(xmlSecKeyDataListId);
  ------------------
  |  |  542|      5|#define xmlSecKeyDataListId     xmlSecKeyDataListGetKlass()
  ------------------
  907|      5|        if(key->dataList == NULL) {
  ------------------
  |  Branch (907:12): [True: 0, False: 5]
  ------------------
  908|      0|            xmlSecInternalError("xmlSecPtrListCreate", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  909|      0|            return(-1);
  910|      0|        }
  911|      5|    }
  912|       |
  913|       |
  914|      5|    size = xmlSecPtrListGetSize(key->dataList);
  915|      5|    for(pos = 0; pos < size; ++pos) {
  ------------------
  |  Branch (915:18): [True: 0, False: 5]
  ------------------
  916|      0|        tmp = (xmlSecKeyDataPtr)xmlSecPtrListGetItem(key->dataList, pos);
  917|      0|        if((tmp != NULL) && (tmp->id == data->id)) {
  ------------------
  |  Branch (917:12): [True: 0, False: 0]
  |  Branch (917:29): [True: 0, False: 0]
  ------------------
  918|      0|            return(xmlSecPtrListSet(key->dataList, data, pos));
  919|      0|        }
  920|      0|    }
  921|       |
  922|      5|    return(xmlSecPtrListAdd(key->dataList, data));
  923|      5|}

xmlSecKeyDataIdsInit:
   71|      1|xmlSecKeyDataIdsInit(void) {
   72|      1|    int ret;
   73|       |
   74|      1|    ret = xmlSecPtrListInitialize(&xmlSecAllKeyDataIds, xmlSecKeyDataIdListId);
  ------------------
  |  |  553|      1|#define xmlSecKeyDataIdListId   xmlSecKeyDataIdListGetKlass()
  ------------------
   75|      1|    if(ret < 0) {
  ------------------
  |  Branch (75:8): [True: 0, False: 1]
  ------------------
   76|      0|        xmlSecInternalError("xmlSecPtrListInitialize(xmlSecKeyDataIdListId)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
   77|      0|        return(-1);
   78|      0|    }
   79|       |
   80|      1|    ret = xmlSecPtrListInitialize(&xmlSecEnabledKeyDataIds, xmlSecKeyDataIdListId);
  ------------------
  |  |  553|      1|#define xmlSecKeyDataIdListId   xmlSecKeyDataIdListGetKlass()
  ------------------
   81|      1|    if(ret < 0) {
  ------------------
  |  Branch (81:8): [True: 0, False: 1]
  ------------------
   82|      0|        xmlSecInternalError("xmlSecPtrListInitialize(xmlSecKeyDataIdListId)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
   83|      0|        return(-1);
   84|      0|    }
   85|       |
   86|      1|    ret = xmlSecKeyDataIdsRegisterDefault();
   87|      1|    if(ret < 0) {
  ------------------
  |  Branch (87:8): [True: 0, False: 1]
  ------------------
   88|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDefault", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
   89|      0|        return(-1);
   90|      0|    }
   91|       |
   92|      1|    return(0);
   93|      1|}
xmlSecKeyDataIdsRegister:
  114|      8|xmlSecKeyDataIdsRegister(xmlSecKeyDataId id) {
  115|      8|    int ret;
  116|       |
  117|      8|    xmlSecAssert2(id != xmlSecKeyDataIdUnknown, -1);
  ------------------
  |  |  446|      8|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 8]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  118|       |
  119|      8|    ret = xmlSecPtrListAdd(&xmlSecAllKeyDataIds, (xmlSecPtr)id);
  120|      8|    if(ret < 0) {
  ------------------
  |  Branch (120:8): [True: 0, False: 8]
  ------------------
  121|      0|        xmlSecInternalError("xmlSecPtrListAdd(&xmlSecAllKeyDataIds)", xmlSecKeyDataKlassGetName(id));
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  122|      0|        return(-1);
  123|      0|    }
  124|       |
  125|      8|    ret = xmlSecPtrListAdd(&xmlSecEnabledKeyDataIds, (xmlSecPtr)id);
  126|      8|    if(ret < 0) {
  ------------------
  |  Branch (126:8): [True: 0, False: 8]
  ------------------
  127|      0|        xmlSecInternalError("xmlSecPtrListAdd(&xmlSecEnabledKeyDataIds)", xmlSecKeyDataKlassGetName(id));
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  128|      0|        return(-1);
  129|      0|    }
  130|       |
  131|      8|    return(0);
  132|      8|}
xmlSecKeyDataIdsRegisterDisabled:
  142|     15|xmlSecKeyDataIdsRegisterDisabled(xmlSecKeyDataId id) {
  143|     15|    int ret;
  144|       |
  145|     15|    xmlSecAssert2(id != xmlSecKeyDataIdUnknown, -1);
  ------------------
  |  |  446|     15|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 15]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  146|       |
  147|     15|    ret = xmlSecPtrListAdd(&xmlSecAllKeyDataIds, (xmlSecPtr)id);
  148|     15|    if(ret < 0) {
  ------------------
  |  Branch (148:8): [True: 0, False: 15]
  ------------------
  149|      0|        xmlSecInternalError("xmlSecPtrListAdd(&xmlSecAllKeyDataIds)", xmlSecKeyDataKlassGetName(id));
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  150|      0|        return(-1);
  151|      0|    }
  152|       |
  153|     15|    return(0);
  154|     15|}
xmlSecKeyDataIdsRegisterDefault:
  165|      1|xmlSecKeyDataIdsRegisterDefault(void) {
  166|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataNameId) < 0) {
  ------------------
  |  |  231|      1|#define xmlSecKeyDataNameId             xmlSecKeyDataNameGetKlass()
  ------------------
  |  Branch (166:8): [True: 0, False: 1]
  ------------------
  167|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister(xmlSecKeyDataNameId)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  168|      0|        return(-1);
  169|      0|    }
  170|       |
  171|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataRetrievalMethodId) < 0) {
  ------------------
  |  |  243|      1|#define xmlSecKeyDataRetrievalMethodId  xmlSecKeyDataRetrievalMethodGetKlass()
  ------------------
  |  Branch (171:8): [True: 0, False: 1]
  ------------------
  172|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister(xmlSecKeyDataRetrievalMethodId)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  173|      0|        return(-1);
  174|      0|    }
  175|       |
  176|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataKeyInfoReferenceId) < 0) {
  ------------------
  |  |  249|      1|#define xmlSecKeyDataKeyInfoReferenceId xmlSecKeyDataKeyInfoReferenceGetKlass()
  ------------------
  |  Branch (176:8): [True: 0, False: 1]
  ------------------
  177|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister(xmlSecKeyDataKeyInfoReferenceId)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  178|      0|        return(-1);
  179|      0|    }
  180|       |
  181|      1|#ifndef XMLSEC_NO_XMLENC
  182|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataEncryptedKeyId) < 0) {
  ------------------
  |  |  256|      1|#define xmlSecKeyDataEncryptedKeyId     xmlSecKeyDataEncryptedKeyGetKlass()
  ------------------
  |  Branch (182:8): [True: 0, False: 1]
  ------------------
  183|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister(xmlSecKeyDataEncryptedKeyId)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  184|      0|        return(-1);
  185|      0|    }
  186|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataAgreementMethodId) < 0) {
  ------------------
  |  |  262|      1|#define xmlSecKeyDataAgreementMethodId  xmlSecKeyDataAgreementMethodGetKlass()
  ------------------
  |  Branch (186:8): [True: 0, False: 1]
  ------------------
  187|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister(xmlSecKeyDataAgreementMethodId)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  188|      0|        return(-1);
  189|      0|    }
  190|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataDerivedKeyId) < 0) {
  ------------------
  |  |  268|      1|#define xmlSecKeyDataDerivedKeyId       xmlSecKeyDataDerivedKeyGetKlass()
  ------------------
  |  Branch (190:8): [True: 0, False: 1]
  ------------------
  191|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister(xmlSecKeyDataDerivedKeyId)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  192|      0|        return(-1);
  193|      0|    }
  194|       |    /* EXPERIMENTAL and should NOT be used in production */
  195|       | #ifndef XMLSEC_NO_MLKEM
  196|       |    if(xmlSecKeyDataIdsRegisterDisabled(xmlSecKeyDataEncapsulationMechanismId) < 0) {
  197|       |        xmlSecInternalError("xmlSecKeyDataIdsRegister(xmlSecKeyDataEncapsulationMechanismId)", NULL);
  198|       |        return(-1);
  199|       |    }
  200|       |#endif /* XMLSEC_NO_MLKEM */
  201|       |
  202|      1|#endif /* XMLSEC_NO_XMLENC */
  203|       |
  204|       |    /* KeyValue key data should not be used in production w/o understanding of the security risks */
  205|      1|    if(xmlSecKeyDataIdsRegisterDisabled(xmlSecKeyDataValueId) < 0) {
  ------------------
  |  |  237|      1|#define xmlSecKeyDataValueId            xmlSecKeyDataValueGetKlass()
  ------------------
  |  Branch (205:8): [True: 0, False: 1]
  ------------------
  206|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister(xmlSecKeyDataValueId)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  207|      0|        return(-1);
  208|      0|    }
  209|       |
  210|      1|    return(0);
  211|      1|}
xmlSecKeyDataCreate:
  229|     34|xmlSecKeyDataCreate(xmlSecKeyDataId id)  {
  230|     34|    xmlSecKeyDataPtr data;
  231|     34|    int ret;
  232|       |
  233|     34|    xmlSecAssert2(id != NULL, NULL);
  ------------------
  |  |  446|     34|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 34]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  234|     34|    xmlSecAssert2(id->klassSize >= sizeof(xmlSecKeyDataKlass), NULL);
  ------------------
  |  |  446|     34|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 34]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  235|     34|    xmlSecAssert2(id->objSize >= sizeof(xmlSecKeyData), NULL);
  ------------------
  |  |  446|     34|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 34]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  236|     34|    xmlSecAssert2(id->name != NULL, NULL);
  ------------------
  |  |  446|     34|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 34]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  237|       |
  238|       |    /* Allocate a new xmlSecKeyData and fill the fields. */
  239|     34|    data = (xmlSecKeyDataPtr)xmlMalloc(id->objSize);
  240|     34|    if(data == NULL) {
  ------------------
  |  Branch (240:8): [True: 0, False: 34]
  ------------------
  241|      0|        xmlSecMallocError(id->objSize,
  ------------------
  |  |  104|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  105|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (105:35): [True: 0, False: 0]
  |  |  ------------------
  |  |  106|      0|                    "xmlMalloc",                            \
  |  |  107|      0|                    XMLSEC_ERRORS_R_MALLOC_FAILED,          \
  |  |  ------------------
  |  |  |  |   37|      0|#define XMLSEC_ERRORS_R_MALLOC_FAILED                   2
  |  |  ------------------
  |  |  108|      0|                    "size=" XMLSEC_SIZE_T_FMT, (size_t)(allocSize) \
  |  |  ------------------
  |  |  |  |   74|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  ------------------
  |  |  109|      0|        )
  ------------------
  242|      0|                          xmlSecKeyDataKlassGetName(id));
  243|      0|        return(NULL);
  244|      0|    }
  245|     34|    memset(data, 0, id->objSize);
  246|     34|    data->id = id;
  247|       |
  248|     34|    if(id->initialize != NULL) {
  ------------------
  |  Branch (248:8): [True: 34, False: 0]
  ------------------
  249|     34|        ret = (id->initialize)(data);
  250|     34|        if(ret < 0) {
  ------------------
  |  Branch (250:12): [True: 0, False: 34]
  ------------------
  251|      0|            xmlSecInternalError("id->initialize",
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  252|      0|                                xmlSecKeyDataKlassGetName(id));
  253|      0|            xmlSecKeyDataDestroy(data);
  254|      0|            return(NULL);
  255|      0|        }
  256|     34|    }
  257|       |
  258|     34|    return(data);
  259|     34|}
xmlSecKeyDataDestroy:
  301|     34|xmlSecKeyDataDestroy(xmlSecKeyDataPtr data) {
  302|     34|    xmlSecAssert(xmlSecKeyDataIsValid(data));
  ------------------
  |  |  431|    272|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (431:15): [True: 34, False: 0]
  |  |  |  Branch (431:15): [True: 34, False: 0]
  |  |  |  Branch (431:15): [True: 34, False: 0]
  |  |  |  Branch (431:15): [True: 34, False: 0]
  |  |  |  Branch (431:15): [True: 34, False: 0]
  |  |  ------------------
  |  |  432|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  433|      0|                        NULL, \
  |  |  434|      0|                        #p, \
  |  |  435|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  436|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  437|      0|            return; \
  |  |  438|      0|        }
  ------------------
  303|     34|    xmlSecAssert(data->id->objSize > 0);
  ------------------
  |  |  431|     34|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (431:12): [True: 0, False: 34]
  |  |  ------------------
  |  |  432|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  433|      0|                        NULL, \
  |  |  434|      0|                        #p, \
  |  |  435|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  436|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  437|      0|            return; \
  |  |  438|      0|        }
  ------------------
  304|       |
  305|     34|    if(data->id->finalize != NULL) {
  ------------------
  |  Branch (305:8): [True: 34, False: 0]
  ------------------
  306|     34|        (data->id->finalize)(data);
  307|     34|    }
  308|     34|    xmlSecMemCleanse(data, data->id->objSize);
  309|     34|    xmlFree(data);
  310|     34|}
xmlSecKeyDataListGetKlass:
  509|      5|xmlSecKeyDataListGetKlass(void) {
  510|      5|    return(&xmlSecKeyDataListKlass);
  511|      5|}
xmlSecKeyDataIdListGetKlass:
  533|      2|xmlSecKeyDataIdListGetKlass(void) {
  534|      2|    return(&xmlSecKeyDataIdListKlass);
  535|      2|}

xmlSecPtrListCreate:
   53|      5|xmlSecPtrListCreate(xmlSecPtrListId id) {
   54|      5|    xmlSecPtrListPtr list;
   55|      5|    int ret;
   56|       |
   57|      5|    xmlSecAssert2(id != xmlSecPtrListIdUnknown, NULL);
  ------------------
  |  |  446|      5|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 5]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
   58|       |
   59|       |    /* Allocate a new xmlSecPtrList and fill the fields. */
   60|      5|    list = (xmlSecPtrListPtr)xmlMalloc(sizeof(xmlSecPtrList));
   61|      5|    if(list == NULL) {
  ------------------
  |  Branch (61:8): [True: 0, False: 5]
  ------------------
   62|      0|        xmlSecMallocError(sizeof(xmlSecPtrList),
  ------------------
  |  |  104|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  105|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (105:35): [True: 0, False: 0]
  |  |  ------------------
  |  |  106|      0|                    "xmlMalloc",                            \
  |  |  107|      0|                    XMLSEC_ERRORS_R_MALLOC_FAILED,          \
  |  |  ------------------
  |  |  |  |   37|      0|#define XMLSEC_ERRORS_R_MALLOC_FAILED                   2
  |  |  ------------------
  |  |  108|      0|                    "size=" XMLSEC_SIZE_T_FMT, (size_t)(allocSize) \
  |  |  ------------------
  |  |  |  |   74|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  ------------------
  |  |  109|      0|        )
  ------------------
   63|      0|                          xmlSecPtrListKlassGetName(id));
   64|      0|        return(NULL);
   65|      0|    }
   66|       |
   67|      5|    ret = xmlSecPtrListInitialize(list, id);
   68|      5|    if(ret < 0) {
  ------------------
  |  Branch (68:8): [True: 0, False: 5]
  ------------------
   69|      0|        xmlSecInternalError("xmlSecPtrListInitialize",
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
   70|      0|                            xmlSecPtrListKlassGetName(id));
   71|      0|        xmlFree(list);
   72|      0|        return(NULL);
   73|      0|    }
   74|       |
   75|      5|    return(list);
   76|      5|}
xmlSecPtrListDestroy:
   84|      5|xmlSecPtrListDestroy(xmlSecPtrListPtr list) {
   85|      5|    xmlSecAssert(xmlSecPtrListIsValid(list));
  ------------------
  |  |  431|     10|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (431:15): [True: 5, False: 0]
  |  |  |  Branch (431:15): [True: 5, False: 0]
  |  |  ------------------
  |  |  432|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  433|      0|                        NULL, \
  |  |  434|      0|                        #p, \
  |  |  435|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  436|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  437|      0|            return; \
  |  |  438|      0|        }
  ------------------
   86|      5|    xmlSecPtrListFinalize(list);
   87|      5|    xmlFree(list);
   88|      5|}
xmlSecPtrListInitialize:
   99|      9|xmlSecPtrListInitialize(xmlSecPtrListPtr list, xmlSecPtrListId id) {
  100|      9|    xmlSecAssert2(id != xmlSecPtrListIdUnknown, -1);
  ------------------
  |  |  446|      9|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 9]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  101|      9|    xmlSecAssert2(list != NULL, -1);
  ------------------
  |  |  446|      9|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 9]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  102|       |
  103|      9|    memset(list, 0, sizeof(xmlSecPtrList));
  104|      9|    list->id = id;
  105|      9|    list->allocMode = gAllocMode;
  106|       |
  107|      9|    return(0);
  108|      9|}
xmlSecPtrListFinalize:
  116|      5|xmlSecPtrListFinalize(xmlSecPtrListPtr list) {
  117|      5|    xmlSecAssert(xmlSecPtrListIsValid(list));
  ------------------
  |  |  431|     10|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (431:15): [True: 5, False: 0]
  |  |  |  Branch (431:15): [True: 5, False: 0]
  |  |  ------------------
  |  |  432|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  433|      0|                        NULL, \
  |  |  434|      0|                        #p, \
  |  |  435|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  436|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  437|      0|            return; \
  |  |  438|      0|        }
  ------------------
  118|       |
  119|      5|    xmlSecPtrListEmpty(list);
  120|      5|    memset(list, 0, sizeof(xmlSecPtrList));
  121|      5|}
xmlSecPtrListEmpty:
  128|      5|xmlSecPtrListEmpty(xmlSecPtrListPtr list) {
  129|      5|    xmlSecAssert(xmlSecPtrListIsValid(list));
  ------------------
  |  |  431|     10|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (431:15): [True: 5, False: 0]
  |  |  |  Branch (431:15): [True: 5, False: 0]
  |  |  ------------------
  |  |  432|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  433|      0|                        NULL, \
  |  |  434|      0|                        #p, \
  |  |  435|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  436|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  437|      0|            return; \
  |  |  438|      0|        }
  ------------------
  130|       |
  131|      5|    if(list->id->destroyItem != NULL) {
  ------------------
  |  Branch (131:8): [True: 5, False: 0]
  ------------------
  132|      5|        xmlSecSize pos;
  133|       |
  134|     10|        for(pos = 0; pos < list->use; ++pos) {
  ------------------
  |  Branch (134:22): [True: 5, False: 5]
  ------------------
  135|      5|            xmlSecAssert(list->data != NULL);
  ------------------
  |  |  431|      5|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (431:12): [True: 0, False: 5]
  |  |  ------------------
  |  |  432|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  433|      0|                        NULL, \
  |  |  434|      0|                        #p, \
  |  |  435|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  436|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  437|      0|            return; \
  |  |  438|      0|        }
  ------------------
  136|      5|            if(list->data[pos] != NULL) {
  ------------------
  |  Branch (136:16): [True: 5, False: 0]
  ------------------
  137|      5|                list->id->destroyItem(list->data[pos]);
  138|      5|            }
  139|      5|        }
  140|      5|    }
  141|      5|    if(list->max > 0) {
  ------------------
  |  Branch (141:8): [True: 5, False: 0]
  ------------------
  142|      5|        xmlSecAssert(list->data != NULL);
  ------------------
  |  |  431|      5|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (431:12): [True: 0, False: 5]
  |  |  ------------------
  |  |  432|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  433|      0|                        NULL, \
  |  |  434|      0|                        #p, \
  |  |  435|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  436|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  437|      0|            return; \
  |  |  438|      0|        }
  ------------------
  143|       |
  144|      5|        memset(list->data, 0, sizeof(xmlSecPtr) * list->use);
  145|      5|        xmlFree(list->data);
  146|      5|    }
  147|      5|    list->max = list->use = 0;
  148|       |    list->data = NULL;
  149|      5|}
xmlSecPtrListGetSize:
  247|      5|xmlSecPtrListGetSize(xmlSecPtrListPtr list) {
  248|      5|    xmlSecAssert2(xmlSecPtrListIsValid(list), 0);
  ------------------
  |  |  446|     10|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:15): [True: 5, False: 0]
  |  |  |  Branch (446:15): [True: 5, False: 0]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  249|       |
  250|      5|    return(list->use);
  251|      5|}
xmlSecPtrListAdd:
  280|    125|xmlSecPtrListAdd(xmlSecPtrListPtr list, xmlSecPtr item) {
  281|    125|    int ret;
  282|       |
  283|    125|    xmlSecAssert2(xmlSecPtrListIsValid(list), -1);
  ------------------
  |  |  446|    250|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:15): [True: 125, False: 0]
  |  |  |  Branch (446:15): [True: 125, False: 0]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  284|       |
  285|    125|    ret = xmlSecPtrListEnsureSize(list, list->use + 1);
  286|    125|    if(ret < 0) {
  ------------------
  |  Branch (286:8): [True: 0, False: 125]
  ------------------
  287|      0|        xmlSecInternalError2("xmlSecPtrListEnsureSize", xmlSecPtrListGetName(list),
  ------------------
  |  |   55|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   56|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (56:35): [True: 0, False: 0]
  |  |  |  Branch (56:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   57|      0|                    (errorFunction),                        \
  |  |   58|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   59|      0|                    (msg), (param)                          \
  |  |   60|      0|        )
  ------------------
  288|      0|            "size=" XMLSEC_SIZE_FMT, list->use + 1);
  289|      0|        return(-1);
  290|      0|    }
  291|       |
  292|    125|    list->data[list->use++] = item;
  293|    125|    return(0);
  294|    125|}
list.c:xmlSecPtrListEnsureSize:
  470|    125|xmlSecPtrListEnsureSize(xmlSecPtrListPtr list, xmlSecSize size) {
  471|    125|    xmlSecPtr* newData;
  472|    125|    xmlSecSize newSize = 0;
  473|       |
  474|    125|    xmlSecAssert2(xmlSecPtrListIsValid(list), -1);
  ------------------
  |  |  446|    250|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:15): [True: 125, False: 0]
  |  |  |  Branch (446:15): [True: 125, False: 0]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  475|       |
  476|    125|    if(size <= list->max) {
  ------------------
  |  Branch (476:8): [True: 115, False: 10]
  ------------------
  477|    115|        return(0);
  478|    115|    }
  479|       |
  480|     10|    switch(list->allocMode) {
  481|      0|        case xmlSecAllocModeExact:
  ------------------
  |  Branch (481:9): [True: 0, False: 10]
  ------------------
  482|      0|            if(size > (XMLSEC_SIZE_MAX - 8)) {
  ------------------
  |  |   89|      0|#define XMLSEC_SIZE_MAX                         SIZE_MAX
  ------------------
  |  Branch (482:16): [True: 0, False: 0]
  ------------------
  483|      0|                xmlSecInvalidSizeError("size", size, (XMLSEC_SIZE_MAX - 8), NULL);
  ------------------
  |  |  288|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  289|      0|                    (const char*)(errorObject),             \
  |  |  290|      0|                    NULL,                                   \
  |  |  291|      0|                    XMLSEC_ERRORS_R_INVALID_SIZE,           \
  |  |  ------------------
  |  |  |  |   83|      0|#define XMLSEC_ERRORS_R_INVALID_SIZE                    11
  |  |  ------------------
  |  |  292|      0|                    "invalid size for '%s': actual=" XMLSEC_SIZE_FMT " is not equal to expected=" XMLSEC_SIZE_FMT, \
  |  |  ------------------
  |  |  |  |   93|      0|#define XMLSEC_SIZE_FMT                         XMLSEC_SIZE_T_FMT
  |  |  |  |  ------------------
  |  |  |  |  |  |   74|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  293|      0|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  405|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  294|      0|                    (actual),                               \
  |  |  295|      0|                    (expected)                              \
  |  |  296|      0|        )
  ------------------
  484|      0|                return(-1);
  485|      0|            }
  486|      0|            newSize = size + 8;
  487|      0|            break;
  488|     10|        case xmlSecAllocModeDouble:
  ------------------
  |  Branch (488:9): [True: 10, False: 0]
  ------------------
  489|     10|            if(size > ((XMLSEC_SIZE_MAX - 32) / 2)) {
  ------------------
  |  |   89|     10|#define XMLSEC_SIZE_MAX                         SIZE_MAX
  ------------------
  |  Branch (489:16): [True: 0, False: 10]
  ------------------
  490|      0|                xmlSecInvalidSizeError("size", size, ((XMLSEC_SIZE_MAX - 32) / 2), NULL);
  ------------------
  |  |  288|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  289|      0|                    (const char*)(errorObject),             \
  |  |  290|      0|                    NULL,                                   \
  |  |  291|      0|                    XMLSEC_ERRORS_R_INVALID_SIZE,           \
  |  |  ------------------
  |  |  |  |   83|      0|#define XMLSEC_ERRORS_R_INVALID_SIZE                    11
  |  |  ------------------
  |  |  292|      0|                    "invalid size for '%s': actual=" XMLSEC_SIZE_FMT " is not equal to expected=" XMLSEC_SIZE_FMT, \
  |  |  ------------------
  |  |  |  |   93|      0|#define XMLSEC_SIZE_FMT                         XMLSEC_SIZE_T_FMT
  |  |  |  |  ------------------
  |  |  |  |  |  |   74|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  293|      0|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  405|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  294|      0|                    (actual),                               \
  |  |  295|      0|                    (expected)                              \
  |  |  296|      0|        )
  ------------------
  491|      0|                return(-1);
  492|      0|            }
  493|     10|            newSize = 2 * size + 32;
  494|     10|            break;
  495|      0|        default:
  ------------------
  |  Branch (495:9): [True: 0, False: 10]
  ------------------
  496|       |            /* an invalid/corrupted allocation mode must not silently fall through
  497|       |             * to a clamped (and possibly insufficient) capacity */
  498|      0|            xmlSecUnsupportedEnumValueError("alloc mode", list->allocMode, NULL);
  ------------------
  |  |  574|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  575|      0|                    (const char*)(errorObject),             \
  |  |  576|      0|                    NULL,                                   \
  |  |  577|      0|                    XMLSEC_ERRORS_R_INVALID_TYPE,           \
  |  |  ------------------
  |  |  |  |   98|      0|#define XMLSEC_ERRORS_R_INVALID_TYPE                    14
  |  |  ------------------
  |  |  578|      0|                    "unsupported value for '%s': " XMLSEC_ENUM_FMT, \
  |  |  ------------------
  |  |  |  |   27|      0|#define XMLSEC_ENUM_FMT                      "%d"
  |  |  ------------------
  |  |  579|      0|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  405|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  580|      0|                    XMLSEC_ENUM_CAST(actual)                \
  |  |  ------------------
  |  |  |  |   26|      0|#define XMLSEC_ENUM_CAST(val)                ((int)(val))
  |  |  ------------------
  |  |  581|      0|        )
  ------------------
  499|      0|            return(-1);
  500|     10|    }
  501|       |
  502|     10|    if(newSize < gInitialSize) {
  ------------------
  |  Branch (502:8): [True: 9, False: 1]
  ------------------
  503|      9|        newSize = gInitialSize;
  504|      9|    }
  505|       |
  506|       |    /* guard against sizeof(xmlSecPtr) * newSize overflowing xmlSecSize */
  507|     10|    if(newSize > (XMLSEC_SIZE_MAX / sizeof(xmlSecPtr))) {
  ------------------
  |  |   89|     10|#define XMLSEC_SIZE_MAX                         SIZE_MAX
  ------------------
  |  Branch (507:8): [True: 0, False: 10]
  ------------------
  508|      0|        xmlSecInvalidSizeError("size", newSize, (XMLSEC_SIZE_MAX / sizeof(xmlSecPtr)), NULL);
  ------------------
  |  |  288|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  289|      0|                    (const char*)(errorObject),             \
  |  |  290|      0|                    NULL,                                   \
  |  |  291|      0|                    XMLSEC_ERRORS_R_INVALID_SIZE,           \
  |  |  ------------------
  |  |  |  |   83|      0|#define XMLSEC_ERRORS_R_INVALID_SIZE                    11
  |  |  ------------------
  |  |  292|      0|                    "invalid size for '%s': actual=" XMLSEC_SIZE_FMT " is not equal to expected=" XMLSEC_SIZE_FMT, \
  |  |  ------------------
  |  |  |  |   93|      0|#define XMLSEC_SIZE_FMT                         XMLSEC_SIZE_T_FMT
  |  |  |  |  ------------------
  |  |  |  |  |  |   74|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  293|      0|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  405|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  294|      0|                    (actual),                               \
  |  |  295|      0|                    (expected)                              \
  |  |  296|      0|        )
  ------------------
  509|      0|        return(-1);
  510|      0|    }
  511|       |
  512|     10|    if(list->data != NULL) {
  ------------------
  |  Branch (512:8): [True: 1, False: 9]
  ------------------
  513|      1|        newData = (xmlSecPtr*)xmlRealloc(list->data, sizeof(xmlSecPtr) * newSize);
  514|      9|    } else {
  515|      9|        newData = (xmlSecPtr*)xmlMalloc(sizeof(xmlSecPtr) * newSize);
  516|      9|    }
  517|     10|    if(newData == NULL) {
  ------------------
  |  Branch (517:8): [True: 0, False: 10]
  ------------------
  518|      0|        xmlSecMallocError(sizeof(xmlSecPtr) * newSize,
  ------------------
  |  |  104|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  105|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (105:35): [True: 0, False: 0]
  |  |  |  Branch (105:35): [True: 0, False: 0]
  |  |  ------------------
  |  |  106|      0|                    "xmlMalloc",                            \
  |  |  107|      0|                    XMLSEC_ERRORS_R_MALLOC_FAILED,          \
  |  |  ------------------
  |  |  |  |   37|      0|#define XMLSEC_ERRORS_R_MALLOC_FAILED                   2
  |  |  ------------------
  |  |  108|      0|                    "size=" XMLSEC_SIZE_T_FMT, (size_t)(allocSize) \
  |  |  ------------------
  |  |  |  |   74|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  ------------------
  |  |  109|      0|        )
  ------------------
  519|      0|                          xmlSecPtrListGetName(list));
  520|      0|        return(-1);
  521|      0|    }
  522|       |
  523|     10|    list->data = newData;
  524|     10|    list->max = newSize;
  525|       |
  526|     10|    return(0);
  527|     10|}

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) */
  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) */
  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);
  ------------------
  |  |   50|      0|    {                                                       \
  |  |   51|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   52|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   53|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   54|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   55|      0|                    (const char*)(errorObject),             \
  |  |   56|      0|                    (errorFunction),                        \
  |  |   57|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   47|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   58|      0|                    "openssl error: %s",                    \
  |  |   59|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  405|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   60|      0|        );                                                  \
  |  |   61|      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);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      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.54k|) {
  388|  1.54k|    BIO* bio;
  389|  1.54k|    xmlSecKeyPtr key;
  390|       |
  391|  1.54k|    xmlSecAssert2(data != NULL, NULL);
  ------------------
  |  |  446|  1.54k|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 1.54k]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  392|  1.54k|    xmlSecAssert2(format != xmlSecKeyDataFormatUnknown, NULL);
  ------------------
  |  |  446|  1.54k|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 1.54k]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  393|       |
  394|       |    /* this would be a read only BIO, cast from const is ok */
  395|  1.54k|    bio = xmlSecOpenSSLCreateMemBufBio((void*)data, dataSize);
  396|  1.54k|    if(bio == NULL) {
  ------------------
  |  Branch (396:8): [True: 0, False: 1.54k]
  ------------------
  397|      0|        xmlSecInternalError2("xmlSecOpenSSLCreateMemBufBio", NULL, "dataSize=" XMLSEC_SIZE_FMT,  dataSize);
  ------------------
  |  |   55|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   56|      0|                    (const char*)(errorObject),             \
  |  |   57|      0|                    (errorFunction),                        \
  |  |   58|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   59|      0|                    (msg), (param)                          \
  |  |   60|      0|        )
  ------------------
  398|      0|        return(NULL);
  399|      0|    }
  400|       |
  401|  1.54k|    key = xmlSecOpenSSLAppKeyLoadBIO (bio, format, pwd, pwdCallback, pwdCallbackCtx);
  402|  1.54k|    if(key == NULL) {
  ------------------
  |  Branch (402:8): [True: 1.51k, False: 29]
  ------------------
  403|  1.51k|        xmlSecInternalError("xmlSecOpenSSLAppKeyLoadBIO", NULL);
  ------------------
  |  |   39|  1.51k|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|  1.51k|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|  1.51k|                    (const char*)(errorObject),             \
  |  |   41|  1.51k|                    (errorFunction),                        \
  |  |   42|  1.51k|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|  1.51k|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|  1.51k|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|  1.51k|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|  1.51k|        )
  ------------------
  404|  1.51k|        BIO_free_all(bio);
  405|  1.51k|        return(NULL);
  406|  1.51k|    }
  407|       |
  408|       |    /* check if any bytes remaining */
  409|     29|    if(xmlSecOpenSSLAppCheckMemoryBioConsumed(bio, format) != 1) {
  ------------------
  |  Branch (409:8): [True: 14, False: 15]
  ------------------
  410|     14|        xmlSecInternalError("xmlSecOpenSSLAppCheckMemoryBioConsumed", NULL);
  ------------------
  |  |   39|     14|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|     14|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|     14|                    (const char*)(errorObject),             \
  |  |   41|     14|                    (errorFunction),                        \
  |  |   42|     14|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|     14|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|     14|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|     14|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|     14|        )
  ------------------
  411|     14|        xmlSecKeyDestroy(key);
  412|     14|        BIO_free_all(bio);
  413|     14|        return(NULL);
  414|     14|    }
  415|       |
  416|       |    /* success */
  417|     15|    BIO_free_all(bio);
  418|     15|    return(key);
  419|     29|}
xmlSecOpenSSLAppKeyLoadBIO:
  435|  1.54k|) {
  436|       |
  437|  1.54k|    xmlSecKeyPtr key = NULL;
  438|  1.54k|    xmlSecKeyDataPtr data;
  439|  1.54k|    EVP_PKEY* pKey = NULL;
  440|  1.54k|    pem_password_cb* pwdCb = NULL;
  441|  1.54k|    void* pwdCbCtx = NULL;
  442|  1.54k|    int ret;
  443|       |
  444|  1.54k|    xmlSecAssert2(bio != NULL, NULL);
  ------------------
  |  |  446|  1.54k|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 1.54k]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  445|  1.54k|    xmlSecAssert2(format != xmlSecKeyDataFormatUnknown, NULL);
  ------------------
  |  |  446|  1.54k|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 1.54k]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  446|       |
  447|       |    /* prep pwd callbacks */
  448|  1.54k|    if(pwd != NULL) {
  ------------------
  |  Branch (448:8): [True: 1.54k, False: 0]
  ------------------
  449|  1.54k|        pwdCb = xmlSecOpenSSLDummyPasswordCallback;
  450|  1.54k|        pwdCbCtx = (void*)pwd;
  451|  1.54k|     } else {
  452|      0|        pwdCb = XMLSEC_PTR_TO_FUNC(pem_password_cb, pwdCallback);
  ------------------
  |  |  617|      0|    xmlSecPtrToFunc_ ##func_type((ptr))
  ------------------
  453|      0|        pwdCbCtx = pwdCallbackCtx;
  454|      0|    }
  455|       |
  456|  1.54k|    switch(format) {
  457|  1.10k|    case xmlSecKeyDataFormatPem:
  ------------------
  |  Branch (457:5): [True: 1.10k, False: 438]
  ------------------
  458|       |        /* try to read private key first; if can't read private key then
  459|       |         reset bio to the start of the file and try to read public key. */
  460|  1.10k|        pKey = PEM_read_bio_PrivateKey_ex(bio, NULL, pwdCb, pwdCbCtx, xmlSecOpenSSLGetLibCtx(), NULL);
  461|  1.10k|        if(pKey == NULL) {
  ------------------
  |  Branch (461:12): [True: 1.10k, False: 1]
  ------------------
  462|  1.10k|            (void)BIO_reset(bio);
  463|  1.10k|            pKey = PEM_read_bio_PUBKEY_ex(bio, NULL, pwdCb, pwdCbCtx, xmlSecOpenSSLGetLibCtx(), NULL);
  464|  1.10k|        }
  465|       |
  466|  1.10k|        if(pKey == NULL) {
  ------------------
  |  Branch (466:12): [True: 1.10k, False: 2]
  ------------------
  467|  1.10k|            xmlSecOpenSSLError("PEM_read_bio_PrivateKey and PEM_read_bio_PUBKEY", NULL);
  ------------------
  |  |   50|  1.10k|    {                                                       \
  |  |   51|  1.10k|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   52|  1.10k|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   53|  1.10k|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   54|  1.10k|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|  1.10k|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   55|  1.10k|                    (const char*)(errorObject),             \
  |  |   56|  1.10k|                    (errorFunction),                        \
  |  |   57|  1.10k|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   47|  1.10k|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   58|  1.10k|                    "openssl error: %s",                    \
  |  |   59|  1.10k|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  405|  1.10k|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 1.10k, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   60|  1.10k|        );                                                  \
  |  |   61|  1.10k|    }
  ------------------
  468|  1.10k|            return(NULL);
  469|  1.10k|        }
  470|      2|        break;
  471|    159|    case xmlSecKeyDataFormatDer:
  ------------------
  |  Branch (471:5): [True: 159, False: 1.38k]
  ------------------
  472|       |        /* try to read private key first; if can't read private key then
  473|       |         reset bio to the start of the file and try to read public key. */
  474|    159|        pKey = d2i_PrivateKey_ex_bio(bio, NULL, xmlSecOpenSSLGetLibCtx(), NULL);
  475|    159|        if(pKey == NULL) {
  ------------------
  |  Branch (475:12): [True: 143, False: 16]
  ------------------
  476|    143|            (void)BIO_reset(bio);
  477|       |
  478|    143|            XMLSEC_OPENSSL_PUSH_LIB_CTX(return(NULL));
  ------------------
  |  |   92|    143|    {                                              \
  |  |   93|    143|        OSSL_LIB_CTX* savedDefaultLibCtx = NULL;   \
  |  |   94|    143|        savedDefaultLibCtx = OSSL_LIB_CTX_set0_default(xmlSecOpenSSLGetLibCtx()); \
  |  |   95|    143|        if(savedDefaultLibCtx == NULL) {           \
  |  |  ------------------
  |  |  |  Branch (95:12): [True: 0, False: 143]
  |  |  ------------------
  |  |   96|      0|            xmlSecOpenSSLError("OSSL_LIB_CTX_set0_default", NULL);  \
  |  |  ------------------
  |  |  |  |   50|      0|    {                                                       \
  |  |  |  |   51|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |  |  |   52|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |  |  |   53|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |  |  |   54|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    (const char*)(errorObject),             \
  |  |  |  |   56|      0|                    (errorFunction),                        \
  |  |  |  |   57|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  |  |  ------------------
  |  |  |  |   58|      0|                    "openssl error: %s",                    \
  |  |  |  |   59|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  405|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (405:10): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   60|      0|        );                                                  \
  |  |  |  |   61|      0|    }
  |  |  ------------------
  |  |   97|      0|            on_error;                              \
  |  |   98|      0|        }
  ------------------
  479|    143|            pKey = d2i_PUBKEY_bio(bio, NULL);
  480|    143|            XMLSEC_OPENSSL_POP_LIB_CTX();
  ------------------
  |  |  101|    143|        if(savedDefaultLibCtx != NULL) {           \
  |  |  ------------------
  |  |  |  Branch (101:12): [True: 143, False: 0]
  |  |  ------------------
  |  |  102|    143|            OSSL_LIB_CTX_set0_default(savedDefaultLibCtx); \
  |  |  103|    143|        }                                          \
  |  |  104|    143|    }
  ------------------
  481|    143|        }
  482|    159|        if(pKey == NULL) {
  ------------------
  |  Branch (482:12): [True: 137, False: 22]
  ------------------
  483|    137|            xmlSecOpenSSLError("d2i_PrivateKey_bio and d2i_PUBKEY_bio", NULL);
  ------------------
  |  |   50|    137|    {                                                       \
  |  |   51|    137|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   52|    137|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   53|    137|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   54|    137|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|    137|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   55|    137|                    (const char*)(errorObject),             \
  |  |   56|    137|                    (errorFunction),                        \
  |  |   57|    137|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   47|    137|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   58|    137|                    "openssl error: %s",                    \
  |  |   59|    137|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  405|    137|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 137, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   60|    137|        );                                                  \
  |  |   61|    137|    }
  ------------------
  484|    137|            return(NULL);
  485|    137|        }
  486|     22|        break;
  487|     65|    case xmlSecKeyDataFormatPkcs8Pem:
  ------------------
  |  Branch (487:5): [True: 65, False: 1.47k]
  ------------------
  488|       |        /* read private key */
  489|     65|        pKey = PEM_read_bio_PrivateKey_ex(bio, NULL, pwdCb, pwdCbCtx, xmlSecOpenSSLGetLibCtx(), NULL);
  490|     65|        if(pKey == NULL) {
  ------------------
  |  Branch (490:12): [True: 64, False: 1]
  ------------------
  491|     64|            xmlSecOpenSSLError("PEM_read_bio_PrivateKey", NULL);
  ------------------
  |  |   50|     64|    {                                                       \
  |  |   51|     64|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   52|     64|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   53|     64|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   54|     64|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|     64|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   55|     64|                    (const char*)(errorObject),             \
  |  |   56|     64|                    (errorFunction),                        \
  |  |   57|     64|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   47|     64|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   58|     64|                    "openssl error: %s",                    \
  |  |   59|     64|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  405|     64|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 64, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   60|     64|        );                                                  \
  |  |   61|     64|    }
  ------------------
  492|     64|            return(NULL);
  493|     64|        }
  494|      1|        break;
  495|      5|    case xmlSecKeyDataFormatPkcs8Der:
  ------------------
  |  Branch (495:5): [True: 5, False: 1.53k]
  ------------------
  496|       |        /* read private key */
  497|      5|        XMLSEC_OPENSSL_PUSH_LIB_CTX(return(NULL));
  ------------------
  |  |   92|      5|    {                                              \
  |  |   93|      5|        OSSL_LIB_CTX* savedDefaultLibCtx = NULL;   \
  |  |   94|      5|        savedDefaultLibCtx = OSSL_LIB_CTX_set0_default(xmlSecOpenSSLGetLibCtx()); \
  |  |   95|      5|        if(savedDefaultLibCtx == NULL) {           \
  |  |  ------------------
  |  |  |  Branch (95:12): [True: 0, False: 5]
  |  |  ------------------
  |  |   96|      0|            xmlSecOpenSSLError("OSSL_LIB_CTX_set0_default", NULL);  \
  |  |  ------------------
  |  |  |  |   50|      0|    {                                                       \
  |  |  |  |   51|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |  |  |   52|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |  |  |   53|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |  |  |   54|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    (const char*)(errorObject),             \
  |  |  |  |   56|      0|                    (errorFunction),                        \
  |  |  |  |   57|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  |  |  ------------------
  |  |  |  |   58|      0|                    "openssl error: %s",                    \
  |  |  |  |   59|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  405|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (405:10): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   60|      0|        );                                                  \
  |  |  |  |   61|      0|    }
  |  |  ------------------
  |  |   97|      0|            on_error;                              \
  |  |   98|      0|        }
  ------------------
  498|      5|        pKey = d2i_PKCS8PrivateKey_bio(bio, NULL, pwdCb, pwdCbCtx);
  499|      5|        XMLSEC_OPENSSL_POP_LIB_CTX();
  ------------------
  |  |  101|      5|        if(savedDefaultLibCtx != NULL) {           \
  |  |  ------------------
  |  |  |  Branch (101:12): [True: 5, False: 0]
  |  |  ------------------
  |  |  102|      5|            OSSL_LIB_CTX_set0_default(savedDefaultLibCtx); \
  |  |  103|      5|        }                                          \
  |  |  104|      5|    }
  ------------------
  500|      5|        if(pKey == NULL) {
  ------------------
  |  Branch (500:12): [True: 4, False: 1]
  ------------------
  501|      4|            xmlSecOpenSSLError("d2i_PKCS8PrivateKey_bio", NULL);
  ------------------
  |  |   50|      4|    {                                                       \
  |  |   51|      4|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   52|      4|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   53|      4|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   54|      4|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      4|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   55|      4|                    (const char*)(errorObject),             \
  |  |   56|      4|                    (errorFunction),                        \
  |  |   57|      4|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   47|      4|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   58|      4|                    "openssl error: %s",                    \
  |  |   59|      4|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  405|      4|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 4, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   60|      4|        );                                                  \
  |  |   61|      4|    }
  ------------------
  502|      4|            return(NULL);
  503|      4|        }
  504|      1|        break;
  505|      1|#ifndef XMLSEC_NO_X509
  506|     12|    case xmlSecKeyDataFormatPkcs12:
  ------------------
  |  Branch (506:5): [True: 12, False: 1.53k]
  ------------------
  507|     12|        key = xmlSecOpenSSLAppPkcs12LoadBIO(bio, pwd, pwdCallback, pwdCallbackCtx);
  508|     12|        if(key == NULL) {
  ------------------
  |  Branch (508:12): [True: 7, False: 5]
  ------------------
  509|      7|            xmlSecInternalError("xmlSecOpenSSLAppPkcs12LoadBIO", NULL);
  ------------------
  |  |   39|      7|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      7|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      7|                    (const char*)(errorObject),             \
  |  |   41|      7|                    (errorFunction),                        \
  |  |   42|      7|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      7|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      7|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      7|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      7|        )
  ------------------
  510|      7|            return(NULL);
  511|      7|        }
  512|      5|        return(key);
  513|       |
  514|    194|    case xmlSecKeyDataFormatCertPem:
  ------------------
  |  Branch (514:5): [True: 194, False: 1.35k]
  ------------------
  515|    196|    case xmlSecKeyDataFormatCertDer:
  ------------------
  |  Branch (515:5): [True: 2, False: 1.54k]
  ------------------
  516|    196|        key = xmlSecOpenSSLAppKeyFromCertLoadBIO(bio, format);
  517|    196|        if(key == NULL) {
  ------------------
  |  Branch (517:12): [True: 196, False: 0]
  ------------------
  518|    196|            xmlSecInternalError("xmlSecOpenSSLAppKeyFromCertLoadBIO", NULL);
  ------------------
  |  |   39|    196|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|    196|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|    196|                    (const char*)(errorObject),             \
  |  |   41|    196|                    (errorFunction),                        \
  |  |   42|    196|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|    196|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|    196|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|    196|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|    196|        )
  ------------------
  519|    196|            return(NULL);
  520|    196|        }
  521|      0|        return(key);
  522|      0|#endif /* XMLSEC_NO_X509 */
  523|       |
  524|      1|    default:
  ------------------
  |  Branch (524:5): [True: 1, False: 1.54k]
  ------------------
  525|      1|        xmlSecOtherError2(XMLSEC_ERRORS_R_INVALID_FORMAT, NULL,
  ------------------
  |  |  914|      1|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      1|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  915|      1|                    (const char*)(errorObject),             \
  |  |  916|      1|                    NULL,                                   \
  |  |  917|      1|                    (code),                                 \
  |  |  918|      1|                    (msg), (param)                          \
  |  |  919|      1|        )
  ------------------
  526|      1|            "format=" XMLSEC_ENUM_FMT, XMLSEC_ENUM_CAST(format));
  527|      1|        return(NULL);
  528|  1.54k|    }
  529|       |
  530|     26|    data = xmlSecOpenSSLEvpKeyAdopt(pKey);
  531|     26|    if(data == NULL) {
  ------------------
  |  Branch (531:8): [True: 2, False: 24]
  ------------------
  532|      2|        xmlSecInternalError("xmlSecOpenSSLEvpKeyAdopt", NULL);
  ------------------
  |  |   39|      2|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      2|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      2|                    (const char*)(errorObject),             \
  |  |   41|      2|                    (errorFunction),                        \
  |  |   42|      2|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      2|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      2|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      2|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      2|        )
  ------------------
  533|      2|        EVP_PKEY_free(pKey);
  534|      2|        return(NULL);
  535|      2|    }
  536|       |
  537|     24|    key = xmlSecKeyCreate();
  538|     24|    if(key == NULL) {
  ------------------
  |  Branch (538:8): [True: 0, False: 24]
  ------------------
  539|      0|        xmlSecInternalError("xmlSecKeyCreate",
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  540|      0|                            xmlSecKeyDataGetName(data));
  541|      0|        xmlSecKeyDataDestroy(data);
  542|      0|        return(NULL);
  543|      0|    }
  544|       |
  545|     24|    ret = xmlSecKeySetValue(key, data);
  546|     24|    if(ret < 0) {
  ------------------
  |  Branch (546:8): [True: 0, False: 24]
  ------------------
  547|      0|        xmlSecInternalError("xmlSecKeySetValue",
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  548|      0|                            xmlSecKeyDataGetName(data));
  549|      0|        xmlSecKeyDestroy(key);
  550|      0|        xmlSecKeyDataDestroy(data);
  551|      0|        return(NULL);
  552|      0|    }
  553|       |
  554|     24|    return(key);
  555|     24|}
xmlSecOpenSSLAppKeyCertLoadMemory:
 1142|     15|) {
 1143|     15|    BIO* bio;
 1144|     15|    int ret;
 1145|       |
 1146|     15|    xmlSecAssert2(key != NULL, -1);
  ------------------
  |  |  446|     15|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 15]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
 1147|     15|    xmlSecAssert2(data != NULL, -1);
  ------------------
  |  |  446|     15|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 15]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
 1148|     15|    xmlSecAssert2(format != xmlSecKeyDataFormatUnknown, -1);
  ------------------
  |  |  446|     15|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 15]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
 1149|       |
 1150|       |    /* this would be a read only BIO, cast from const is ok */
 1151|     15|    bio = xmlSecOpenSSLCreateMemBufBio((void*)data, dataSize);
 1152|     15|    if(bio == NULL) {
  ------------------
  |  Branch (1152:8): [True: 0, False: 15]
  ------------------
 1153|      0|        xmlSecInternalError2("xmlSecOpenSSLCreateMemBufBio", NULL, "dataSize=" XMLSEC_SIZE_FMT,  dataSize);
  ------------------
  |  |   55|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   56|      0|                    (const char*)(errorObject),             \
  |  |   57|      0|                    (errorFunction),                        \
  |  |   58|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   59|      0|                    (msg), (param)                          \
  |  |   60|      0|        )
  ------------------
 1154|      0|        return(-1);
 1155|      0|    }
 1156|       |
 1157|     15|    ret = xmlSecOpenSSLAppKeyCertLoadBIO(key, bio, format);
 1158|     15|    if(ret < 0) {
  ------------------
  |  Branch (1158:8): [True: 15, False: 0]
  ------------------
 1159|     15|        xmlSecInternalError("xmlSecOpenSSLAppKeyCertLoadBIO", NULL);
  ------------------
  |  |   39|     15|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|     15|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|     15|                    (const char*)(errorObject),             \
  |  |   41|     15|                    (errorFunction),                        \
  |  |   42|     15|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|     15|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|     15|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|     15|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|     15|        )
  ------------------
 1160|     15|        BIO_free_all(bio);
 1161|     15|        return(-1);
 1162|     15|    }
 1163|       |
 1164|       |    /* check if any bytes remaining */
 1165|      0|    if(xmlSecOpenSSLAppCheckMemoryBioConsumed(bio, format) != 1) {
  ------------------
  |  Branch (1165:8): [True: 0, False: 0]
  ------------------
 1166|      0|        xmlSecInternalError("xmlSecOpenSSLAppCheckMemoryBioConsumed", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
 1167|      0|        BIO_free_all(bio);
 1168|      0|        return(-1);
 1169|      0|    }
 1170|       |
 1171|       |    /* success */
 1172|      0|    BIO_free_all(bio);
 1173|      0|    return(0);
 1174|      0|}
xmlSecOpenSSLAppKeyCertLoadBIO:
 1186|     15|xmlSecOpenSSLAppKeyCertLoadBIO(xmlSecKeyPtr key, BIO* bio, xmlSecKeyDataFormat format) {
 1187|     15|    xmlSecKeyDataFormat certFormat;
 1188|     15|    xmlSecKeyDataPtr x509Data = NULL;
 1189|     15|    X509 *cert = NULL;
 1190|     15|    int isKeyCert = 0;
 1191|     15|    int ret;
 1192|     15|    int res = -1;
 1193|       |
 1194|     15|    xmlSecAssert2(key != NULL, -1);
  ------------------
  |  |  446|     15|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 15]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
 1195|     15|    xmlSecAssert2(bio != NULL, -1);
  ------------------
  |  |  446|     15|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 15]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
 1196|     15|    xmlSecAssert2(format != xmlSecKeyDataFormatUnknown, -1);
  ------------------
  |  |  446|     15|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 15]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
 1197|       |
 1198|       |    /* adjust cert format if needed */
 1199|     15|    switch(format) {
 1200|      1|    case xmlSecKeyDataFormatPkcs8Pem:
  ------------------
  |  Branch (1200:5): [True: 1, False: 14]
  ------------------
 1201|      1|        certFormat = xmlSecKeyDataFormatPem;
 1202|      1|        break;
 1203|      1|    case xmlSecKeyDataFormatPkcs8Der:
  ------------------
  |  Branch (1203:5): [True: 1, False: 14]
  ------------------
 1204|      1|        certFormat = xmlSecKeyDataFormatDer;
 1205|      1|        break;
 1206|     13|    default:
  ------------------
  |  Branch (1206:5): [True: 13, False: 2]
  ------------------
 1207|     13|        certFormat = format;
 1208|     15|    }
 1209|       |
 1210|       |    /* read cert */
 1211|     15|    cert = xmlSecOpenSSLX509CertLoadBIO(bio, certFormat);
 1212|     15|    if(cert == NULL) {
  ------------------
  |  Branch (1212:8): [True: 15, False: 0]
  ------------------
 1213|     15|        xmlSecInternalError("xmlSecOpenSSLX509CertLoadBIO", NULL);
  ------------------
  |  |   39|     15|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|     15|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|     15|                    (const char*)(errorObject),             \
  |  |   41|     15|                    (errorFunction),                        \
  |  |   42|     15|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|     15|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|     15|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|     15|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|     15|        )
  ------------------
 1214|     15|        goto done;
 1215|     15|    }
 1216|       |
 1217|       |    /* add cert to key */
 1218|      0|    x509Data = xmlSecKeyEnsureData(key, xmlSecOpenSSLKeyDataX509Id);
  ------------------
  |  |   35|      0|        xmlSecOpenSSLKeyDataX509GetKlass()
  ------------------
 1219|      0|    if(x509Data == NULL) {
  ------------------
  |  Branch (1219:8): [True: 0, False: 0]
  ------------------
 1220|      0|        xmlSecInternalError("xmlSecKeyEnsureData", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
 1221|      0|        goto done;
 1222|      0|    }
 1223|       |
 1224|       |    /* do we want to add this cert as a key cert? */
 1225|      0|    if(xmlSecOpenSSLKeyDataX509GetKeyCert(x509Data) == NULL) {
  ------------------
  |  Branch (1225:8): [True: 0, False: 0]
  ------------------
 1226|      0|        EVP_PKEY* pKey;
 1227|       |
 1228|       |        /* pKey might not be set yet */
 1229|      0|        pKey = xmlSecOpenSSLKeyGetEvp(key);
 1230|      0|        if(pKey != NULL) {
  ------------------
  |  Branch (1230:12): [True: 0, False: 0]
  ------------------
 1231|       |            /* ignore errors here */
 1232|      0|            ret = xmlSecOpenSSLAppCheckCertMatchesKey(pKey,  cert);
 1233|      0|            if(ret < 0) {
  ------------------
  |  Branch (1233:16): [True: 0, False: 0]
  ------------------
 1234|      0|                xmlSecInternalError("xmlSecOpenSSLAppCheckCertMatchesKey", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
 1235|      0|                goto done;
 1236|      0|            }
 1237|      0|            if(ret == 1) {
  ------------------
  |  Branch (1237:16): [True: 0, False: 0]
  ------------------
 1238|      0|                isKeyCert = 1;
 1239|      0|            }
 1240|      0|        }
 1241|      0|    }
 1242|       |
 1243|      0|    if(isKeyCert != 0) {
  ------------------
  |  Branch (1243:8): [True: 0, False: 0]
  ------------------
 1244|      0|        ret = xmlSecOpenSSLKeyDataX509AdoptKeyCert(x509Data, cert);
 1245|      0|        if(ret < 0) {
  ------------------
  |  Branch (1245:12): [True: 0, False: 0]
  ------------------
 1246|      0|            xmlSecInternalError("xmlSecOpenSSLKeyDataX509AdoptKeyCert", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
 1247|      0|            goto done;
 1248|      0|        }
 1249|      0|    } else {
 1250|      0|        ret = xmlSecOpenSSLKeyDataX509AdoptCert(x509Data, cert);
 1251|      0|        if(ret < 0) {
  ------------------
  |  Branch (1251:12): [True: 0, False: 0]
  ------------------
 1252|      0|            xmlSecInternalError("xmlSecOpenSSLKeyDataX509AdoptCert", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
 1253|      0|            goto done;
 1254|      0|        }
 1255|      0|    }
 1256|      0|    cert = NULL; /* owned by x509Data now */
 1257|       |
 1258|       |    /* success */
 1259|      0|    res = 0;
 1260|       |
 1261|     15|done:
 1262|     15|    if(cert != NULL) {
  ------------------
  |  Branch (1262:8): [True: 0, False: 15]
  ------------------
 1263|      0|        X509_free(cert);
 1264|      0|    }
 1265|     15|    return(res);
 1266|      0|}
xmlSecOpenSSLAppPkcs12LoadBIO:
 1376|     12|                           void* pwdCallbackCtx XMLSEC_ATTRIBUTE_UNUSED) {
 1377|       |
 1378|     12|    PKCS12 *p12 = NULL;
 1379|     12|    EVP_PKEY * pKey = NULL;
 1380|     12|    X509 * keyCert = NULL;
 1381|     12|    STACK_OF(X509) * chain = NULL;
 1382|     12|    xmlSecKeyPtr res = NULL;
 1383|     12|    size_t pwdSize;
 1384|     12|    int pwdLen;
 1385|     12|    int ret;
 1386|       |
 1387|     12|    xmlSecAssert2(bio != NULL, NULL);
  ------------------
  |  |  446|     12|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 12]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
 1388|     12|    UNREFERENCED_PARAMETER(pwdCallback);
  ------------------
  |  |  577|     12|#define UNREFERENCED_PARAMETER(param)   ((void)(param))
  ------------------
 1389|     12|    UNREFERENCED_PARAMETER(pwdCallbackCtx);
  ------------------
  |  |  577|     12|#define UNREFERENCED_PARAMETER(param)   ((void)(param))
  ------------------
 1390|       |
 1391|     12|    pwdSize = (pwd != NULL) ? strlen(pwd) : 0;
  ------------------
  |  Branch (1391:15): [True: 12, False: 0]
  ------------------
 1392|     12|    XMLSEC_SAFE_CAST_SIZE_T_TO_INT(pwdSize, pwdLen, return(NULL), NULL);
  ------------------
  |  |  115|     12|    XMLSEC_SAFE_CAST_MAX_CHECK(size_t, (srcVal), XMLSEC_SIZE_T_FMT,             \
  |  |  ------------------
  |  |  |  |   45|     12|    if((srcVal) > (srcType)(dstMax)) {                                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (45:8): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  |  |   46|      0|        xmlSecImpossibleCastError(srcType, (srcVal), srcFmt,                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |  879|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  880|      0|                    (const char*)(errorObject),             \
  |  |  |  |  |  |  881|      0|                    NULL,                                   \
  |  |  |  |  |  |  882|      0|                    XMLSEC_ERRORS_R_CAST_IMPOSSIBLE,        \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  305|      0|#define XMLSEC_ERRORS_R_CAST_IMPOSSIBLE                 101
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  883|      0|                    "src-type=" #srcType "; src-val=" srcFmt  \
  |  |  |  |  |  |  884|      0|                    ";dst-type=" #dstType "; dst-min=" dstFmt \
  |  |  |  |  |  |  885|      0|                    ";dst-max=" dstFmt "",                  \
  |  |  |  |  |  |  886|      0|                    (srcVal), (dstMinVal), (dstMaxVal)      \
  |  |  |  |  |  |  887|      0|        )
  |  |  |  |  ------------------
  |  |  |  |   47|      0|            dstType, dstMin, dstMax, dstFmt, (errorObject));                   \
  |  |  |  |   48|      0|        errorAction;                                                           \
  |  |  |  |   49|      0|    }                                                                          \
  |  |  |  |   50|     12|    (dstVal) = (dstType)(srcVal);                                              \
  |  |  ------------------
  |  |  116|     12|        int, (dstVal), "%d", INT_MIN, INT_MAX,                                  \
  |  |  117|     12|        errorAction, (errorObject))
  ------------------
 1393|       |
 1394|     12|    XMLSEC_OPENSSL_PUSH_LIB_CTX(goto done);
  ------------------
  |  |   92|     12|    {                                              \
  |  |   93|     12|        OSSL_LIB_CTX* savedDefaultLibCtx = NULL;   \
  |  |   94|     12|        savedDefaultLibCtx = OSSL_LIB_CTX_set0_default(xmlSecOpenSSLGetLibCtx()); \
  |  |   95|     12|        if(savedDefaultLibCtx == NULL) {           \
  |  |  ------------------
  |  |  |  Branch (95:12): [True: 0, False: 12]
  |  |  ------------------
  |  |   96|      0|            xmlSecOpenSSLError("OSSL_LIB_CTX_set0_default", NULL);  \
  |  |  ------------------
  |  |  |  |   50|      0|    {                                                       \
  |  |  |  |   51|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |  |  |   52|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |  |  |   53|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |  |  |   54|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    (const char*)(errorObject),             \
  |  |  |  |   56|      0|                    (errorFunction),                        \
  |  |  |  |   57|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  |  |  ------------------
  |  |  |  |   58|      0|                    "openssl error: %s",                    \
  |  |  |  |   59|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  405|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (405:10): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   60|      0|        );                                                  \
  |  |  |  |   61|      0|    }
  |  |  ------------------
  |  |   97|      0|            on_error;                              \
  |  |   98|      0|        }
  ------------------
 1395|     12|    p12 = d2i_PKCS12_bio(bio, NULL);
 1396|     12|    XMLSEC_OPENSSL_POP_LIB_CTX();
  ------------------
  |  |  101|     12|        if(savedDefaultLibCtx != NULL) {           \
  |  |  ------------------
  |  |  |  Branch (101:12): [True: 12, False: 0]
  |  |  ------------------
  |  |  102|     12|            OSSL_LIB_CTX_set0_default(savedDefaultLibCtx); \
  |  |  103|     12|        }                                          \
  |  |  104|     12|    }
  ------------------
 1397|     12|    if(p12 == NULL) {
  ------------------
  |  Branch (1397:8): [True: 4, False: 8]
  ------------------
 1398|      4|        xmlSecOpenSSLError("d2i_PKCS12_bio", NULL);
  ------------------
  |  |   50|      4|    {                                                       \
  |  |   51|      4|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   52|      4|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   53|      4|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   54|      4|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      4|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   55|      4|                    (const char*)(errorObject),             \
  |  |   56|      4|                    (errorFunction),                        \
  |  |   57|      4|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   47|      4|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   58|      4|                    "openssl error: %s",                    \
  |  |   59|      4|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  405|      4|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 4, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   60|      4|        );                                                  \
  |  |   61|      4|    }
  ------------------
 1399|      4|        goto done;
 1400|      4|    }
 1401|       |
 1402|      8|    XMLSEC_OPENSSL_PUSH_LIB_CTX(goto done);
  ------------------
  |  |   92|      8|    {                                              \
  |  |   93|      8|        OSSL_LIB_CTX* savedDefaultLibCtx = NULL;   \
  |  |   94|      8|        savedDefaultLibCtx = OSSL_LIB_CTX_set0_default(xmlSecOpenSSLGetLibCtx()); \
  |  |   95|      8|        if(savedDefaultLibCtx == NULL) {           \
  |  |  ------------------
  |  |  |  Branch (95:12): [True: 0, False: 8]
  |  |  ------------------
  |  |   96|      0|            xmlSecOpenSSLError("OSSL_LIB_CTX_set0_default", NULL);  \
  |  |  ------------------
  |  |  |  |   50|      0|    {                                                       \
  |  |  |  |   51|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |  |  |   52|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |  |  |   53|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |  |  |   54|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    (const char*)(errorObject),             \
  |  |  |  |   56|      0|                    (errorFunction),                        \
  |  |  |  |   57|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  |  |  ------------------
  |  |  |  |   58|      0|                    "openssl error: %s",                    \
  |  |  |  |   59|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  405|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (405:10): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   60|      0|        );                                                  \
  |  |  |  |   61|      0|    }
  |  |  ------------------
  |  |   97|      0|            on_error;                              \
  |  |   98|      0|        }
  ------------------
 1403|      8|    ret = PKCS12_verify_mac(p12, pwd, pwdLen);
 1404|      8|    XMLSEC_OPENSSL_POP_LIB_CTX();
  ------------------
  |  |  101|      8|        if(savedDefaultLibCtx != NULL) {           \
  |  |  ------------------
  |  |  |  Branch (101:12): [True: 8, False: 0]
  |  |  ------------------
  |  |  102|      8|            OSSL_LIB_CTX_set0_default(savedDefaultLibCtx); \
  |  |  103|      8|        }                                          \
  |  |  104|      8|    }
  ------------------
 1405|      8|    if(ret != 1) {
  ------------------
  |  Branch (1405:8): [True: 1, False: 7]
  ------------------
 1406|      1|        xmlSecOpenSSLError("PKCS12_verify_mac", NULL);
  ------------------
  |  |   50|      1|    {                                                       \
  |  |   51|      1|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   52|      1|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   53|      1|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   54|      1|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      1|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   55|      1|                    (const char*)(errorObject),             \
  |  |   56|      1|                    (errorFunction),                        \
  |  |   57|      1|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   47|      1|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   58|      1|                    "openssl error: %s",                    \
  |  |   59|      1|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  405|      1|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 1, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   60|      1|        );                                                  \
  |  |   61|      1|    }
  ------------------
 1407|      1|        goto done;
 1408|      1|    }
 1409|       |
 1410|      7|    XMLSEC_OPENSSL_PUSH_LIB_CTX(goto done);
  ------------------
  |  |   92|      7|    {                                              \
  |  |   93|      7|        OSSL_LIB_CTX* savedDefaultLibCtx = NULL;   \
  |  |   94|      7|        savedDefaultLibCtx = OSSL_LIB_CTX_set0_default(xmlSecOpenSSLGetLibCtx()); \
  |  |   95|      7|        if(savedDefaultLibCtx == NULL) {           \
  |  |  ------------------
  |  |  |  Branch (95:12): [True: 0, False: 7]
  |  |  ------------------
  |  |   96|      0|            xmlSecOpenSSLError("OSSL_LIB_CTX_set0_default", NULL);  \
  |  |  ------------------
  |  |  |  |   50|      0|    {                                                       \
  |  |  |  |   51|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |  |  |   52|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |  |  |   53|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |  |  |   54|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    (const char*)(errorObject),             \
  |  |  |  |   56|      0|                    (errorFunction),                        \
  |  |  |  |   57|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  |  |  ------------------
  |  |  |  |   58|      0|                    "openssl error: %s",                    \
  |  |  |  |   59|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  405|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (405:10): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   60|      0|        );                                                  \
  |  |  |  |   61|      0|    }
  |  |  ------------------
  |  |   97|      0|            on_error;                              \
  |  |   98|      0|        }
  ------------------
 1411|      7|    ret = PKCS12_parse(p12, pwd, &pKey, &keyCert, &chain);
 1412|      7|    XMLSEC_OPENSSL_POP_LIB_CTX();
  ------------------
  |  |  101|      7|        if(savedDefaultLibCtx != NULL) {           \
  |  |  ------------------
  |  |  |  Branch (101:12): [True: 7, False: 0]
  |  |  ------------------
  |  |  102|      7|            OSSL_LIB_CTX_set0_default(savedDefaultLibCtx); \
  |  |  103|      7|        }                                          \
  |  |  104|      7|    }
  ------------------
 1413|      7|    if((ret != 1) || (pKey == NULL)) {
  ------------------
  |  Branch (1413:8): [True: 1, False: 6]
  |  Branch (1413:22): [True: 0, False: 6]
  ------------------
 1414|      1|        xmlSecOpenSSLError("PKCS12_parse", NULL);
  ------------------
  |  |   50|      1|    {                                                       \
  |  |   51|      1|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   52|      1|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   53|      1|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   54|      1|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      1|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   55|      1|                    (const char*)(errorObject),             \
  |  |   56|      1|                    (errorFunction),                        \
  |  |   57|      1|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   47|      1|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   58|      1|                    "openssl error: %s",                    \
  |  |   59|      1|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  405|      1|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 1, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   60|      1|        );                                                  \
  |  |   61|      1|    }
  ------------------
 1415|      1|        goto done;
 1416|      1|    }
 1417|       |
 1418|       |    /*
 1419|       |     * The documentation states (http://www.openssl.org/docs/crypto/PKCS12_parse.html):
 1420|       |     *
 1421|       |     * If successful the private key will be written to "*pkey", the
 1422|       |     * corresponding certificate to "*cert" and any additional certificates
 1423|       |     * to "*ca".
 1424|       |     *
 1425|       |     * In reality, the function sometime returns in the "ca" the certificates
 1426|       |     * including the one it is already returned in "cert". We will sort this out
 1427|       |     * in the xmlSecOpenSSLKeyDataX509AdoptKeyCert() and xmlSecOpenSSLKeyDataX509AdoptCert()
 1428|       |     * functions.
 1429|       |     */
 1430|       |
 1431|       |    /* finally create a key, xmlSecOpenSSLCreateKey will set values to NULL as it uses them */
 1432|      6|    res = xmlSecOpenSSLCreateKey(&pKey, &keyCert, &chain);
 1433|      6|    if(res == NULL) {
  ------------------
  |  Branch (1433:8): [True: 1, False: 5]
  ------------------
 1434|      1|        xmlSecInternalError("xmlSecOpenSSLCreateKey", NULL);
  ------------------
  |  |   39|      1|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      1|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      1|                    (const char*)(errorObject),             \
  |  |   41|      1|                    (errorFunction),                        \
  |  |   42|      1|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      1|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      1|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      1|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      1|        )
  ------------------
 1435|      1|        goto done;
 1436|      1|    }
 1437|       |
 1438|       |    /* success! */
 1439|       |
 1440|     12|done:
 1441|     12|    if(chain != NULL) {
  ------------------
  |  Branch (1441:8): [True: 6, False: 6]
  ------------------
 1442|      6|        sk_X509_pop_free(chain, X509_free);
 1443|      6|    }
 1444|     12|    if(keyCert != NULL) {
  ------------------
  |  Branch (1444:8): [True: 1, False: 11]
  ------------------
 1445|      1|        X509_free(keyCert);
 1446|      1|    }
 1447|     12|    if(pKey != NULL) {
  ------------------
  |  Branch (1447:8): [True: 1, False: 11]
  ------------------
 1448|      1|        EVP_PKEY_free(pKey);
 1449|      1|    }
 1450|     12|    if(p12 != NULL) {
  ------------------
  |  Branch (1450:8): [True: 8, False: 4]
  ------------------
 1451|      8|        PKCS12_free(p12);
 1452|      8|    }
 1453|     12|    return(res);
 1454|      6|}
xmlSecOpenSSLAppKeyFromCertLoadBIO:
 1463|    196|xmlSecOpenSSLAppKeyFromCertLoadBIO(BIO* bio, xmlSecKeyDataFormat format) {
 1464|    196|    xmlSecKeyPtr key = NULL;
 1465|    196|    xmlSecKeyDataPtr keyData = NULL;
 1466|    196|    xmlSecKeyDataPtr certData;
 1467|    196|    X509 * cert = NULL;
 1468|    196|    int ret;
 1469|    196|    xmlSecKeyPtr res = NULL;
 1470|       |
 1471|    196|    xmlSecAssert2(bio != NULL, NULL);
  ------------------
  |  |  446|    196|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 196]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
 1472|    196|    xmlSecAssert2(format != xmlSecKeyDataFormatUnknown, NULL);
  ------------------
  |  |  446|    196|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 196]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
 1473|       |
 1474|       |    /* load cert */
 1475|    196|    cert = xmlSecOpenSSLX509CertLoadBIO(bio, format);
 1476|    196|    if(cert == NULL) {
  ------------------
  |  Branch (1476:8): [True: 196, False: 0]
  ------------------
 1477|    196|        xmlSecInternalError("xmlSecOpenSSLX509CertLoadBIO", NULL);
  ------------------
  |  |   39|    196|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|    196|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|    196|                    (const char*)(errorObject),             \
  |  |   41|    196|                    (errorFunction),                        \
  |  |   42|    196|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|    196|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|    196|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|    196|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|    196|        )
  ------------------
 1478|    196|        goto done;
 1479|    196|    }
 1480|       |
 1481|       |    /* create key */
 1482|      0|    key = xmlSecKeyCreate();
 1483|      0|    if(key == NULL) {
  ------------------
  |  Branch (1483:8): [True: 0, False: 0]
  ------------------
 1484|      0|        xmlSecInternalError("xmlSecKeyCreate", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
 1485|      0|        goto done;
 1486|      0|    }
 1487|       |
 1488|       |    /* set key value */
 1489|      0|    keyData = xmlSecOpenSSLX509CertGetKey(cert);
 1490|      0|    if(keyData == NULL) {
  ------------------
  |  Branch (1490:8): [True: 0, False: 0]
  ------------------
 1491|      0|        xmlSecInternalError("xmlSecOpenSSLX509CertGetKey", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
 1492|      0|        goto done;
 1493|      0|    }
 1494|      0|    ret = xmlSecKeySetValue(key, keyData);
 1495|      0|    if(ret < 0) {
  ------------------
  |  Branch (1495:8): [True: 0, False: 0]
  ------------------
 1496|      0|        xmlSecInternalError("xmlSecKeySetValue", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
 1497|      0|        goto done;
 1498|      0|    }
 1499|      0|    keyData = NULL; /* owned by key now */
 1500|       |
 1501|       |    /* put cert as the key's cert in the x509 data */
 1502|      0|    certData = xmlSecKeyEnsureData(key, xmlSecOpenSSLKeyDataX509Id);
  ------------------
  |  |   35|      0|        xmlSecOpenSSLKeyDataX509GetKlass()
  ------------------
 1503|      0|    if(certData == NULL) {
  ------------------
  |  Branch (1503:8): [True: 0, False: 0]
  ------------------
 1504|      0|        xmlSecInternalError("xmlSecKeyEnsureData", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
 1505|      0|        goto done;
 1506|      0|    }
 1507|      0|    ret = xmlSecOpenSSLKeyDataX509AdoptKeyCert(certData, cert);
 1508|      0|    if(ret < 0) {
  ------------------
  |  Branch (1508:8): [True: 0, False: 0]
  ------------------
 1509|      0|        xmlSecInternalError("xmlSecOpenSSLKeyDataX509AdoptKeyCert", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
 1510|      0|        goto done;
 1511|      0|    }
 1512|      0|    cert = NULL; /* owned by certData now */
 1513|       |
 1514|       |    /* success */
 1515|      0|    res = key;
 1516|      0|    key = NULL;
 1517|       |
 1518|    196|done:
 1519|    196|    if(key != NULL) {
  ------------------
  |  Branch (1519:8): [True: 0, False: 196]
  ------------------
 1520|      0|        xmlSecKeyDestroy(key);
 1521|      0|    }
 1522|    196|    if(keyData != NULL) {
  ------------------
  |  Branch (1522:8): [True: 0, False: 196]
  ------------------
 1523|      0|        xmlSecKeyDataDestroy(keyData);
 1524|      0|    }
 1525|    196|    if(cert != NULL) {
  ------------------
  |  Branch (1525:8): [True: 0, False: 196]
  ------------------
 1526|      0|         X509_free(cert);
 1527|      0|    }
 1528|    196|    return(res);
 1529|      0|}
xmlSecOpenSSLAppGetDefaultPwdCallback:
 2141|      1|xmlSecOpenSSLAppGetDefaultPwdCallback(void) {
 2142|      1|    return XMLSEC_FUNC_TO_PTR(pem_password_cb, xmlSecOpenSSLDefaultPasswordCallback);
  ------------------
  |  |  643|      1|    xmlSecFuncToPtr_ ##func_type((func))
  ------------------
 2143|      1|}
app.c:xmlSecOpenSSLAppCheckMemoryBioConsumed:
  199|     29|xmlSecOpenSSLAppCheckMemoryBioConsumed(BIO* bio, xmlSecKeyDataFormat format) {
  200|     29|    xmlSecAssert2(bio != NULL, -1);
  ------------------
  |  |  446|     29|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 29]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  201|     29|    xmlSecAssert2(BIO_method_type(bio) == BIO_TYPE_MEM, -1);
  ------------------
  |  |  446|     29|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 29]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  202|       |
  203|     29|    switch(format) {
  204|      2|    case xmlSecKeyDataFormatPem:
  ------------------
  |  Branch (204:5): [True: 2, False: 27]
  ------------------
  205|      3|    case xmlSecKeyDataFormatPkcs8Pem:
  ------------------
  |  Branch (205:5): [True: 1, False: 28]
  ------------------
  206|      3|    case xmlSecKeyDataFormatCertPem:
  ------------------
  |  Branch (206:5): [True: 0, False: 29]
  ------------------
  207|       |        /* PEM formats have "end marker" and might contain more data */
  208|      3|        return(1);
  209|     20|    case xmlSecKeyDataFormatDer:
  ------------------
  |  Branch (209:5): [True: 20, False: 9]
  ------------------
  210|     21|    case xmlSecKeyDataFormatPkcs8Der:
  ------------------
  |  Branch (210:5): [True: 1, False: 28]
  ------------------
  211|     26|    case xmlSecKeyDataFormatPkcs12:
  ------------------
  |  Branch (211:5): [True: 5, False: 24]
  ------------------
  212|     26|    case  xmlSecKeyDataFormatCertDer:
  ------------------
  |  Branch (212:5): [True: 0, False: 29]
  ------------------
  213|       |        /* DER formats are binary and should consume all data */
  214|     26|        if(BIO_ctrl_pending(bio) > 0) {
  ------------------
  |  Branch (214:12): [True: 14, False: 12]
  ------------------
  215|     14|            xmlSecInvalidSizeDataError("Remaining in buffer bytes", BIO_ctrl_pending(bio), "0 bytes",  NULL);
  ------------------
  |  |  456|     14|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|     14|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  457|     14|                    (const char*)(errorObject),             \
  |  |  458|     14|                    NULL,                                   \
  |  |  459|     14|                    XMLSEC_ERRORS_R_INVALID_DATA,           \
  |  |  ------------------
  |  |  |  |   88|     14|#define XMLSEC_ERRORS_R_INVALID_DATA                    12
  |  |  ------------------
  |  |  460|     14|                    "invalid data for '%s': actual=" XMLSEC_SIZE_FMT " and expected %s", \
  |  |  461|     14|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  405|     14|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 14, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|     14|                    (actual),                               \
  |  |  463|     14|                    (expected)                              \
  |  |  464|     14|        )
  ------------------
  216|     14|            return (0);
  217|     14|        }
  218|     12|        return (1);
  219|      0|    default:
  ------------------
  |  Branch (219:5): [True: 0, False: 29]
  ------------------
  220|       |        /* unexpected memory bio format */
  221|       |        xmlSecOtherError2(XMLSEC_ERRORS_R_INVALID_FORMAT, NULL, "format=" XMLSEC_ENUM_FMT, XMLSEC_ENUM_CAST(format));
  ------------------
  |  |  914|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  915|      0|                    (const char*)(errorObject),             \
  |  |  916|      0|                    NULL,                                   \
  |  |  917|      0|                    (code),                                 \
  |  |  918|      0|                    (msg), (param)                          \
  |  |  919|      0|        )
  ------------------
  222|      0|        return(-1);
  223|     29|    }
  224|     29|}
app.c:xmlSecOpenSSLCreateKey:
  721|      6|xmlSecOpenSSLCreateKey(EVP_PKEY ** pKey,  X509 ** keyCert, STACK_OF(X509) ** certs) {
  722|      6|    xmlSecKeyDataPtr keyValue = NULL;
  723|      6|    xmlSecKeyPtr key = NULL;
  724|      6|    xmlSecKeyPtr res = NULL;
  725|      6|    int ret;
  726|       |
  727|      6|    xmlSecAssert2(pKey != NULL, NULL);
  ------------------
  |  |  446|      6|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 6]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  728|      6|    xmlSecAssert2((*pKey) != NULL, NULL);
  ------------------
  |  |  446|      6|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 6]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  729|      6|    xmlSecAssert2(keyCert != NULL, NULL);
  ------------------
  |  |  446|      6|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 6]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  730|      6|    xmlSecAssert2(certs != NULL, NULL);
  ------------------
  |  |  446|      6|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 6]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  731|       |
  732|      6|    key = xmlSecKeyCreate();
  733|      6|    if(key == NULL) {
  ------------------
  |  Branch (733:8): [True: 0, False: 6]
  ------------------
  734|      0|        xmlSecInternalError("xmlSecKeyCreate", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  735|      0|        goto done;
  736|      0|    }
  737|       |
  738|       |    /* create key value from pKey */
  739|      6|    keyValue = xmlSecOpenSSLEvpKeyAdopt(*pKey);
  740|      6|    if(keyValue == NULL) {
  ------------------
  |  Branch (740:8): [True: 1, False: 5]
  ------------------
  741|      1|        xmlSecInternalError("xmlSecOpenSSLEvpKeyAdopt", NULL);
  ------------------
  |  |   39|      1|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      1|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      1|                    (const char*)(errorObject),             \
  |  |   41|      1|                    (errorFunction),                        \
  |  |   42|      1|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      1|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      1|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      1|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      1|        )
  ------------------
  742|      1|        goto done;
  743|      1|    }
  744|      5|    (*pKey) = NULL; /* owned by keyValue now */
  745|       |
  746|      5|    ret = xmlSecKeySetValue(key, keyValue);
  747|      5|    if(ret < 0) {
  ------------------
  |  Branch (747:8): [True: 0, False: 5]
  ------------------
  748|      0|        xmlSecInternalError("xmlSecKeySetValue", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  749|      0|        goto done;
  750|      0|    }
  751|      5|    keyValue = NULL;  /* owned by key now */
  752|       |
  753|       |    /* try to get key name from x509 cert */
  754|      5|    if((*keyCert) != NULL) {
  ------------------
  |  Branch (754:8): [True: 5, False: 0]
  ------------------
  755|      5|        const unsigned char * name = NULL;
  756|      5|        int nameLen = 0;
  757|       |
  758|      5|        if(name == NULL) {
  ------------------
  |  Branch (758:12): [True: 5, False: 0]
  ------------------
  759|      5|            name = X509_alias_get0((*keyCert), &nameLen);
  760|      5|        }
  761|      5|        if(name == NULL) {
  ------------------
  |  Branch (761:12): [True: 0, False: 5]
  ------------------
  762|      0|            name = X509_keyid_get0((*keyCert), &nameLen);
  763|      0|        }
  764|      5|        if((name != NULL) && (nameLen > 0)) {
  ------------------
  |  Branch (764:12): [True: 5, False: 0]
  |  Branch (764:30): [True: 5, False: 0]
  ------------------
  765|      5|            xmlSecSize nameSize = 0;
  766|       |
  767|      5|            XMLSEC_SAFE_CAST_INT_TO_SIZE(nameLen, nameSize, goto done, NULL);
  ------------------
  |  |  308|      5|    XMLSEC_SAFE_CAST_MIN_CHECK(int, (srcVal), "%d",                              \
  |  |  ------------------
  |  |  |  |   55|      5|    if((srcVal) < (srcType)(dstMin)) {                                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:8): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        xmlSecImpossibleCastError(srcType, (srcVal), srcFmt,                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |  879|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  880|      0|                    (const char*)(errorObject),             \
  |  |  |  |  |  |  881|      0|                    NULL,                                   \
  |  |  |  |  |  |  882|      0|                    XMLSEC_ERRORS_R_CAST_IMPOSSIBLE,        \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  305|      0|#define XMLSEC_ERRORS_R_CAST_IMPOSSIBLE                 101
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  883|      0|                    "src-type=" #srcType "; src-val=" srcFmt  \
  |  |  |  |  |  |  884|      0|                    ";dst-type=" #dstType "; dst-min=" dstFmt \
  |  |  |  |  |  |  885|      0|                    ";dst-max=" dstFmt "",                  \
  |  |  |  |  |  |  886|      0|                    (srcVal), (dstMinVal), (dstMaxVal)      \
  |  |  |  |  |  |  887|      0|        )
  |  |  |  |  ------------------
  |  |  |  |   57|      0|            dstType, dstMin, dstMax, dstFmt, (errorObject));                   \
  |  |  |  |   58|      0|        errorAction;                                                           \
  |  |  |  |   59|      0|    }                                                                          \
  |  |  |  |   60|      5|    (dstVal) = (dstType)(srcVal);                                              \
  |  |  ------------------
  |  |  309|      5|        xmlSecSize, (dstVal), XMLSEC_SIZE_FMT, XMLSEC_SIZE_MIN, XMLSEC_SIZE_MAX, \
  |  |  310|      5|        errorAction, (errorObject))
  ------------------
  768|      5|            ret = xmlSecKeySetNameEx(key, name, nameSize);
  769|      5|            if(ret < 0) {
  ------------------
  |  Branch (769:16): [True: 0, False: 5]
  ------------------
  770|      0|                xmlSecInternalError("xmlSecKeySetNameEx", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  771|      0|                goto done;
  772|      0|            }
  773|      5|        }
  774|      5|    }
  775|       |
  776|       |    /* create x509 data for key */
  777|      5|    if(((*keyCert) != NULL) || ((*certs) != NULL)) {
  ------------------
  |  Branch (777:8): [True: 5, False: 0]
  |  Branch (777:32): [True: 0, False: 0]
  ------------------
  778|      5|        xmlSecKeyDataPtr x509Data;
  779|       |
  780|      5|        x509Data = xmlSecKeyEnsureData(key, xmlSecOpenSSLKeyDataX509Id);
  ------------------
  |  |   35|      5|        xmlSecOpenSSLKeyDataX509GetKlass()
  ------------------
  781|      5|        if(x509Data == NULL) {
  ------------------
  |  Branch (781:12): [True: 0, False: 5]
  ------------------
  782|      0|            xmlSecInternalError("xmlSecKeyEnsureData(xmlSecOpenSSLKeyDataX509Id)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  783|      0|            goto done;
  784|      0|        }
  785|      5|        if((*keyCert) != NULL) {
  ------------------
  |  Branch (785:12): [True: 5, False: 0]
  ------------------
  786|      5|            ret = xmlSecOpenSSLKeyDataX509AdoptKeyCert(x509Data, (*keyCert));
  787|      5|            if(ret < 0) {
  ------------------
  |  Branch (787:16): [True: 0, False: 5]
  ------------------
  788|      0|                xmlSecInternalError("xmlSecOpenSSLKeyDataX509AdoptKeyCert", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  789|      0|                goto done;
  790|      0|            }
  791|      5|            (*keyCert) = NULL; /* owned by x509Data now */
  792|      5|        }
  793|      5|        if((*certs) != NULL) {
  ------------------
  |  Branch (793:12): [True: 5, False: 0]
  ------------------
  794|     15|            while(sk_X509_num((*certs)) > 0) {
  ------------------
  |  Branch (794:19): [True: 10, False: 5]
  ------------------
  795|     10|                X509* cert = sk_X509_pop((*certs));
  796|     10|                if(cert == NULL) {
  ------------------
  |  Branch (796:20): [True: 0, False: 10]
  ------------------
  797|      0|                    continue;
  798|      0|                }
  799|       |
  800|       |                /* don't bother to check against keyCert, the xmlSecOpenSSLKeyDataX509AdoptCert does
  801|       |                 * it automatically */
  802|     10|                ret = xmlSecOpenSSLKeyDataX509AdoptCert(x509Data, cert);
  803|     10|                if(ret < 0) {
  ------------------
  |  Branch (803:20): [True: 0, False: 10]
  ------------------
  804|      0|                    xmlSecInternalError("xmlSecOpenSSLKeyDataX509AdoptCert", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  805|      0|                    X509_free(cert);
  806|      0|                    goto done;
  807|      0|                }
  808|     10|                cert = NULL; /* owned by x509Data now */
  809|     10|            }
  810|      5|        }
  811|      5|    }
  812|       |
  813|       |    /* success */
  814|      5|    res = key;
  815|      5|    key = NULL;
  816|       |
  817|      6|done:
  818|      6|    if(keyValue != NULL) {
  ------------------
  |  Branch (818:8): [True: 0, False: 6]
  ------------------
  819|      0|        xmlSecKeyDataDestroy(keyValue);
  820|      0|    }
  821|      6|    if(key != NULL) {
  ------------------
  |  Branch (821:8): [True: 1, False: 5]
  ------------------
  822|      1|        xmlSecKeyDestroy(key);
  823|      1|    }
  824|      6|    return(res);
  825|      5|}
app.c:xmlSecOpenSSLDummyPasswordCallback:
 2230|      6|                                   void *userdata) {
 2231|      6|    xmlSecSize bufSize;
 2232|      6|    char* password;
 2233|      6|    size_t passwordSize;
 2234|      6|    int passwordLen;
 2235|      6|    UNREFERENCED_PARAMETER(verify);
  ------------------
  |  |  577|      6|#define UNREFERENCED_PARAMETER(param)   ((void)(param))
  ------------------
 2236|       |
 2237|      6|    xmlSecAssert2(buf != NULL, -1);
  ------------------
  |  |  446|      6|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 6]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
 2238|      6|    xmlSecAssert2(bufLen > 1, -1);
  ------------------
  |  |  446|      6|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 6]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
 2239|       |
 2240|      6|    password = (char*)userdata;
 2241|      6|    if(password == NULL) {
  ------------------
  |  Branch (2241:8): [True: 0, False: 6]
  ------------------
 2242|      0|        return(-1);
 2243|      0|    }
 2244|       |
 2245|      6|    passwordSize = strlen(password);
 2246|      6|    XMLSEC_SAFE_CAST_SIZE_T_TO_INT(passwordSize, passwordLen, return(-1), NULL);
  ------------------
  |  |  115|      6|    XMLSEC_SAFE_CAST_MAX_CHECK(size_t, (srcVal), XMLSEC_SIZE_T_FMT,             \
  |  |  ------------------
  |  |  |  |   45|      6|    if((srcVal) > (srcType)(dstMax)) {                                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (45:8): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |   46|      0|        xmlSecImpossibleCastError(srcType, (srcVal), srcFmt,                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |  879|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  880|      0|                    (const char*)(errorObject),             \
  |  |  |  |  |  |  881|      0|                    NULL,                                   \
  |  |  |  |  |  |  882|      0|                    XMLSEC_ERRORS_R_CAST_IMPOSSIBLE,        \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  305|      0|#define XMLSEC_ERRORS_R_CAST_IMPOSSIBLE                 101
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  883|      0|                    "src-type=" #srcType "; src-val=" srcFmt  \
  |  |  |  |  |  |  884|      0|                    ";dst-type=" #dstType "; dst-min=" dstFmt \
  |  |  |  |  |  |  885|      0|                    ";dst-max=" dstFmt "",                  \
  |  |  |  |  |  |  886|      0|                    (srcVal), (dstMinVal), (dstMaxVal)      \
  |  |  |  |  |  |  887|      0|        )
  |  |  |  |  ------------------
  |  |  |  |   47|      0|            dstType, dstMin, dstMax, dstFmt, (errorObject));                   \
  |  |  |  |   48|      0|        errorAction;                                                           \
  |  |  |  |   49|      0|    }                                                                          \
  |  |  |  |   50|      6|    (dstVal) = (dstType)(srcVal);                                              \
  |  |  ------------------
  |  |  116|      6|        int, (dstVal), "%d", INT_MIN, INT_MAX,                                  \
  |  |  117|      6|        errorAction, (errorObject))
  ------------------
 2247|      6|    if(passwordLen + 1 > bufLen) {
  ------------------
  |  Branch (2247:8): [True: 0, False: 6]
  ------------------
 2248|      0|        return(-1);
 2249|      0|    }
 2250|       |
 2251|      6|    XMLSEC_SAFE_CAST_INT_TO_SIZE(bufLen, bufSize, return(-1), NULL);
  ------------------
  |  |  308|      6|    XMLSEC_SAFE_CAST_MIN_CHECK(int, (srcVal), "%d",                              \
  |  |  ------------------
  |  |  |  |   55|      6|    if((srcVal) < (srcType)(dstMin)) {                                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:8): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        xmlSecImpossibleCastError(srcType, (srcVal), srcFmt,                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |  879|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  880|      0|                    (const char*)(errorObject),             \
  |  |  |  |  |  |  881|      0|                    NULL,                                   \
  |  |  |  |  |  |  882|      0|                    XMLSEC_ERRORS_R_CAST_IMPOSSIBLE,        \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  305|      0|#define XMLSEC_ERRORS_R_CAST_IMPOSSIBLE                 101
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  883|      0|                    "src-type=" #srcType "; src-val=" srcFmt  \
  |  |  |  |  |  |  884|      0|                    ";dst-type=" #dstType "; dst-min=" dstFmt \
  |  |  |  |  |  |  885|      0|                    ";dst-max=" dstFmt "",                  \
  |  |  |  |  |  |  886|      0|                    (srcVal), (dstMinVal), (dstMaxVal)      \
  |  |  |  |  |  |  887|      0|        )
  |  |  |  |  ------------------
  |  |  |  |   57|      0|            dstType, dstMin, dstMax, dstFmt, (errorObject));                   \
  |  |  |  |   58|      0|        errorAction;                                                           \
  |  |  |  |   59|      0|    }                                                                          \
  |  |  |  |   60|      6|    (dstVal) = (dstType)(srcVal);                                              \
  |  |  ------------------
  |  |  309|      6|        xmlSecSize, (dstVal), XMLSEC_SIZE_FMT, XMLSEC_SIZE_MIN, XMLSEC_SIZE_MAX, \
  |  |  310|      6|        errorAction, (errorObject))
  ------------------
 2252|       |#if defined(_MSC_VER)
 2253|       |    strcpy_s(buf, bufSize, password);
 2254|       |#else  /* defined(_MSC_VER) */
 2255|      6|    strncpy(buf, password, bufSize);
 2256|      6|    buf[bufLen - 1] = '\0'; /* ensure \0 terminated */
 2257|      6|#endif /* defined(_MSC_VER) */
 2258|       |
 2259|      6|    return (passwordLen);
 2260|      6|}

xmlSecOpenSSLTransformAes128CbcGetKlass:
 1093|      1|xmlSecOpenSSLTransformAes128CbcGetKlass(void) {
 1094|      1|    return(&xmlSecOpenSSLAes128CbcKlass);
 1095|      1|}
xmlSecOpenSSLTransformAes192CbcGetKlass:
 1105|      1|xmlSecOpenSSLTransformAes192CbcGetKlass(void) {
 1106|      1|    return(&xmlSecOpenSSLAes192CbcKlass);
 1107|      1|}
xmlSecOpenSSLTransformAes256CbcGetKlass:
 1117|      1|xmlSecOpenSSLTransformAes256CbcGetKlass(void) {
 1118|      1|    return(&xmlSecOpenSSLAes256CbcKlass);
 1119|      1|}
xmlSecOpenSSLTransformAes128GcmGetKlass:
 1130|      1|{
 1131|      1|    return(&xmlSecOpenSSLAes128GcmKlass);
 1132|      1|}
xmlSecOpenSSLTransformAes192GcmGetKlass:
 1143|      1|{
 1144|      1|    return(&xmlSecOpenSSLAes192GcmKlass);
 1145|      1|}
xmlSecOpenSSLTransformAes256GcmGetKlass:
 1156|      1|{
 1157|      1|    return(&xmlSecOpenSSLAes256GcmKlass);
 1158|      1|}
xmlSecOpenSSLTransformCamellia128CbcGetKlass:
 1176|      1|xmlSecOpenSSLTransformCamellia128CbcGetKlass(void) {
 1177|      1|    return(&xmlSecOpenSSLCamellia128CbcKlass);
 1178|      1|}
xmlSecOpenSSLTransformCamellia192CbcGetKlass:
 1188|      1|xmlSecOpenSSLTransformCamellia192CbcGetKlass(void) {
 1189|      1|    return(&xmlSecOpenSSLCamellia192CbcKlass);
 1190|      1|}
xmlSecOpenSSLTransformCamellia256CbcGetKlass:
 1200|      1|xmlSecOpenSSLTransformCamellia256CbcGetKlass(void) {
 1201|      1|    return(&xmlSecOpenSSLCamellia256CbcKlass);
 1202|      1|}
xmlSecOpenSSLTransformDes3CbcGetKlass:
 1215|      1|xmlSecOpenSSLTransformDes3CbcGetKlass(void) {
 1216|      1|    return(&xmlSecOpenSSLDes3CbcKlass);
 1217|      1|}
xmlSecOpenSSLTransformChaCha20GetKlass:
 1300|      1|xmlSecOpenSSLTransformChaCha20GetKlass(void) {
 1301|      1|    return(&xmlSecOpenSSLChaCha20Klass);
 1302|      1|}
xmlSecOpenSSLTransformChaCha20Poly1305GetKlass:
 1375|      1|xmlSecOpenSSLTransformChaCha20Poly1305GetKlass(void) {
 1376|      1|    return(&xmlSecOpenSSLChaCha20Poly1305Klass);
 1377|      1|}

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

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

xmlSecOpenSSLTransformMd5GetKlass:
  522|      1|xmlSecOpenSSLTransformMd5GetKlass(void) {
  523|      1|    return(&xmlSecOpenSSLMd5Klass);
  524|      1|}
xmlSecOpenSSLTransformRipemd160GetKlass:
  541|      1|xmlSecOpenSSLTransformRipemd160GetKlass(void) {
  542|      1|    return(&xmlSecOpenSSLRipemd160Klass);
  543|      1|}
xmlSecOpenSSLTransformSha1GetKlass:
  561|      1|xmlSecOpenSSLTransformSha1GetKlass(void) {
  562|      1|    return(&xmlSecOpenSSLSha1Klass);
  563|      1|}
xmlSecOpenSSLTransformSha224GetKlass:
  580|      1|xmlSecOpenSSLTransformSha224GetKlass(void) {
  581|      1|    return(&xmlSecOpenSSLSha224Klass);
  582|      1|}
xmlSecOpenSSLTransformSha256GetKlass:
  599|      1|xmlSecOpenSSLTransformSha256GetKlass(void) {
  600|      1|    return(&xmlSecOpenSSLSha256Klass);
  601|      1|}
xmlSecOpenSSLTransformSha384GetKlass:
  618|      1|xmlSecOpenSSLTransformSha384GetKlass(void) {
  619|      1|    return(&xmlSecOpenSSLSha384Klass);
  620|      1|}
xmlSecOpenSSLTransformSha512GetKlass:
  637|      1|xmlSecOpenSSLTransformSha512GetKlass(void) {
  638|      1|    return(&xmlSecOpenSSLSha512Klass);
  639|      1|}
xmlSecOpenSSLTransformSha3_224GetKlass:
  657|      1|xmlSecOpenSSLTransformSha3_224GetKlass(void) {
  658|      1|    return(&xmlSecOpenSSLSha3_224Klass);
  659|      1|}
xmlSecOpenSSLTransformSha3_256GetKlass:
  674|      1|xmlSecOpenSSLTransformSha3_256GetKlass(void) {
  675|      1|    return(&xmlSecOpenSSLSha3_256Klass);
  676|      1|}
xmlSecOpenSSLTransformSha3_384GetKlass:
  691|      1|xmlSecOpenSSLTransformSha3_384GetKlass(void) {
  692|      1|    return(&xmlSecOpenSSLSha3_384Klass);
  693|      1|}
xmlSecOpenSSLTransformSha3_512GetKlass:
  708|      1|xmlSecOpenSSLTransformSha3_512GetKlass(void) {
  709|      1|    return(&xmlSecOpenSSLSha3_512Klass);
  710|      1|}

xmlSecOpenSSLEvpKeyDataAdoptEvp:
  148|     29|xmlSecOpenSSLEvpKeyDataAdoptEvp(xmlSecKeyDataPtr data, EVP_PKEY* pKey) {
  149|     29|    xmlSecOpenSSLEvpKeyDataCtxPtr ctx;
  150|       |
  151|     29|    xmlSecAssert2(xmlSecKeyDataIsValid(data), -1);
  ------------------
  |  |  446|    232|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  152|     29|    xmlSecAssert2(xmlSecKeyDataCheckSize(data, xmlSecOpenSSLEvpKeyDataSize), -1);
  ------------------
  |  |  446|    290|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  153|     29|    xmlSecAssert2(pKey != NULL, -1);
  ------------------
  |  |  446|     29|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 29]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  154|       |
  155|     29|    ctx = xmlSecOpenSSLEvpKeyDataGetCtx(data);
  156|     29|    xmlSecAssert2(ctx != NULL, -1);
  ------------------
  |  |  446|     29|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 29]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  157|       |
  158|     29|    if(ctx->pKey != NULL) {
  ------------------
  |  Branch (158:8): [True: 0, False: 29]
  ------------------
  159|      0|        EVP_PKEY_free(ctx->pKey);
  160|      0|    }
  161|     29|    ctx->pKey = pKey;
  162|     29|    return(0);
  163|     29|}
xmlSecOpenSSLEvpKeyAdopt:
  787|     32|xmlSecOpenSSLEvpKeyAdopt(EVP_PKEY *pKey) {
  788|     32|    xmlSecKeyDataPtr data = NULL;
  789|     32|    xmlSecKeyDataId id;
  790|     32|    int ret;
  791|       |
  792|     32|    xmlSecAssert2(pKey != NULL, NULL);
  ------------------
  |  |  446|     32|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 32]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  793|       |
  794|     32|    id = xmlSecOpenSSLEvpKeyGetKeyDataId(pKey);
  795|     32|    if(id == NULL) {
  ------------------
  |  Branch (795:8): [True: 3, False: 29]
  ------------------
  796|      3|        xmlSecInvalidIntegerTypeError("evp key type", EVP_PKEY_base_id(pKey), "unsupported evp key type", NULL);
  ------------------
  |  |  532|      3|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      3|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  533|      3|                    (const char*)(errorObject),             \
  |  |  534|      3|                    NULL,                                   \
  |  |  535|      3|                    XMLSEC_ERRORS_R_INVALID_TYPE,           \
  |  |  ------------------
  |  |  |  |   98|      3|#define XMLSEC_ERRORS_R_INVALID_TYPE                    14
  |  |  ------------------
  |  |  536|      3|                    "invalid type for '%s': actual=%d and expected %s", \
  |  |  537|      3|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  405|      3|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 3, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  538|      3|                    (actual),                               \
  |  |  539|      3|                    (expected)                              \
  |  |  540|      3|        )
  ------------------
  797|      3|        return(NULL);
  798|      3|    }
  799|       |
  800|     29|     data = xmlSecKeyDataCreate(id);
  801|     29|    if(data == NULL) {
  ------------------
  |  Branch (801:8): [True: 0, False: 29]
  ------------------
  802|      0|        xmlSecInternalError("xmlSecKeyDataCreate", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  803|      0|        return(NULL);
  804|      0|    }
  805|       |
  806|     29|    ret = xmlSecOpenSSLEvpKeyDataAdoptEvp(data, pKey);
  807|     29|    if(ret < 0) {
  ------------------
  |  Branch (807:8): [True: 0, False: 29]
  ------------------
  808|      0|        xmlSecInternalError("xmlSecOpenSSLEvpKeyDataAdoptEvp", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  809|      0|        xmlSecKeyDataDestroy(data);
  810|      0|        return(NULL);
  811|      0|    }
  812|     29|    pKey = NULL;
  813|       |
  814|     29|    return(data);
  815|     29|}
xmlSecOpenSSLKeyDataDsaGetKlass:
 1016|     17|xmlSecOpenSSLKeyDataDsaGetKlass(void) {
 1017|     17|    return(&xmlSecOpenSSLKeyDataDsaKlass);
 1018|     17|}
xmlSecOpenSSLKeyDataDhGetKlass:
 1785|      2|xmlSecOpenSSLKeyDataDhGetKlass(void) {
 1786|      2|    return(&xmlSecOpenSSLKeyDataDhKlass);
 1787|      2|}
xmlSecOpenSSLKeyDataEcGetKlass:
 2574|      4|xmlSecOpenSSLKeyDataEcGetKlass(void) {
 2575|      4|    return(&xmlSecOpenSSLKeyDataEcKlass);
 2576|      4|}
xmlSecOpenSSLKeyDataRsaGetKlass:
 3254|      2|xmlSecOpenSSLKeyDataRsaGetKlass(void) {
 3255|      2|    return(&xmlSecOpenSSLKeyDataRsaKlass);
 3256|      2|}
xmlSecOpenSSLKeyDataXdhGetKlass:
 4264|      9|xmlSecOpenSSLKeyDataXdhGetKlass(void) {
 4265|      9|    return(&xmlSecOpenSSLKeyDataXdhKlass);
 4266|      9|}
evp.c:xmlSecOpenSSLEvpKeyGetKeyDataId:
  699|     32|xmlSecOpenSSLEvpKeyGetKeyDataId(EVP_PKEY *pKey) {
  700|       |
  701|     32|    xmlSecAssert2(pKey != NULL, NULL);
  ------------------
  |  |  446|     32|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 32]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  702|       |
  703|     32|    switch(xmlSecOpenSSLEvpKeyGetId(pKey)) {
  ------------------
  |  Branch (703:12): [True: 29, False: 3]
  ------------------
  704|      0|#ifndef XMLSEC_NO_DH
  705|      1|    case EVP_PKEY_DHX:
  ------------------
  |  Branch (705:5): [True: 1, False: 31]
  ------------------
  706|      1|        return (xmlSecOpenSSLKeyDataDhId);
  ------------------
  |  |  549|      1|        xmlSecOpenSSLKeyDataDhGetKlass()
  ------------------
  707|      0|#endif /* XMLSEC_NO_DH */
  708|       |
  709|      0|#ifndef XMLSEC_NO_DSA
  710|     16|    case EVP_PKEY_DSA:
  ------------------
  |  Branch (710:5): [True: 16, False: 16]
  ------------------
  711|     16|       return (xmlSecOpenSSLKeyDataDsaId);
  ------------------
  |  |  510|     16|        xmlSecOpenSSLKeyDataDsaGetKlass()
  ------------------
  712|      0|#endif /* XMLSEC_NO_DSA */
  713|       |
  714|      0|#ifndef XMLSEC_NO_EC
  715|      3|    case EVP_PKEY_EC:
  ------------------
  |  Branch (715:5): [True: 3, False: 29]
  ------------------
  716|      3|        return (xmlSecOpenSSLKeyDataEcId);
  ------------------
  |  |  577|      3|#define xmlSecOpenSSLKeyDataEcId        xmlSecOpenSSLKeyDataEcGetKlass()
  ------------------
  717|      0|#endif /* XMLSEC_NO_EC */
  718|       |
  719|       |#ifndef XMLSEC_NO_GOST
  720|       |    case NID_id_GostR3410_2001:
  721|       |        return (xmlSecOpenSSLKeyDataGost2001Id);
  722|       |#endif /* XMLSEC_NO_GOST */
  723|       |
  724|       |#ifndef XMLSEC_NO_GOST2012
  725|       |    case NID_id_GostR3410_2012_256:
  726|       |        return (xmlSecOpenSSLKeyDataGostR3410_2012_256Id);
  727|       |
  728|       |    case NID_id_GostR3410_2012_512:
  729|       |        return (xmlSecOpenSSLKeyDataGostR3410_2012_512Id);
  730|       |#endif /* XMLSEC_NO_GOST2012 */
  731|       |
  732|       |#ifndef XMLSEC_NO_MLDSA
  733|       |    case EVP_PKEY_ML_DSA_44:
  734|       |    case EVP_PKEY_ML_DSA_65:
  735|       |    case EVP_PKEY_ML_DSA_87:
  736|       |        return (xmlSecOpenSSLKeyDataMLDSAId);
  737|       |#endif /* XMLSEC_NO_MLDSA */
  738|       |
  739|       |#ifndef XMLSEC_NO_MLKEM
  740|       |    case NID_ML_KEM_512:
  741|       |    case NID_ML_KEM_768:
  742|       |    case NID_ML_KEM_1024:
  743|       |        return (xmlSecOpenSSLKeyDataMLKEMId);
  744|       |#endif /* XMLSEC_NO_MLKEM */
  745|       |
  746|       |#ifndef XMLSEC_NO_SLHDSA
  747|       |    case EVP_PKEY_SLH_DSA_SHA2_128F:
  748|       |    case EVP_PKEY_SLH_DSA_SHA2_128S:
  749|       |    case EVP_PKEY_SLH_DSA_SHA2_192F:
  750|       |    case EVP_PKEY_SLH_DSA_SHA2_192S:
  751|       |    case EVP_PKEY_SLH_DSA_SHA2_256F:
  752|       |    case EVP_PKEY_SLH_DSA_SHA2_256S:
  753|       |        return (xmlSecOpenSSLKeyDataSLHDSAId);
  754|       |#endif /* XMLSEC_NO_SLHDSA */
  755|       |
  756|       |#ifndef XMLSEC_NO_EDDSA
  757|       |    case EVP_PKEY_ED25519:
  758|       |    case EVP_PKEY_ED448:
  759|       |        return (xmlSecOpenSSLKeyDataEdDSAId);
  760|       |#endif /* XMLSEC_NO_EDDSA */
  761|       |
  762|      0|#ifndef XMLSEC_NO_XDH
  763|      7|    case EVP_PKEY_X25519:
  ------------------
  |  Branch (763:5): [True: 7, False: 25]
  ------------------
  764|      8|    case EVP_PKEY_X448:
  ------------------
  |  Branch (764:5): [True: 1, False: 31]
  ------------------
  765|      8|        return (xmlSecOpenSSLKeyDataXdhId);
  ------------------
  |  | 1345|      8|        xmlSecOpenSSLKeyDataXdhGetKlass()
  ------------------
  766|      0|#endif /* XMLSEC_NO_XDH */
  767|       |
  768|      0|#ifndef XMLSEC_NO_RSA
  769|      1|    case EVP_PKEY_RSA:
  ------------------
  |  Branch (769:5): [True: 1, False: 31]
  ------------------
  770|      1|    case EVP_PKEY_RSA2:
  ------------------
  |  Branch (770:5): [True: 0, False: 32]
  ------------------
  771|      1|    case EVP_PKEY_RSA_PSS:
  ------------------
  |  Branch (771:5): [True: 0, False: 32]
  ------------------
  772|      1|        return (xmlSecOpenSSLKeyDataRsaId);
  ------------------
  |  |  949|      1|        xmlSecOpenSSLKeyDataRsaGetKlass()
  ------------------
  773|     32|#endif /* XMLSEC_NO_RSA */
  774|     32|    }
  775|       |
  776|       |    /* no luck */
  777|      3|    return(NULL);
  778|     32|}
evp.c:xmlSecOpenSSLEvpKeyGetId:
  637|     32|xmlSecOpenSSLEvpKeyGetId(EVP_PKEY *pKey) {
  638|     32|    const char * typeName;
  639|     32|    int id;
  640|       |
  641|     32|    xmlSecAssert2(pKey != NULL, EVP_PKEY_NONE);
  ------------------
  |  |  446|     32|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 32]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  642|       |
  643|     32|    id = EVP_PKEY_base_id(pKey);
  644|     32|    if(id != EVP_PKEY_NONE) {
  ------------------
  |  Branch (644:8): [True: 32, False: 0]
  ------------------
  645|     32|        return(id);
  646|     32|    }
  647|      0|    typeName = EVP_PKEY_get0_type_name(pKey);
  648|      0|    if(typeName != NULL) {
  ------------------
  |  Branch (648:8): [True: 0, False: 0]
  ------------------
  649|       |#ifndef XMLSEC_NO_MLDSA
  650|       |        if(strcmp(LN_ML_DSA_44, typeName) == 0) {
  651|       |            return (EVP_PKEY_ML_DSA_44);
  652|       |        } else if(strcmp(LN_ML_DSA_65, typeName) == 0) {
  653|       |            return (EVP_PKEY_ML_DSA_65);
  654|       |        } else if(strcmp(LN_ML_DSA_87, typeName) == 0) {
  655|       |            return (EVP_PKEY_ML_DSA_87);
  656|       |        }
  657|       |#endif /* XMLSEC_NO_MLDSA */
  658|       |
  659|       |#ifndef XMLSEC_NO_MLKEM
  660|       |        if(strcmp(LN_ML_KEM_512, typeName) == 0) {
  661|       |            return (NID_ML_KEM_512);
  662|       |        } else if(strcmp(LN_ML_KEM_768, typeName) == 0) {
  663|       |            return (NID_ML_KEM_768);
  664|       |        } else if(strcmp(LN_ML_KEM_1024, typeName) == 0) {
  665|       |            return (NID_ML_KEM_1024);
  666|       |        }
  667|       |#endif /* XMLSEC_NO_MLKEM */
  668|       |
  669|       |#ifndef XMLSEC_NO_SLHDSA
  670|       |        if(strcmp(LN_SLH_DSA_SHA2_128f, typeName) == 0) {
  671|       |            return (EVP_PKEY_SLH_DSA_SHA2_128F);
  672|       |        } else if(strcmp(LN_SLH_DSA_SHA2_128s, typeName) == 0) {
  673|       |            return (EVP_PKEY_SLH_DSA_SHA2_128S);
  674|       |        } else if(strcmp(LN_SLH_DSA_SHA2_192f, typeName) == 0) {
  675|       |            return (EVP_PKEY_SLH_DSA_SHA2_192F);
  676|       |        } else if(strcmp(LN_SLH_DSA_SHA2_192s, typeName) == 0) {
  677|       |            return (EVP_PKEY_SLH_DSA_SHA2_192S);
  678|       |        } else if(strcmp(LN_SLH_DSA_SHA2_256f, typeName) == 0) {
  679|       |            return (EVP_PKEY_SLH_DSA_SHA2_256F);
  680|       |        } else if(strcmp(LN_SLH_DSA_SHA2_256s, typeName) == 0) {
  681|       |            return (EVP_PKEY_SLH_DSA_SHA2_256S);
  682|       |        }
  683|       |#endif /* XMLSEC_NO_SLHDSA */
  684|       |
  685|      0|    }
  686|       |
  687|       |    /* no luck */
  688|       |    return(EVP_PKEY_NONE);
  689|     32|}
evp.c:xmlSecOpenSSLEvpKeyDataInitialize:
  203|     29|xmlSecOpenSSLEvpKeyDataInitialize(xmlSecKeyDataPtr data) {
  204|     29|    xmlSecOpenSSLEvpKeyDataCtxPtr ctx;
  205|       |
  206|     29|    xmlSecAssert2(xmlSecKeyDataIsValid(data), -1);
  ------------------
  |  |  446|    232|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  207|     29|    xmlSecAssert2(xmlSecKeyDataCheckSize(data, xmlSecOpenSSLEvpKeyDataSize), -1);
  ------------------
  |  |  446|    290|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  |  Branch (446:15): [True: 29, False: 0]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  208|       |
  209|     29|    ctx = xmlSecOpenSSLEvpKeyDataGetCtx(data);
  210|     29|    xmlSecAssert2(ctx != NULL, -1);
  ------------------
  |  |  446|     29|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 29]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  211|       |
  212|     29|    memset(ctx, 0, sizeof(xmlSecOpenSSLEvpKeyDataCtx));
  213|       |
  214|     29|    return(0);
  215|     29|}
evp.c:xmlSecOpenSSLEvpKeyDataFinalize:
  249|     29|xmlSecOpenSSLEvpKeyDataFinalize(xmlSecKeyDataPtr data) {
  250|     29|    xmlSecOpenSSLEvpKeyDataCtxPtr ctx;
  251|       |
  252|     29|    xmlSecAssert(xmlSecKeyDataIsValid(data));
  ------------------
  |  |  431|    232|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (431:15): [True: 29, False: 0]
  |  |  |  Branch (431:15): [True: 29, False: 0]
  |  |  |  Branch (431:15): [True: 29, False: 0]
  |  |  |  Branch (431:15): [True: 29, False: 0]
  |  |  |  Branch (431:15): [True: 29, False: 0]
  |  |  ------------------
  |  |  432|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  433|      0|                        NULL, \
  |  |  434|      0|                        #p, \
  |  |  435|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  436|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  437|      0|            return; \
  |  |  438|      0|        }
  ------------------
  253|     29|    xmlSecAssert(xmlSecKeyDataCheckSize(data, xmlSecOpenSSLEvpKeyDataSize));
  ------------------
  |  |  431|    290|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (431:15): [True: 29, False: 0]
  |  |  |  Branch (431:15): [True: 29, False: 0]
  |  |  |  Branch (431:15): [True: 29, False: 0]
  |  |  |  Branch (431:15): [True: 29, False: 0]
  |  |  |  Branch (431:15): [True: 29, False: 0]
  |  |  |  Branch (431:15): [True: 29, False: 0]
  |  |  ------------------
  |  |  432|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  433|      0|                        NULL, \
  |  |  434|      0|                        #p, \
  |  |  435|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  436|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  437|      0|            return; \
  |  |  438|      0|        }
  ------------------
  254|       |
  255|     29|    ctx = xmlSecOpenSSLEvpKeyDataGetCtx(data);
  256|     29|    xmlSecAssert(ctx != NULL);
  ------------------
  |  |  431|     29|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (431:12): [True: 0, False: 29]
  |  |  ------------------
  |  |  432|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  433|      0|                        NULL, \
  |  |  434|      0|                        #p, \
  |  |  435|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  436|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  437|      0|            return; \
  |  |  438|      0|        }
  ------------------
  257|       |
  258|     29|    if(ctx->pKey != NULL) {
  ------------------
  |  Branch (258:8): [True: 29, False: 0]
  ------------------
  259|     29|        EVP_PKEY_free(ctx->pKey);
  260|     29|    }
  261|     29|    OPENSSL_cleanse(ctx, sizeof(xmlSecOpenSSLEvpKeyDataCtx));
  262|     29|}

xmlSecOpenSSLTransformHmacMd5GetKlass:
  631|      1|xmlSecOpenSSLTransformHmacMd5GetKlass(void) {
  632|      1|    return(&xmlSecOpenSSLHmacMd5Klass);
  633|      1|}
xmlSecOpenSSLTransformHmacRipemd160GetKlass:
  647|      1|xmlSecOpenSSLTransformHmacRipemd160GetKlass(void) {
  648|      1|    return(&xmlSecOpenSSLHmacRipemd160Klass);
  649|      1|}
xmlSecOpenSSLTransformHmacSha1GetKlass:
  661|      1|xmlSecOpenSSLTransformHmacSha1GetKlass(void) {
  662|      1|    return(&xmlSecOpenSSLHmacSha1Klass);
  663|      1|}
xmlSecOpenSSLTransformHmacSha224GetKlass:
  676|      1|xmlSecOpenSSLTransformHmacSha224GetKlass(void) {
  677|      1|    return(&xmlSecOpenSSLHmacSha224Klass);
  678|      1|}
xmlSecOpenSSLTransformHmacSha256GetKlass:
  691|      1|xmlSecOpenSSLTransformHmacSha256GetKlass(void) {
  692|      1|    return(&xmlSecOpenSSLHmacSha256Klass);
  693|      1|}
xmlSecOpenSSLTransformHmacSha384GetKlass:
  706|      1|xmlSecOpenSSLTransformHmacSha384GetKlass(void) {
  707|      1|    return(&xmlSecOpenSSLHmacSha384Klass);
  708|      1|}
xmlSecOpenSSLTransformHmacSha512GetKlass:
  721|      1|xmlSecOpenSSLTransformHmacSha512GetKlass(void) {
  722|      1|    return(&xmlSecOpenSSLHmacSha512Klass);
  723|      1|}

xmlSecOpenSSLTransformConcatKdfGetKlass:
  583|      1|xmlSecOpenSSLTransformConcatKdfGetKlass(void) {
  584|      1|    return(&xmlSecOpenSSLConcatKdfKlass);
  585|      1|}
xmlSecOpenSSLTransformPbkdf2GetKlass:
  799|      1|xmlSecOpenSSLTransformPbkdf2GetKlass(void) {
  800|      1|    return(&xmlSecOpenSSLPbkdf2Klass);
  801|      1|}
xmlSecOpenSSLTransformHkdfGetKlass:
 1014|      1|xmlSecOpenSSLTransformHkdfGetKlass(void) {
 1015|      1|    return(&xmlSecOpenSSLHkdfKlass);
 1016|      1|}

xmlSecOpenSSLTransformEcdhGetKlass:
  496|      1|xmlSecOpenSSLTransformEcdhGetKlass(void) {
  497|      1|    return(&xmlSecOpenSSLEcdhKlass);
  498|      1|}
xmlSecOpenSSLTransformDhEsGetKlass:
  525|      1|xmlSecOpenSSLTransformDhEsGetKlass(void) {
  526|      1|    return(&xmlSecOpenSSLDhKlass);
  527|      1|}
xmlSecOpenSSLTransformX25519GetKlass:
  548|      1|xmlSecOpenSSLTransformX25519GetKlass(void) {
  549|      1|    return(&xmlSecOpenSSLX25519Klass);
  550|      1|}
xmlSecOpenSSLTransformX448GetKlass:
  560|      1|xmlSecOpenSSLTransformX448GetKlass(void) {
  561|      1|    return(&xmlSecOpenSSLX448Klass);
  562|      1|}

xmlSecOpenSSLTransformRsaPkcs1GetKlass:
  114|      1|xmlSecOpenSSLTransformRsaPkcs1GetKlass(void) {
  115|      1|    return(&xmlSecOpenSSLRsaPkcs1Klass);
  116|      1|}
xmlSecOpenSSLTransformRsaOaepGetKlass:
  596|      1|xmlSecOpenSSLTransformRsaOaepGetKlass(void) {
  597|      1|    return(&xmlSecOpenSSLRsaOaepKlass);
  598|      1|}
xmlSecOpenSSLTransformRsaOaepEnc11GetKlass:
  633|      1|xmlSecOpenSSLTransformRsaOaepEnc11GetKlass(void) {
  634|      1|    return(&xmlSecOpenSSLRsaOaepEnc11Klass);
  635|      1|}

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

xmlSecOpenSSLTransformKWAes128GetKlass:
  653|      1|xmlSecOpenSSLTransformKWAes128GetKlass(void) {
  654|      1|    return(&xmlSecOpenSSLKWAes128Klass);
  655|      1|}
xmlSecOpenSSLTransformKWAes192GetKlass:
  665|      1|xmlSecOpenSSLTransformKWAes192GetKlass(void) {
  666|      1|    return(&xmlSecOpenSSLKWAes192Klass);
  667|      1|}
xmlSecOpenSSLTransformKWAes256GetKlass:
  676|      1|xmlSecOpenSSLTransformKWAes256GetKlass(void) {
  677|      1|    return(&xmlSecOpenSSLKWAes256Klass);
  678|      1|}
xmlSecOpenSSLTransformKWCamellia128GetKlass:
  744|      1|xmlSecOpenSSLTransformKWCamellia128GetKlass(void) {
  745|      1|    return(&xmlSecOpenSSLKWCamellia128Klass);
  746|      1|}
xmlSecOpenSSLTransformKWCamellia192GetKlass:
  755|      1|xmlSecOpenSSLTransformKWCamellia192GetKlass(void) {
  756|      1|    return(&xmlSecOpenSSLKWCamellia192Klass);
  757|      1|}
xmlSecOpenSSLTransformKWCamellia256GetKlass:
  766|      1|xmlSecOpenSSLTransformKWCamellia256GetKlass(void) {
  767|      1|    return(&xmlSecOpenSSLKWCamellia256Klass);
  768|      1|}

xmlSecOpenSSLTransformRsaMd5GetKlass:
 1606|      1|xmlSecOpenSSLTransformRsaMd5GetKlass(void) {
 1607|      1|    return(&xmlSecOpenSSLRsaMd5Klass);
 1608|      1|}
xmlSecOpenSSLTransformRsaRipemd160GetKlass:
 1621|      1|xmlSecOpenSSLTransformRsaRipemd160GetKlass(void) {
 1622|      1|    return(&xmlSecOpenSSLRsaRipemd160Klass);
 1623|      1|}
xmlSecOpenSSLTransformRsaSha1GetKlass:
 1636|      1|xmlSecOpenSSLTransformRsaSha1GetKlass(void) {
 1637|      1|    return(&xmlSecOpenSSLRsaSha1Klass);
 1638|      1|}
xmlSecOpenSSLTransformRsaSha224GetKlass:
 1651|      1|xmlSecOpenSSLTransformRsaSha224GetKlass(void) {
 1652|      1|    return(&xmlSecOpenSSLRsaSha224Klass);
 1653|      1|}
xmlSecOpenSSLTransformRsaSha256GetKlass:
 1666|      1|xmlSecOpenSSLTransformRsaSha256GetKlass(void) {
 1667|      1|    return(&xmlSecOpenSSLRsaSha256Klass);
 1668|      1|}
xmlSecOpenSSLTransformRsaSha384GetKlass:
 1681|      1|xmlSecOpenSSLTransformRsaSha384GetKlass(void) {
 1682|      1|    return(&xmlSecOpenSSLRsaSha384Klass);
 1683|      1|}
xmlSecOpenSSLTransformRsaSha512GetKlass:
 1696|      1|xmlSecOpenSSLTransformRsaSha512GetKlass(void) {
 1697|      1|    return(&xmlSecOpenSSLRsaSha512Klass);
 1698|      1|}
xmlSecOpenSSLTransformRsaPssSha1GetKlass:
 1711|      1|xmlSecOpenSSLTransformRsaPssSha1GetKlass(void) {
 1712|      1|    return(&xmlSecOpenSSLRsaPssSha1Klass);
 1713|      1|}
xmlSecOpenSSLTransformRsaPssSha224GetKlass:
 1727|      1|xmlSecOpenSSLTransformRsaPssSha224GetKlass(void) {
 1728|      1|    return(&xmlSecOpenSSLRsaPssSha224Klass);
 1729|      1|}
xmlSecOpenSSLTransformRsaPssSha256GetKlass:
 1742|      1|xmlSecOpenSSLTransformRsaPssSha256GetKlass(void) {
 1743|      1|    return(&xmlSecOpenSSLRsaPssSha256Klass);
 1744|      1|}
xmlSecOpenSSLTransformRsaPssSha384GetKlass:
 1757|      1|xmlSecOpenSSLTransformRsaPssSha384GetKlass(void) {
 1758|      1|    return(&xmlSecOpenSSLRsaPssSha384Klass);
 1759|      1|}
xmlSecOpenSSLTransformRsaPssSha512GetKlass:
 1772|      1|xmlSecOpenSSLTransformRsaPssSha512GetKlass(void) {
 1773|      1|    return(&xmlSecOpenSSLRsaPssSha512Klass);
 1774|      1|}
xmlSecOpenSSLTransformRsaPssSha3_224GetKlass:
 1789|      1|xmlSecOpenSSLTransformRsaPssSha3_224GetKlass(void) {
 1790|      1|    return(&xmlSecOpenSSLRsaPssSha3_224Klass);
 1791|      1|}
xmlSecOpenSSLTransformRsaPssSha3_256GetKlass:
 1801|      1|xmlSecOpenSSLTransformRsaPssSha3_256GetKlass(void) {
 1802|      1|    return(&xmlSecOpenSSLRsaPssSha3_256Klass);
 1803|      1|}
xmlSecOpenSSLTransformRsaPssSha3_384GetKlass:
 1813|      1|xmlSecOpenSSLTransformRsaPssSha3_384GetKlass(void) {
 1814|      1|    return(&xmlSecOpenSSLRsaPssSha3_384Klass);
 1815|      1|}
xmlSecOpenSSLTransformRsaPssSha3_512GetKlass:
 1825|      1|xmlSecOpenSSLTransformRsaPssSha3_512GetKlass(void) {
 1826|      1|    return(&xmlSecOpenSSLRsaPssSha3_512Klass);
 1827|      1|}
xmlSecOpenSSLTransformDsaSha1GetKlass:
 2067|      1|xmlSecOpenSSLTransformDsaSha1GetKlass(void) {
 2068|      1|    return(&xmlSecOpenSSLDsaSha1Klass);
 2069|      1|}
xmlSecOpenSSLTransformDsaSha256GetKlass:
 2082|      1|xmlSecOpenSSLTransformDsaSha256GetKlass(void) {
 2083|      1|    return(&xmlSecOpenSSLDsaSha256Klass);
 2084|      1|}
xmlSecOpenSSLTransformEcdsaRipemd160GetKlass:
 2370|      1|xmlSecOpenSSLTransformEcdsaRipemd160GetKlass(void) {
 2371|      1|    return(&xmlSecOpenSSLEcdsaRipemd160Klass);
 2372|      1|}
xmlSecOpenSSLTransformEcdsaSha1GetKlass:
 2385|      1|xmlSecOpenSSLTransformEcdsaSha1GetKlass(void) {
 2386|      1|    return(&xmlSecOpenSSLEcdsaSha1Klass);
 2387|      1|}
xmlSecOpenSSLTransformEcdsaSha224GetKlass:
 2400|      1|xmlSecOpenSSLTransformEcdsaSha224GetKlass(void) {
 2401|      1|    return(&xmlSecOpenSSLEcdsaSha224Klass);
 2402|      1|}
xmlSecOpenSSLTransformEcdsaSha256GetKlass:
 2415|      1|xmlSecOpenSSLTransformEcdsaSha256GetKlass(void) {
 2416|      1|    return(&xmlSecOpenSSLEcdsaSha256Klass);
 2417|      1|}
xmlSecOpenSSLTransformEcdsaSha384GetKlass:
 2430|      1|xmlSecOpenSSLTransformEcdsaSha384GetKlass(void) {
 2431|      1|    return(&xmlSecOpenSSLEcdsaSha384Klass);
 2432|      1|}
xmlSecOpenSSLTransformEcdsaSha512GetKlass:
 2445|      1|xmlSecOpenSSLTransformEcdsaSha512GetKlass(void) {
 2446|      1|    return(&xmlSecOpenSSLEcdsaSha512Klass);
 2447|      1|}
xmlSecOpenSSLTransformEcdsaSha3_224GetKlass:
 2461|      1|xmlSecOpenSSLTransformEcdsaSha3_224GetKlass(void) {
 2462|      1|    return(&xmlSecOpenSSLEcdsaSha3_224Klass);
 2463|      1|}
xmlSecOpenSSLTransformEcdsaSha3_256GetKlass:
 2473|      1|xmlSecOpenSSLTransformEcdsaSha3_256GetKlass(void) {
 2474|      1|    return(&xmlSecOpenSSLEcdsaSha3_256Klass);
 2475|      1|}
xmlSecOpenSSLTransformEcdsaSha3_384GetKlass:
 2485|      1|xmlSecOpenSSLTransformEcdsaSha3_384GetKlass(void) {
 2486|      1|    return(&xmlSecOpenSSLEcdsaSha3_384Klass);
 2487|      1|}
xmlSecOpenSSLTransformEcdsaSha3_512GetKlass:
 2498|      1|xmlSecOpenSSLTransformEcdsaSha3_512GetKlass(void) {
 2499|      1|    return(&xmlSecOpenSSLEcdsaSha3_512Klass);
 2500|      1|}

xmlSecOpenSSLKeyDataAesGetKlass:
  303|      1|xmlSecOpenSSLKeyDataAesGetKlass(void) {
  304|      1|    return(&xmlSecOpenSSLKeyDataAesKlass);
  305|      1|}
xmlSecOpenSSLKeyDataCamelliaGetKlass:
  342|      1|xmlSecOpenSSLKeyDataCamelliaGetKlass(void) {
  343|      1|    return(&xmlSecOpenSSLKeyDataCamelliaKlass);
  344|      1|}
xmlSecOpenSSLKeyDataChaCha20GetKlass:
  381|      1|xmlSecOpenSSLKeyDataChaCha20GetKlass(void) {
  382|      1|    return(&xmlSecOpenSSLKeyDataChaCha20Klass);
  383|      1|}
xmlSecOpenSSLKeyDataConcatKdfGetKlass:
  428|      1|xmlSecOpenSSLKeyDataConcatKdfGetKlass(void) {
  429|      1|    return(&xmlSecOpenSSLKeyDataConcatKdfKlass);
  430|      1|}
xmlSecOpenSSLKeyDataDesGetKlass:
  468|      1|xmlSecOpenSSLKeyDataDesGetKlass(void) {
  469|      1|    return(&xmlSecOpenSSLKeyDataDesKlass);
  470|      1|}
xmlSecOpenSSLKeyDataHmacGetKlass:
  508|      1|xmlSecOpenSSLKeyDataHmacGetKlass(void) {
  509|      1|    return(&xmlSecOpenSSLKeyDataHmacKlass);
  510|      1|}
xmlSecOpenSSLKeyDataPbkdf2GetKlass:
  555|      1|xmlSecOpenSSLKeyDataPbkdf2GetKlass(void) {
  556|      1|    return(&xmlSecOpenSSLKeyDataPbkdf2Klass);
  557|      1|}
xmlSecOpenSSLKeyDataHkdfGetKlass:
  601|      1|xmlSecOpenSSLKeyDataHkdfGetKlass(void) {
  602|      1|    return(&xmlSecOpenSSLKeyDataHkdfKlass);
  603|      1|}

xmlSecOpenSSLKeyDataX509GetKlass:
  176|     31|xmlSecOpenSSLKeyDataX509GetKlass(void) {
  177|     31|    return(&xmlSecOpenSSLKeyDataX509Klass);
  178|     31|}
xmlSecOpenSSLKeyDataX509AdoptKeyCert:
  248|      5|xmlSecOpenSSLKeyDataX509AdoptKeyCert(xmlSecKeyDataPtr data, X509* cert) {
  249|      5|    xmlSecOpenSSLX509DataCtxPtr ctx;
  250|      5|    int ret;
  251|       |
  252|      5|    xmlSecAssert2(xmlSecKeyDataCheckId(data, xmlSecOpenSSLKeyDataX509Id), -1);
  ------------------
  |  |  446|     50|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:15): [True: 5, False: 0]
  |  |  |  Branch (446:15): [True: 5, False: 0]
  |  |  |  Branch (446:15): [True: 5, False: 0]
  |  |  |  Branch (446:15): [True: 5, False: 0]
  |  |  |  Branch (446:15): [True: 5, False: 0]
  |  |  |  Branch (446:15): [True: 5, False: 0]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  253|      5|    xmlSecAssert2(cert != NULL, -1);
  ------------------
  |  |  446|      5|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 5]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  254|       |
  255|      5|    ctx = xmlSecOpenSSLX509DataGetCtx(data);
  256|      5|    xmlSecAssert2(ctx != NULL, -1);
  ------------------
  |  |  446|      5|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 5]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  257|       |
  258|       |
  259|       |    /* check if for some reasons same cert is used */
  260|      5|    if((ctx->keyCert != NULL) && ((cert == ctx->keyCert) || (X509_cmp(cert, ctx->keyCert) == 0))) {
  ------------------
  |  Branch (260:8): [True: 0, False: 5]
  |  Branch (260:35): [True: 0, False: 0]
  |  Branch (260:61): [True: 0, False: 0]
  ------------------
  261|      0|        X509_free(cert);  /* caller expects data to own the cert on success. */
  262|      0|        return(0);
  263|      0|    }
  264|      5|    xmlSecAssert2(ctx->keyCert == NULL, -1);
  ------------------
  |  |  446|      5|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 5]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  265|       |
  266|      5|    ret = xmlSecOpenSSLKeyDataX509AddCertInternal(ctx, cert, 1); /* key cert */
  267|      5|    if(ret < 0) {
  ------------------
  |  Branch (267:8): [True: 0, False: 5]
  ------------------
  268|      0|        xmlSecInternalError("xmlSecOpenSSLKeyDataX509AddCertInternal", xmlSecKeyDataGetName(data));
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  269|      0|        return(-1);
  270|      0|    }
  271|       |
  272|       |    /* cert is now owned by data, we can't fail or there will be a double free */
  273|      5|    ctx->keyCert = cert;
  274|      5|    return(0);
  275|      5|}
xmlSecOpenSSLKeyDataX509AdoptCert:
  285|     10|xmlSecOpenSSLKeyDataX509AdoptCert(xmlSecKeyDataPtr data, X509* cert) {
  286|     10|    xmlSecOpenSSLX509DataCtxPtr ctx;
  287|       |
  288|     10|    xmlSecAssert2(xmlSecKeyDataCheckId(data, xmlSecOpenSSLKeyDataX509Id), -1);
  ------------------
  |  |  446|    100|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:15): [True: 10, False: 0]
  |  |  |  Branch (446:15): [True: 10, False: 0]
  |  |  |  Branch (446:15): [True: 10, False: 0]
  |  |  |  Branch (446:15): [True: 10, False: 0]
  |  |  |  Branch (446:15): [True: 10, False: 0]
  |  |  |  Branch (446:15): [True: 10, False: 0]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  289|     10|    xmlSecAssert2(cert != NULL, -1);
  ------------------
  |  |  446|     10|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 10]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  290|       |
  291|     10|    ctx = xmlSecOpenSSLX509DataGetCtx(data);
  292|     10|    xmlSecAssert2(ctx != NULL, -1);
  ------------------
  |  |  446|     10|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 10]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  293|       |
  294|       |    /* pkcs12 files sometime have key cert twice: as the key cert and as the cert in the chain,
  295|       |     * if this ever change -- fix xmlSecOpenSSLCreateKey that relies on this check */
  296|     10|    if((ctx->keyCert != NULL) && ((ctx->keyCert == cert) || (X509_cmp(ctx->keyCert, cert) == 0))) {
  ------------------
  |  Branch (296:8): [True: 10, False: 0]
  |  Branch (296:35): [True: 0, False: 10]
  |  Branch (296:61): [True: 0, False: 10]
  ------------------
  297|      0|        X509_free(cert); /* caller expects data to own the cert on success. */
  298|      0|        return(0);
  299|      0|    }
  300|     10|    return(xmlSecOpenSSLKeyDataX509AddCertInternal(ctx, cert, 0)); /* not a key cert */
  301|     10|}
xmlSecOpenSSLX509CertLoadBIO:
 1637|    211|xmlSecOpenSSLX509CertLoadBIO(BIO* bio, xmlSecKeyDataFormat format) {
 1638|    211|    X509* tmp = NULL;
 1639|    211|    X509* res = NULL;
 1640|       |
 1641|    211|    xmlSecAssert2(bio != NULL, NULL);
  ------------------
  |  |  446|    211|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 211]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
 1642|    211|    xmlSecAssert2(format != xmlSecKeyDataFormatUnknown, NULL);
  ------------------
  |  |  446|    211|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 211]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
 1643|       |
 1644|       |    /* create certificate object to hold the cert we are going to read */
 1645|    211|    tmp = X509_new_ex(xmlSecOpenSSLGetLibCtx(), NULL);
 1646|    211|    if(tmp == NULL) {
  ------------------
  |  Branch (1646:8): [True: 0, False: 211]
  ------------------
 1647|      0|        xmlSecOpenSSLError("X509_new_ex", NULL);
  ------------------
  |  |   50|      0|    {                                                       \
  |  |   51|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   52|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   53|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   54|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   55|      0|                    (const char*)(errorObject),             \
  |  |   56|      0|                    (errorFunction),                        \
  |  |   57|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   47|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   58|      0|                    "openssl error: %s",                    \
  |  |   59|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  405|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   60|      0|        );                                                  \
  |  |   61|      0|    }
  ------------------
 1648|      0|        goto done;
 1649|      0|    }
 1650|       |
 1651|       |    /* read the cert */
 1652|    211|    switch(format) {
 1653|      3|    case xmlSecKeyDataFormatPem:
  ------------------
  |  Branch (1653:5): [True: 3, False: 208]
  ------------------
 1654|    197|    case xmlSecKeyDataFormatCertPem:
  ------------------
  |  Branch (1654:5): [True: 194, False: 17]
  ------------------
 1655|    197|        res = PEM_read_bio_X509_AUX(bio, &tmp, NULL, NULL);
 1656|    197|        if(res == NULL) {
  ------------------
  |  Branch (1656:12): [True: 197, False: 0]
  ------------------
 1657|    197|            xmlSecOpenSSLError("PEM_read_bio_X509_AUX", NULL);
  ------------------
  |  |   50|    197|    {                                                       \
  |  |   51|    197|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   52|    197|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   53|    197|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   54|    197|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|    197|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   55|    197|                    (const char*)(errorObject),             \
  |  |   56|    197|                    (errorFunction),                        \
  |  |   57|    197|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   47|    197|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   58|    197|                    "openssl error: %s",                    \
  |  |   59|    197|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  405|    197|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 197, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   60|    197|        );                                                  \
  |  |   61|    197|    }
  ------------------
 1658|    197|            goto done;
 1659|    197|        }
 1660|      0|        tmp = NULL; /* now it's res */
 1661|      0|        break;
 1662|      7|    case xmlSecKeyDataFormatDer:
  ------------------
  |  Branch (1662:5): [True: 7, False: 204]
  ------------------
 1663|      9|    case xmlSecKeyDataFormatCertDer:
  ------------------
  |  Branch (1663:5): [True: 2, False: 209]
  ------------------
 1664|      9|        res = d2i_X509_bio(bio, &tmp);
 1665|      9|        if(res == NULL) {
  ------------------
  |  Branch (1665:12): [True: 9, False: 0]
  ------------------
 1666|      9|            xmlSecOpenSSLError("d2i_X509_bio", NULL);
  ------------------
  |  |   50|      9|    {                                                       \
  |  |   51|      9|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   52|      9|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   53|      9|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   54|      9|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      9|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   55|      9|                    (const char*)(errorObject),             \
  |  |   56|      9|                    (errorFunction),                        \
  |  |   57|      9|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   47|      9|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   58|      9|                    "openssl error: %s",                    \
  |  |   59|      9|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  405|      9|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 9, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   60|      9|        );                                                  \
  |  |   61|      9|    }
  ------------------
 1667|      9|            goto done;
 1668|      9|        }
 1669|      0|        tmp = NULL; /* now it's res */
 1670|      0|        break;
 1671|      5|    default:
  ------------------
  |  Branch (1671:5): [True: 5, False: 206]
  ------------------
 1672|      5|        xmlSecOtherError2(XMLSEC_ERRORS_R_INVALID_FORMAT, NULL,
  ------------------
  |  |  914|      5|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      5|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  915|      5|                    (const char*)(errorObject),             \
  |  |  916|      5|                    NULL,                                   \
  |  |  917|      5|                    (code),                                 \
  |  |  918|      5|                    (msg), (param)                          \
  |  |  919|      5|        )
  ------------------
 1673|      5|            "format=" XMLSEC_ENUM_FMT, XMLSEC_ENUM_CAST(format));
 1674|      5|        goto done;
 1675|    211|    }
 1676|       |
 1677|    211|done:
 1678|    211|    if(tmp != NULL) {
  ------------------
  |  Branch (1678:8): [True: 203, False: 8]
  ------------------
 1679|    203|        X509_free(tmp);
 1680|    203|    }
 1681|    211|    return(res);
 1682|    211|}
xmlSecOpenSSLKeyDataRawX509CertGetKlass:
 1947|      1|xmlSecOpenSSLKeyDataRawX509CertGetKlass(void) {
 1948|      1|    return(&xmlSecOpenSSLKeyDataRawX509CertKlass);
 1949|      1|}
x509.c:xmlSecOpenSSLKeyDataX509Initialize:
  463|      5|xmlSecOpenSSLKeyDataX509Initialize(xmlSecKeyDataPtr data) {
  464|      5|    xmlSecOpenSSLX509DataCtxPtr ctx;
  465|       |
  466|      5|    xmlSecAssert2(xmlSecKeyDataCheckId(data, xmlSecOpenSSLKeyDataX509Id), -1);
  ------------------
  |  |  446|     50|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:15): [True: 5, False: 0]
  |  |  |  Branch (446:15): [True: 5, False: 0]
  |  |  |  Branch (446:15): [True: 5, False: 0]
  |  |  |  Branch (446:15): [True: 5, False: 0]
  |  |  |  Branch (446:15): [True: 5, False: 0]
  |  |  |  Branch (446:15): [True: 5, False: 0]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  467|       |
  468|      5|    ctx = xmlSecOpenSSLX509DataGetCtx(data);
  469|      5|    xmlSecAssert2(ctx != NULL, -1);
  ------------------
  |  |  446|      5|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 5]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  470|       |
  471|      5|    memset(ctx, 0, sizeof(xmlSecOpenSSLX509DataCtx));
  472|      5|    return(0);
  473|      5|}
x509.c:xmlSecOpenSSLKeyDataX509Finalize:
  476|      5|xmlSecOpenSSLKeyDataX509Finalize(xmlSecKeyDataPtr data) {
  477|      5|    xmlSecOpenSSLX509DataCtxPtr ctx;
  478|       |
  479|      5|    xmlSecAssert(xmlSecKeyDataCheckId(data, xmlSecOpenSSLKeyDataX509Id));
  ------------------
  |  |  431|     50|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (431:15): [True: 5, False: 0]
  |  |  |  Branch (431:15): [True: 5, False: 0]
  |  |  |  Branch (431:15): [True: 5, False: 0]
  |  |  |  Branch (431:15): [True: 5, False: 0]
  |  |  |  Branch (431:15): [True: 5, False: 0]
  |  |  |  Branch (431:15): [True: 5, False: 0]
  |  |  ------------------
  |  |  432|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  433|      0|                        NULL, \
  |  |  434|      0|                        #p, \
  |  |  435|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  436|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  437|      0|            return; \
  |  |  438|      0|        }
  ------------------
  480|       |
  481|      5|    ctx = xmlSecOpenSSLX509DataGetCtx(data);
  482|      5|    xmlSecAssert(ctx != NULL);
  ------------------
  |  |  431|      5|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (431:12): [True: 0, False: 5]
  |  |  ------------------
  |  |  432|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  433|      0|                        NULL, \
  |  |  434|      0|                        #p, \
  |  |  435|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  436|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  437|      0|            return; \
  |  |  438|      0|        }
  ------------------
  483|       |
  484|      5|    if(ctx->certsList != NULL) {
  ------------------
  |  Branch (484:8): [True: 5, False: 0]
  ------------------
  485|      5|        sk_X509_pop_free(ctx->certsList, X509_free);
  486|      5|    }
  487|      5|    if(ctx->crlsList != NULL) {
  ------------------
  |  Branch (487:8): [True: 0, False: 5]
  ------------------
  488|       |        sk_X509_CRL_pop_free(ctx->crlsList, X509_CRL_free);
  489|      0|    }
  490|      5|    OPENSSL_cleanse(ctx, sizeof(xmlSecOpenSSLX509DataCtx));
  491|      5|}
x509.c:xmlSecOpenSSLKeyDataX509AddCertInternal:
  200|     15|xmlSecOpenSSLKeyDataX509AddCertInternal(xmlSecOpenSSLX509DataCtxPtr ctx, X509* cert, int keyCert) {
  201|     15|    xmlSecOpenSSLSizeT ret;
  202|       |
  203|     15|    xmlSecAssert2(ctx != NULL, -1);
  ------------------
  |  |  446|     15|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 15]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  204|     15|    xmlSecAssert2(cert != NULL, -1);
  ------------------
  |  |  446|     15|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 15]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  205|       |
  206|     15|    if(ctx->certsList == NULL) {
  ------------------
  |  Branch (206:8): [True: 5, False: 10]
  ------------------
  207|      5|        ctx->certsList = sk_X509_new_null();
  208|      5|        if(ctx->certsList == NULL) {
  ------------------
  |  Branch (208:12): [True: 0, False: 5]
  ------------------
  209|      0|            xmlSecOpenSSLError("sk_X509_new_null", NULL);
  ------------------
  |  |   50|      0|    {                                                       \
  |  |   51|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   52|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   53|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   54|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   55|      0|                    (const char*)(errorObject),             \
  |  |   56|      0|                    (errorFunction),                        \
  |  |   57|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   47|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   58|      0|                    "openssl error: %s",                    \
  |  |   59|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  405|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   60|      0|        );                                                  \
  |  |   61|      0|    }
  ------------------
  210|      0|            return(-1);
  211|      0|        }
  212|      5|    }
  213|       |
  214|       |    /* we don't want duplicates: if this exact cert object is already in the list,
  215|       |       remove it so it can be re-inserted below (do not free it - we re-add the
  216|       |       same object) */
  217|     15|    (void)sk_X509_delete_ptr(ctx->certsList, cert);
  218|       |
  219|       |    /* ensure that key cert is the first one */
  220|     15|    if(keyCert != 0) {
  ------------------
  |  Branch (220:8): [True: 5, False: 10]
  ------------------
  221|      5|        ret = sk_X509_insert(ctx->certsList, cert, 0);
  222|      5|        if(ret <= 0) {
  ------------------
  |  Branch (222:12): [True: 0, False: 5]
  ------------------
  223|      0|            xmlSecOpenSSLError("sk_X509_insert(0)", NULL);
  ------------------
  |  |   50|      0|    {                                                       \
  |  |   51|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   52|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   53|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   54|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   55|      0|                    (const char*)(errorObject),             \
  |  |   56|      0|                    (errorFunction),                        \
  |  |   57|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   47|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   58|      0|                    "openssl error: %s",                    \
  |  |   59|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  405|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   60|      0|        );                                                  \
  |  |   61|      0|    }
  ------------------
  224|      0|            return(-1);
  225|      0|        }
  226|     10|    } else {
  227|     10|        ret = sk_X509_push(ctx->certsList, cert);
  228|     10|        if(ret <= 0) {
  ------------------
  |  Branch (228:12): [True: 0, False: 10]
  ------------------
  229|      0|            xmlSecOpenSSLError("sk_X509_push", NULL);
  ------------------
  |  |   50|      0|    {                                                       \
  |  |   51|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   52|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   53|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   54|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   55|      0|                    (const char*)(errorObject),             \
  |  |   56|      0|                    (errorFunction),                        \
  |  |   57|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   47|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   58|      0|                    "openssl error: %s",                    \
  |  |   59|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  405|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   60|      0|        );                                                  \
  |  |   61|      0|    }
  ------------------
  230|      0|            return(-1);
  231|      0|        }
  232|     10|    }
  233|       |
  234|       |    /* done */
  235|     15|    return(0);
  236|     15|}

xmlSecTransformRelationshipGetKlass:
  161|      1|xmlSecTransformRelationshipGetKlass(void) {
  162|      1|    return(&xmlSecRelationshipKlass);
  163|      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);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      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);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      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);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      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);
  ------------------
  |  |  446|     88|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 88]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  148|       |
  149|     88|    ret = xmlSecPtrListAdd(xmlSecTransformIdsGet(), (xmlSecPtr)id);
  150|     88|    if(ret < 0) {
  ------------------
  |  Branch (150:8): [True: 0, False: 88]
  ------------------
  151|      0|        xmlSecInternalError("xmlSecPtrListAdd",
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (40:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      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);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  170|      0|        return(-1);
  171|      0|    }
  172|       |
  173|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformEnvelopedId) < 0) {
  ------------------
  |  |  838|      1|        xmlSecTransformEnvelopedGetKlass()
  ------------------
  |  Branch (173:8): [True: 0, False: 1]
  ------------------
  174|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformEnvelopedId)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  175|      0|        return(-1);
  176|      0|    }
  177|       |
  178|       |    /* c14n methods */
  179|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformInclC14NId) < 0) {
  ------------------
  |  |  792|      1|        xmlSecTransformInclC14NGetKlass()
  ------------------
  |  Branch (179:8): [True: 0, False: 1]
  ------------------
  180|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformInclC14NId)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  181|      0|        return(-1);
  182|      0|    }
  183|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformInclC14NWithCommentsId) < 0) {
  ------------------
  |  |  800|      1|        xmlSecTransformInclC14NWithCommentsGetKlass()
  ------------------
  |  Branch (183:8): [True: 0, False: 1]
  ------------------
  184|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformInclC14NWithCommentsId)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  185|      0|        return(-1);
  186|      0|    }
  187|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformInclC14N11Id) < 0) {
  ------------------
  |  |  808|      1|        xmlSecTransformInclC14N11GetKlass()
  ------------------
  |  Branch (187:8): [True: 0, False: 1]
  ------------------
  188|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformInclC14N11Id)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  189|      0|        return(-1);
  190|      0|    }
  191|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformInclC14N11WithCommentsId) < 0) {
  ------------------
  |  |  816|      1|        xmlSecTransformInclC14N11WithCommentsGetKlass()
  ------------------
  |  Branch (191:8): [True: 0, False: 1]
  ------------------
  192|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformInclC14N11WithCommentsId)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  193|      0|        return(-1);
  194|      0|    }
  195|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformExclC14NId) < 0) {
  ------------------
  |  |  824|      1|        xmlSecTransformExclC14NGetKlass()
  ------------------
  |  Branch (195:8): [True: 0, False: 1]
  ------------------
  196|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformExclC14NId)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  197|      0|        return(-1);
  198|      0|    }
  199|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformExclC14NWithCommentsId) < 0) {
  ------------------
  |  |  831|      1|        xmlSecTransformExclC14NWithCommentsGetKlass()
  ------------------
  |  Branch (199:8): [True: 0, False: 1]
  ------------------
  200|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformExclC14NWithCommentsId)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  201|      0|        return(-1);
  202|      0|    }
  203|       |
  204|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformXPathId) < 0) {
  ------------------
  |  |  845|      1|        xmlSecTransformXPathGetKlass()
  ------------------
  |  Branch (204:8): [True: 0, False: 1]
  ------------------
  205|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformXPathId)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  206|      0|        return(-1);
  207|      0|    }
  208|       |
  209|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformXPath2Id) < 0) {
  ------------------
  |  |  852|      1|        xmlSecTransformXPath2GetKlass()
  ------------------
  |  Branch (209:8): [True: 0, False: 1]
  ------------------
  210|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformXPath2Id)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  211|      0|        return(-1);
  212|      0|    }
  213|       |
  214|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformXPointerId) < 0) {
  ------------------
  |  |  859|      1|        xmlSecTransformXPointerGetKlass()
  ------------------
  |  Branch (214:8): [True: 0, False: 1]
  ------------------
  215|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformXPointerId)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  216|      0|        return(-1);
  217|      0|    }
  218|       |
  219|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformRelationshipId) < 0) {
  ------------------
  |  |  869|      1|        xmlSecTransformRelationshipGetKlass()
  ------------------
  |  Branch (219:8): [True: 0, False: 1]
  ------------------
  220|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformRelationshipId)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  221|      0|        return(-1);
  222|      0|    }
  223|       |
  224|      1|#ifndef XMLSEC_NO_XSLT
  225|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformXsltId) < 0) {
  ------------------
  |  |  878|      1|        xmlSecTransformXsltGetKlass()
  ------------------
  |  Branch (225:8): [True: 0, False: 1]
  ------------------
  226|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformXsltId)", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  227|      0|        return(-1);
  228|      0|    }
  229|      1|#endif /* XMLSEC_NO_XSLT */
  230|       |
  231|      1|    return(0);
  232|      1|}
xmlSecTransformIdListGetKlass:
 2342|      1|xmlSecTransformIdListGetKlass(void) {
 2343|      1|    return(&xmlSecTransformIdListKlass);
 2344|      1|}

xmlSecInit:
   90|      1|xmlSecInit(void) {
   91|      1|    xmlSecErrorsInit();
   92|       |
   93|      1|    if(xmlSecIOInit() < 0) {
  ------------------
  |  Branch (93:8): [True: 0, False: 1]
  ------------------
   94|      0|        xmlSecInternalError("xmlSecIOInit", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
   95|      0|        return(-1);
   96|      0|    }
   97|       |
   98|       |#ifndef XMLSEC_NO_CRYPTO_DYNAMIC_LOADING
   99|       |    if(xmlSecCryptoDLInit() < 0) {
  100|       |        xmlSecInternalError("xmlSecCryptoDLInit", NULL);
  101|       |        return(-1);
  102|       |    }
  103|       |#endif /* XMLSEC_NO_CRYPTO_DYNAMIC_LOADING */
  104|       |
  105|      1|    if(xmlSecKeyDataIdsInit() < 0) {
  ------------------
  |  Branch (105:8): [True: 0, False: 1]
  ------------------
  106|      0|        xmlSecInternalError("xmlSecKeyDataIdsInit", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  107|      0|        return(-1);
  108|      0|    }
  109|       |
  110|      1|    if(xmlSecTransformIdsInit() < 0) {
  ------------------
  |  Branch (110:8): [True: 0, False: 1]
  ------------------
  111|      0|        xmlSecInternalError("xmlSecTransformIdsInit", NULL);
  ------------------
  |  |   39|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |   40|      0|                    (const char*)(errorObject),             \
  |  |   41|      0|                    (errorFunction),                        \
  |  |   42|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   32|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   43|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   44|      0|        )
  ------------------
  112|      0|        return(-1);
  113|      0|    }
  114|       |
  115|       |    /* initialise safe external entity loader */
  116|      1|    if (!xmlSecDefaultExternalEntityLoader) {
  ------------------
  |  Branch (116:9): [True: 1, False: 0]
  ------------------
  117|      1|        xmlSecDefaultExternalEntityLoader = xmlGetExternalEntityLoader();
  118|      1|    }
  119|       |
  120|       |    /* new parser option XML_PARSE_NO_XXE available since 2.13.0 and is
  121|       |     * set as default options for parsers */
  122|       |#if LIBXML_VERSION < 21300
  123|       |    xmlSetExternalEntityLoader(xmlSecNoXxeExternalEntityLoader);
  124|       |#endif /* LIBXML_VERSION < 21300 */
  125|       |
  126|      1|    return(0);
  127|      1|}
xmlSecCheckVersionExt:
  192|      2|xmlSecCheckVersionExt(int major, int minor, int subminor, xmlSecCheckVersionMode mode) {
  193|       |    /* we always want to have a match for major version number */
  194|      2|    if(major != XMLSEC_VERSION_MAJOR) {
  ------------------
  |  |   23|      2|#define XMLSEC_VERSION_MAJOR    1
  ------------------
  |  Branch (194:8): [True: 0, False: 2]
  ------------------
  195|      0|        xmlSecOtherError3(XMLSEC_ERRORS_R_INVALID_VERSION, NULL,
  ------------------
  |  |  931|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  932|      0|                    (const char*)(errorObject),             \
  |  |  933|      0|                    NULL,                                   \
  |  |  934|      0|                    (code),                                 \
  |  |  935|      0|                    (msg), (param1), (param2)               \
  |  |  936|      0|        )
  ------------------
  196|      0|                "expected major version=%d;real major version=%d",
  197|      0|                XMLSEC_VERSION_MAJOR, major);
  198|      0|        return(0);
  199|      0|    }
  200|       |
  201|      2|    switch(mode) {
  202|      1|    case xmlSecCheckVersionExactMatch:
  ------------------
  |  Branch (202:5): [True: 1, False: 1]
  ------------------
  203|      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 (203:12): [True: 0, False: 1]
  |  Branch (203:47): [True: 0, False: 1]
  ------------------
  204|      0|            xmlSecOtherError5(XMLSEC_ERRORS_R_INVALID_VERSION, NULL,
  ------------------
  |  |  968|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  969|      0|                    (const char*)(errorObject),             \
  |  |  970|      0|                    NULL,                                   \
  |  |  971|      0|                    (code),                                 \
  |  |  972|      0|                    (msg), (param1), (param2), (param3), (param4) \
  |  |  973|      0|        )
  ------------------
  205|      0|                    "mode=exact;expected minor version=%d;real minor version=%d;expected subminor version=%d;real subminor version=%d",
  206|      0|                    XMLSEC_VERSION_MINOR, minor, XMLSEC_VERSION_SUBMINOR, subminor);
  207|      0|            return(0);
  208|      0|        }
  209|      1|        break;
  210|      1|    case xmlSecCheckVersionABICompatible:
  ------------------
  |  Branch (210:5): [True: 1, False: 1]
  ------------------
  211|      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 (211:12): [True: 0, False: 1]
  |  Branch (211:47): [True: 1, False: 0]
  ------------------
  212|      1|                (subminor > XMLSEC_VERSION_SUBMINOR))) {
  ------------------
  |  |   33|      1|#define XMLSEC_VERSION_SUBMINOR 13
  ------------------
  |  Branch (212:17): [True: 0, False: 1]
  ------------------
  213|      0|            xmlSecOtherError5(XMLSEC_ERRORS_R_INVALID_VERSION, NULL,
  ------------------
  |  |  968|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  969|      0|                    (const char*)(errorObject),             \
  |  |  970|      0|                    NULL,                                   \
  |  |  971|      0|                    (code),                                 \
  |  |  972|      0|                    (msg), (param1), (param2), (param3), (param4) \
  |  |  973|      0|        )
  ------------------
  214|      0|                    "mode=abi compatible;expected minor version=%d;real minor version=%d;expected subminor version=%d;real subminor version=%d",
  215|      0|                    XMLSEC_VERSION_MINOR, minor, XMLSEC_VERSION_SUBMINOR, subminor);
  216|      0|            return(0);
  217|      0|        }
  218|      1|        break;
  219|      1|    default:
  ------------------
  |  Branch (219:5): [True: 0, False: 2]
  ------------------
  220|      0|        xmlSecUnsupportedEnumValueError("mode", mode, NULL);
  ------------------
  |  |  574|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  575|      0|                    (const char*)(errorObject),             \
  |  |  576|      0|                    NULL,                                   \
  |  |  577|      0|                    XMLSEC_ERRORS_R_INVALID_TYPE,           \
  |  |  ------------------
  |  |  |  |   98|      0|#define XMLSEC_ERRORS_R_INVALID_TYPE                    14
  |  |  ------------------
  |  |  578|      0|                    "unsupported value for '%s': " XMLSEC_ENUM_FMT, \
  |  |  ------------------
  |  |  |  |   27|      0|#define XMLSEC_ENUM_FMT                      "%d"
  |  |  ------------------
  |  |  579|      0|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  405|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  580|      0|                    XMLSEC_ENUM_CAST(actual)                \
  |  |  ------------------
  |  |  |  |   26|      0|#define XMLSEC_ENUM_CAST(val)                ((int)(val))
  |  |  ------------------
  |  |  581|      0|        )
  ------------------
  221|      0|        return(0);
  222|      2|    }
  223|       |
  224|      2|    return(1);
  225|      2|}

xmlSecTransformXPathGetKlass:
  485|      1|xmlSecTransformXPathGetKlass(void) {
  486|      1|    return(&xmlSecTransformXPathKlass);
  487|      1|}
xmlSecTransformXPath2GetKlass:
  616|      1|xmlSecTransformXPath2GetKlass(void) {
  617|      1|    return(&xmlSecTransformXPath2Klass);
  618|      1|}
xmlSecTransformXPointerGetKlass:
  747|      1|xmlSecTransformXPointerGetKlass(void) {
  748|      1|    return(&xmlSecTransformXPointerKlass);
  749|      1|}

xmlSecTransformXsltInitialize:
  106|      1|int xmlSecTransformXsltInitialize(void) {
  107|      1|    xsltSecurityPrefsPtr sec;
  108|       |
  109|      1|    xmlSecAssert2(g_xslt_default_security_prefs == NULL, -1);
  ------------------
  |  |  446|      1|        if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (446:12): [True: 0, False: 1]
  |  |  ------------------
  |  |  447|      0|            xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  448|      0|                        NULL, \
  |  |  449|      0|                        #p, \
  |  |  450|      0|                        XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  300|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  451|      0|                        XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  410|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  452|      0|            return(ret); \
  |  |  453|      0|        }
  ------------------
  110|       |
  111|      1|    sec = xsltNewSecurityPrefs();
  112|      1|    if(sec == NULL) {
  ------------------
  |  Branch (112:8): [True: 0, False: 1]
  ------------------
  113|      0|        xmlSecXsltError("xsltNewSecurityPrefs", NULL, NULL);
  ------------------
  |  |  219|      0|    {                                                 \
  |  |  220|      0|        const xmlError * error = xmlGetLastError();        \
  |  |  221|      0|        int code = (error != NULL) ? error->code : 0; \
  |  |  ------------------
  |  |  |  Branch (221:20): [True: 0, False: 0]
  |  |  ------------------
  |  |  222|      0|        const char* message = (error != NULL) ? error->message : NULL; \
  |  |  ------------------
  |  |  |  Branch (222:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  223|      0|        xmlSecError(XMLSEC_ERRORS_HERE,               \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  224|      0|                   (const char*)(errorObject),        \
  |  |  225|      0|                   (errorFunction),                   \
  |  |  226|      0|                   XMLSEC_ERRORS_R_XSLT_FAILED,       \
  |  |  ------------------
  |  |  |  |   57|      0|#define XMLSEC_ERRORS_R_XSLT_FAILED                     6
  |  |  ------------------
  |  |  227|      0|                   "xslt error: %d: %s",              \
  |  |  228|      0|                   code, xmlSecErrorsSafeString(message) \
  |  |  ------------------
  |  |  |  |  405|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  229|      0|        );                                            \
  |  |  230|      0|    }
  ------------------
  114|      0|        return(-1);
  115|      0|    }
  116|      1|    if((xsltSetSecurityPrefs(sec, XSLT_SECPREF_READ_FILE, xsltSecurityForbid) < 0) ||
  ------------------
  |  Branch (116:8): [True: 0, False: 1]
  ------------------
  117|      1|       (xsltSetSecurityPrefs(sec, XSLT_SECPREF_WRITE_FILE, xsltSecurityForbid) < 0) ||
  ------------------
  |  Branch (117:8): [True: 0, False: 1]
  ------------------
  118|      1|       (xsltSetSecurityPrefs(sec, XSLT_SECPREF_CREATE_DIRECTORY, xsltSecurityForbid) < 0) ||
  ------------------
  |  Branch (118:8): [True: 0, False: 1]
  ------------------
  119|      1|       (xsltSetSecurityPrefs(sec, XSLT_SECPREF_READ_NETWORK, xsltSecurityForbid) < 0) ||
  ------------------
  |  Branch (119:8): [True: 0, False: 1]
  ------------------
  120|      1|       (xsltSetSecurityPrefs(sec, XSLT_SECPREF_WRITE_NETWORK, xsltSecurityForbid) < 0)
  ------------------
  |  Branch (120:8): [True: 0, False: 1]
  ------------------
  121|      1|    ) {
  122|      0|        xmlSecXsltError("xsltSetSecurityPrefs", NULL, NULL);
  ------------------
  |  |  219|      0|    {                                                 \
  |  |  220|      0|        const xmlError * error = xmlGetLastError();        \
  |  |  221|      0|        int code = (error != NULL) ? error->code : 0; \
  |  |  ------------------
  |  |  |  Branch (221:20): [True: 0, False: 0]
  |  |  ------------------
  |  |  222|      0|        const char* message = (error != NULL) ? error->message : NULL; \
  |  |  ------------------
  |  |  |  Branch (222:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  223|      0|        xmlSecError(XMLSEC_ERRORS_HERE,               \
  |  |  ------------------
  |  |  |  |  389|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,__XMLSEC_FUNCTION__
  |  |  ------------------
  |  |  224|      0|                   (const char*)(errorObject),        \
  |  |  225|      0|                   (errorFunction),                   \
  |  |  226|      0|                   XMLSEC_ERRORS_R_XSLT_FAILED,       \
  |  |  ------------------
  |  |  |  |   57|      0|#define XMLSEC_ERRORS_R_XSLT_FAILED                     6
  |  |  ------------------
  |  |  227|      0|                   "xslt error: %d: %s",              \
  |  |  228|      0|                   code, xmlSecErrorsSafeString(message) \
  |  |  ------------------
  |  |  |  |  405|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (405:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  229|      0|        );                                            \
  |  |  230|      0|    }
  ------------------
  123|      0|        xsltFreeSecurityPrefs(sec);
  124|      0|        return(-1);
  125|      0|    }
  126|       |
  127|      1|    g_xslt_default_security_prefs = sec;
  128|      1|    return(0);
  129|      1|}
xmlSecTransformXsltGetKlass:
  201|      1|xmlSecTransformXsltGetKlass(void) {
  202|      1|    return(&xmlSecXsltKlass);
  203|      1|}

